[llvm-bugs] [Bug 30732] neon instructions emitted for targets without it.

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Oct 19 00:31:07 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=30732

James Molloy <james.molloy at arm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |james.molloy at arm.com
         Resolution|---                         |INVALID

--- Comment #1 from James Molloy <james.molloy at arm.com> ---
Hi,

NEON is indeed optional for ARMv7-A cores, however it is on by default. It is
possible to disable NEON by specifying the -mfpu option to a VFP unit (not
"neon"):

./bin/clang --target=arm-linux-unknown-gnueabihf -march=armv7-a -mcpu=generic
-O2 x.c -o - -S -mfpu=vfpv3
... snip ...
    vldr    d0, .LCPI0_0
... snip ...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161019/28bd1058/attachment.html>


More information about the llvm-bugs mailing list