This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/14053] second stage build errors (--with-cpu=601)


------- Additional Comments From stefaan dot simoens at tiscali dot be  2004-02-20 21:12 -------
some investigation (very basic: replacing part by part portions of the working 
assembler code with the non-working assembler-code) showed that the error 
occurs when calculating the remainder

PowerPC code calculates a remainder with
divw
mullw
subf

(f.e.
divw 9,11,0
mullw 0,9,0
subf 0,0,11
)

601 calculates a reminder with
divs
mfmq

(f.e.
divs 0,9,0
mfmq 0
)

I think the latter implementation doesn't always give the same results as the 
former implementation. Maybe it's a difference in exception handling?

-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]