Hi, Could a gatekeeper please review the following changes, which would fix cmake build under Open64?
The hyperblock scheduler makes the following transformation, which is
incorrect in 64 bit mode.
From:
addl $1,%edx
movsbl 0(%rdx,%r9,1), %eax
To:
movsbl 1(%rdx,%r9,1), %eax
addl $1,%edx
In the test environment $edx value is initially -1 and the address computed
for movsbl would have been 0+0+r9*1. With the above optimization, the address
computed is 1+0xffff+$r9*1 which is incorrect. The fix disallows the above
transformation in 64 bit mode when add is a 32 bit instruction.
Regards,
Shivaram
bug978.patch
Description: bug978.patch
------------------------------------------------------------------------------ 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
