Displaying 2 results from an estimated 2 matches for "istargetaeabi".
2015 Jul 28
0
[LLVMdev] [ARM]__modsi3 call in android
On 28 July 2015 at 17:52, Sumanth Gundapaneni <sgundapa at codeaurora.org> wrote:
> Android bionic libc doesn’t provide a __modsi3, instead it provides
> “__aeabi_idivmod”.
Hi Sumanth,
Have a look at ARMSubtarget.h, functions:
bool isTargetAEABI()
They control the lowering of DIV/MOD calls in ARMISelLowering.cpp.
Maybe Android needs to be in?
cheers,
--renato
2015 Jul 28
2
[LLVMdev] [ARM]__modsi3 call in android
Hi,
I see there is an inconsistency in LLVM libc calls.
For a modulo (reminder) operation,
clang -target arm-none-linux-gnueabi generates "__modsi3".
clang -target arm-none-eabi generates "__aeabi_idivmod"
clang -target arm-linux-androideabi generates "__modsi3"
Android bionic libc doesn't provide a __modsi3, instead it provides