[llvm-bugs] [Bug 28607] New: wrong code(armv6) generated for armv5

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jul 18 19:28:14 PDT 2016


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

            Bug ID: 28607
           Summary: wrong code(armv6) generated for armv5
           Product: clang
           Version: 3.9
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: raj.khem at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 16762
  --> https://llvm.org/bugs/attachment.cgi?id=16762&action=edit
test case

When attached program is compiled it generated ssat instruction which is armv6
instruction. Its not caught by internal assembler either. Only GNU assembler is
able to flag it.

arm-oe-linux-musleabi-clang
--sysroot=/mnt/oe/openembedded-core/build1/tmp-musl/sysroots/qemuarm
-march=armv5e -marm -mlittle-endian -no-integrated-as a.c -c -O2

-- 
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/20160719/1df2dc77/attachment.html>


More information about the llvm-bugs mailing list