[prev in list] [next in list] [prev in thread] [next in thread] 

List:       llvm-dev
Subject:    Re: [LLVMdev] [ARM]__modsi3 call in android
From:       "Sumanth Gundapaneni" <sgundapa () codeaurora ! org>
Date:       2015-07-30 20:26:17
Message-ID: 002b01d0cb05$fdc426b0$f94c7410$ () codeaurora ! org
[Download RAW message or body]

Hi Renato,
              I have pushed a patch here to fix the issue.
http://reviews.llvm.org/D11661

--Sumanth G
-----Original Message-----
From: Renato Golin [mailto:renato.golin@linaro.org] 
Sent: Tuesday, July 28, 2015 10:19 AM
To: Sumanth Gundapaneni
Cc: LLVM Dev
Subject: Re: [ARM]__modsi3 call in android

On 28 July 2015 at 17:52, Sumanth Gundapaneni <sgundapa@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


_______________________________________________
LLVM Developers mailing list
LLVMdev@cs.uiuc.edu         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic