------- Comment #4 from eres at il dot ibm dot com  2007-02-26 11:46 -------
Created an attachment (id=13113)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13113&action=view)
assembly file (PPC)

It seems that problem is in the initialization of the expansion
(which related to the sign of the init value).

The original accumulator is been initialized as follows:
fmr 0,1
rlwinm 0,3,0,29,31

while the expansion is been initialized as follows:
lis 11,[EMAIL PROTECTED]
lfs 13,[EMAIL PROTECTED](11)

when the expansion is been initialized with the value of the original
accumulator the program executed as expected.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30957

Reply via email to