Displaying 2 results from an estimated 2 matches for "hasspecialdivremlowering".
2013 Jun 21
3
[LLVMdev] ExpandDivRemLibCall vs. AEABI
...ecific condition there, and I found no
hierarchy for DAGLegalize, I'm wondering what's the best approach.
Two options could be:
* Creating a feature (HasDivRemRegister or whatever) and hard-code AEABI
together with the hard-coded GNU
* Have some call-back mechanism, possibly upon a flag
(HasSpecialDivRemLowering), and update the remainder result
Both are ugly... :(
Is there anything like that elsewhere, that would hopefully be implemented
inside ARM's tree, that I could follow?
cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/...
2013 Jun 21
0
[LLVMdev] ExpandDivRemLibCall vs. AEABI
Hi Renato,
> * Have some call-back mechanism, possibly upon a flag
> (HasSpecialDivRemLowering), and update the remainder result
If you setOperationAction on SDIVREM and UDIVREM to Custom you can
expand the rtlib call appropriately yourself. There's precedent for
sincos on Darwin systems (both ARM and x86) and in AArch64 for
basically every operation on fp128.
Cheers.
Tim.