mail-archives/mono-bugs/2009-March/087280.html

148 строки
4.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 487846] New: PPC code gen is inefficient in several areas
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20487846%5D%20New%3A%20PPC%20code%20gen%20is%20inefficient%20in%0A%09several%20areas&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="087338.html">
<LINK REL="Next" HREF="087285.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 487846] New: PPC code gen is inefficient in several areas</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20487846%5D%20New%3A%20PPC%20code%20gen%20is%20inefficient%20in%0A%09several%20areas&In-Reply-To="
TITLE="[Mono-bugs] [Bug 487846] New: PPC code gen is inefficient in several areas">bugzilla_noreply at novell.com
</A><BR>
<I>Mon Mar 23 12:51:10 EDT 2009</I>
<P><UL>
<LI>Previous message: <A HREF="087338.html">[Mono-bugs] [Bug 487782] XSLT Extension Methods seem to be ignored
</A></li>
<LI>Next message: <A HREF="087285.html">[Mono-bugs] [Bug 487846] PPC code gen is inefficient in several areas
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#87280">[ date ]</a>
<a href="thread.html#87280">[ thread ]</a>
<a href="subject.html#87280">[ subject ]</a>
<a href="author.html#87280">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="https://bugzilla.novell.com/show_bug.cgi?id=487846">https://bugzilla.novell.com/show_bug.cgi?id=487846</A>
Summary: PPC code gen is inefficient in several areas
Classification: Mono
Product: Mono: Runtime
Version: SVN
Platform: PowerPC-64
OS/Version: openSUSE 10.3
Status: NEW
Severity: Normal
Priority: P5 - None
Component: JIT
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">lupus at novell.com</A>
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">munroesj at us.ibm.com</A>
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
Found By: ---
User-Agent: Mozilla/5.0 (X11; U; Linux ppc64; en-US; rv:1.8.1.19)
Gecko/20081213 SUSE/2.0.0.19-0.3 Firefox/2.0.0.19
The current implementation generated inefficient core for local calls and
adresses in general
For example a non-virtual call to another method in the same compile unit will
use the:
lis,ori,mtlr,blrl sequence when it should be a simple PC relative bl
instruction in most case. It is much worse in PPC64 where the lis, ori, sldi,
oris, ori, mtlr, blrl is used.
This bad for several reasons. The ppc_load_sequence is a dependent sequence
which does not support super-scalar execution. Also the blrl is likely to be
mispredicted as generating the same sequence in multiple sites will pollute the
link stack.
Reproducible: Always
Steps to Reproduce:
1. mono -v -v
2. look at the generated code
3.
--
Configure bugmail: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="087338.html">[Mono-bugs] [Bug 487782] XSLT Extension Methods seem to be ignored
</A></li>
<LI>Next message: <A HREF="087285.html">[Mono-bugs] [Bug 487846] PPC code gen is inefficient in several areas
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#87280">[ date ]</a>
<a href="thread.html#87280">[ thread ]</a>
<a href="subject.html#87280">[ subject ]</a>
<a href="author.html#87280">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>