[LLVMdev] fmac generation for cortex-a9

Anitha Boyapati anitha.boyapati at gmail.com
Thu Nov 8 01:21:55 PST 2012


On 8 November 2012 13:56, Sebastien DELDON-GNB <sebastien.deldon at st.com> wrote:
> Hi all,
>
>
>
>
>
> I’ve a .ll code that use double precision fmul/fadd or fmul/fsub. When I
> compile it using llc –mcpu=cortex-a9 I couldn’t get vmla/vmls generated even
> using –fp-contract=fast, but when I use option –mtriple=armv7-eabi instead
> of –mcpu=cortex-a9 fused mac are generated. Can someone explain me why  ?
>

Perhaps you need to use some attributes. -mattr=+vfp4
Check fusedMAC.ll from ARM codegen tests.


-- 
 Anitha




More information about the llvm-dev mailing list