[Bug target/7625] gcc pessimized 64-bit % operator on hppa2.0
dave at hiauly1 dot hia dot nrc dot ca
gcc-bugzilla@gcc.gnu.org
Mon Apr 10 20:17:00 GMT 2006
------- Comment #5 from dave at hiauly1 dot hia dot nrc dot ca 2006-04-10 20:17 -------
Subject: Re: gcc pessimized 64-bit % operator on hppa2.0
> Boooooooiinngggggg.......
>
> Or, is anyone working on this?
I'm not. Note that the HP code is using 64-bit registers and instructions
in 32-bit mode for the call to $$rem2. I think doing this in GCC is going
to be tricky as normal calls only save the the least significant 32-bits.
Maybe we could somehow confine 64-bit register values to the call
clobbered registers. Normally register pairs are used for 64-bit values.
In 64-bit mode, we can probably easily benefit from using the new 64-bit
millicode.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7625
More information about the Gcc-bugs
mailing list