[PATCH][ARM]Fix urem/srem of i64 for aeabi target (PR 17881)
renato.golin at linaro.org
Mon Nov 11 15:38:03 PST 2013
I worked on this a bit in the past, and have attached both partial
solutions to your bug, as well as making my own bug a duplicate of yours,
so at least you can understand where we're coming from. Tim helped me
review the patches and understand the problem, so both of us will be
On 11 November 2013 22:03, Tim Northover <t.p.northover at gmail.com> wrote:
> Hi Weiming,
> > Please help to review the patch that addresses i64 mod operation for ARM
> > aeabi.
> Can this be done in ARM's ISelLowering? The problem is that ExpandRem
> is *only* the correct implementation for the ARM-specific __aeabi_*
> functions. The more generic GNU-style calls have a different
> int64_t __divmoddi4(int64_t l, int64_t r, int64_t *rem);
> As it stands, any other target deciding to Expand divrem is likely to
> get a nasty shock.
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits