Skip to content

clang to use the vfp instructions ,not the neon instruction for -mfpu-vfp  #58645

@ukalappa-mips

Description

@ukalappa-mips

Hi ,
We are benchmarking the ARM cortex-a9 with -mfpu=vfp ,but for the https://godbolt.org/z/5EE8h1T6b case ,we see the neon insts like

    vmul.f32        s12, s8, s6
    vmul.f32        s8, s4, s8
    vmla.f32        s12, s4, s10
    vmls.f32        s8, s10, s6
    vadd.f32        s2, s2, s12
    vadd.f32        s0, s0, s8

we trying to look for the clang/llvm switch that prevents the emission of neon instructions .

Any suggestions here ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions