[Mono-bugs] [Bug 70637][Nor] New - ssapre creates invalid IL on amd64

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 17 Dec 2004 13:12:26 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by vargaz@gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=70637

--- shadow/70637	2004-12-17 13:12:26.000000000 -0500
+++ shadow/70637.tmp.6035	2004-12-17 13:12:26.000000000 -0500
@@ -0,0 +1,32 @@
+Bug#: 70637
+Product: Mono: Runtime
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: JIT
+AssignedTo: massi@ximian.com                            
+ReportedBy: vargaz@gmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ssapre creates invalid IL on amd64
+
+Some tests like mono/tests/appdomain1.exe fail on amd64 when run with
+-O=all, but they work when run with -O=all,-ssapre. 
+The error is the following:
+
+** (appdomain1.exe:24383): WARNING **: unable to label tree 0xafbef0
+ (stind.r8 regoffset[-0x58(%rbp)] (amd64_outarg_xmmreg_r8 r8const[2.000000]))
+
+** ERROR **: file mini.c: line 7477 (mini_select_instructions): should not
+be reached
+
+The problem here is that amd64_outarg_xmmreg_r8 is a 'stmt', it does not
+have a result, so it should not be stored in a variable. The invalid tree 
+above is created by the SSEPRE pass. I attached the output of -v -v -v -v,
+hope it helps.