[LLVMdev] [Compiler-RT] [ARM] Where __aeabi_[il]div0 builtins should be implemented?
Renato Golin
renato.golin at linaro.org
Fri Sep 5 11:58:37 PDT 2014
On 5 September 2014 19:10, Sergey Dmitrouk <sdmitrouk at accesssoftek.com> wrote:
> #ifdef __ARM_EABI__
> b __aeabi_idiv0
> #else
> JMP(lr)
> #endif
Looks as though whomever implemented the call to __aeabi_idiv0 wanted
to be conservative for non EABI targets.
AFAIK, gnueabi targets recognize all EABI functions, so that should
work well. But I don't know about BSD, Darwin and other targets, how
they would behave if we assumed those functions were always there.
cheers,
--renato
More information about the llvm-dev
mailing list