Author: shivaram
Date: 2012-06-05 09:23:51 -0400 (Tue, 05 Jun 2012)
New Revision: 3938
Modified:
trunk/osprey/be/cg/x8664/cgtarget_arch.h
Log:
Fix for Bug#978. Fixed the problem in interchanging memory and add
operations in 64 bit mode.
Modified: trunk/osprey/be/cg/x8664/cgtarget_arch.h
===================================================================
--- trunk/osprey/be/cg/x8664/cgtarget_arch.h 2012-06-04 16:50:12 UTC (rev
3937)
+++ trunk/osprey/be/cg/x8664/cgtarget_arch.h 2012-06-05 13:23:51 UTC (rev
3938)
@@ -193,7 +193,7 @@
CGTARG_Is_OP_Addr_Incr(OP *op)
{
const TOP top = OP_code(op);
- return( (top == TOP_addi32 || top == TOP_addi64 ) &&
+ return( ((Is_Target_32bit() && top == TOP_addi32) || top == TOP_addi64 ) &&
TN_has_value(OP_opnd(op, 1)) &&
(OP_result(op, 0) == OP_opnd(op, 0)));
}
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Open64-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/open64-devel