working on C compiler for SH: writes out logic for loading a double constant; has thought that on nearly any other arch this would be a joke
-
-
I was meaning PC-rel or absolute loads (like can be done on x86). using fmov.d would require multiple FPSCR reloads & an address register.
-
GCC seems to use a register as a conveyor for loading constants, but would still likely need a pair of fmov.s ops to do so; could be cheaper
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.