Comment # 5
on bug 70199
from klondike
Created attachment 87543 [details] [review]
Expand most of the 64 bit operations into 32 bit ones
Well I have been messing a little bit with the TargetLowering. I have managed
to get some operations to work (ANDs, ORs, XORs, UMULs, ADDS and SUBS amongst
others) by forcing llvm to expand them.
DIVs are a completely different world since they require more advanced
algorithms which I'm not familiar with or support for calls (plus porting gcc's
functions). The first one I don't have time to do (for now) the second one is
waaaaay out of my league.
The attached patch expands some of the 64 bit integer operations (but is still
a WIP since likely most if not all (exceptions being loads and stores) need to
be expanded and I haven't covered them all.