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: unassignedclangb...@nondot.org
          Reporter: raj.k...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to