Author: yug
Date: 2011-01-14 04:23:34 -0500 (Fri, 14 Jan 2011)
New Revision: 3462
Modified:
trunk/osprey/be/cg/SL/disp_instr.cxx
Log:
bug fix for SL-specific excessive insn schedule due to miss sp adjust op on
insn substition
Reviewed and approved by Sun Chan.
Modified: trunk/osprey/be/cg/SL/disp_instr.cxx
===================================================================
--- trunk/osprey/be/cg/SL/disp_instr.cxx 2011-01-13 23:14:43 UTC (rev
3461)
+++ trunk/osprey/be/cg/SL/disp_instr.cxx 2011-01-14 09:23:34 UTC (rev
3462)
@@ -123,6 +123,14 @@
Copy_WN_For_Memory_OP(newop, _cur_op);
}
BB_Insert_Op_Before(OP_bb(_cur_op), _cur_op, newop);
+
+ if (_cur_op == BB_entry_sp_adj_op(_cur_op->bb)) {
+ Set_BB_entry_sp_adj_op(_cur_op->bb,newop);
+ }
+ if (_cur_op == BB_exit_sp_adj_op(_cur_op->bb)) {
+ Set_BB_exit_sp_adj_op(_cur_op->bb,newop);
+ }
+
OP_Change_To_Noop(_cur_op);
_cur_op = newop;
return;
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Open64-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/open64-devel