Author: chenr
Date: 2010-08-09 02:00:40 -0400 (Mon, 09 Aug 2010)
New Revision: 3307
Modified:
trunk/osprey/be/cg/x8664/expand.cxx
Log:
Fix for bug 589 (expand savexmms instruction in Exp_Simulated_Op).
Modified: trunk/osprey/be/cg/x8664/expand.cxx
===================================================================
--- trunk/osprey/be/cg/x8664/expand.cxx 2010-08-08 13:48:17 UTC (rev 3306)
+++ trunk/osprey/be/cg/x8664/expand.cxx 2010-08-09 06:00:40 UTC (rev 3307)
@@ -9432,13 +9432,14 @@
Build_OP(TOP_neg64, r11_tn, r11_tn, ops);
if ( Gen_PIC_Shared ) {
Build_OP ( TOP_lea64, rax_tn, Rip_TN(), OP_opnd( op, 4 ), ops );
+ ops->last->bb = bb; // to pass Verify_Operand
Build_OP ( TOP_leax64, r11_tn, r11_tn, rax_tn,
Gen_Literal_TN( 1, 4 ),
Gen_Literal_TN( 0, 4 ), ops );
} else {
Build_OP(TOP_addi64, r11_tn, r11_tn, OP_opnd(op, 4), ops);
+ ops->last->bb = bb; // to pass Verify_Operand
}
- ops->last->bb = bb; // to pass Verify_Operand
Build_OP(TOP_lea64, rax_tn, OP_opnd(op, 2), OP_opnd(op, 3), ops);
Build_OP(TOP_ijmp, r11_tn, ops);
for (INT i = 1; i <= num_xmms; i++) {
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Open64-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/open64-devel