[llvm-bugs] [Bug 31720] New: [ARM] LLVM allows {LD, ST}REX{B, H, D} on Thumb1 targets
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jan 23 08:14:29 PST 2017
https://llvm.org/bugs/show_bug.cgi?id=31720
Bug ID: 31720
Summary: [ARM] LLVM allows {LD,ST}REX{B,H,D} on Thumb1 targets
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: ARM
Assignee: unassignedbugs at nondot.org
Reporter: renato.golin at linaro.org
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 17878
--> https://llvm.org/bugs/attachment.cgi?id=17878&action=edit
Script that reproduced the lack of error messages
The attached Perl script tests a matrix of arch/isa support for all exclusive
load/store operations, and it seems LLVM allows pre-v6T2 arches to emit Thumb2
code.
This is the script's output:
LLVM passes with: echo 'ldrexd r2, r3, [r4]' | llvm-mc -triple armv4 -o
/dev/null
LLVM passes with: echo 'strexd r0, r2, r3, [r4]' | llvm-mc -triple armv4 -o
/dev/null
LLVM passes with: echo 'ldrexd r2, r3, [r4]' | llvm-mc -triple armv5 -o
/dev/null
LLVM passes with: echo 'strexd r0, r2, r3, [r4]' | llvm-mc -triple armv5 -o
/dev/null
LLVM passes with: echo 'ldrexd r2, r3, [r4]' | llvm-mc -triple armv6 -o
/dev/null
LLVM passes with: echo 'strexd r0, r2, r3, [r4]' | llvm-mc -triple armv6 -o
/dev/null
LLVM passes with: echo 'ldrexd r2, r3, [r4]' | llvm-mc -triple armv6t2 -o
/dev/null
LLVM passes with: echo 'strexd r0, r2, r3, [r4]' | llvm-mc -triple armv6t2 -o
/dev/null
LLVM passes with: echo 'ldrex r3, [r4]' | llvm-mc -triple armv4 -o /dev/null
LLVM passes with: echo 'strex r2, r3, [r4]' | llvm-mc -triple armv4 -o
/dev/null
LLVM passes with: echo 'ldrex r3, [r4]' | llvm-mc -triple armv5 -o /dev/null
LLVM passes with: echo 'strex r2, r3, [r4]' | llvm-mc -triple armv5 -o
/dev/null
LLVM passes with: echo 'ldrexb r3, [r4]' | llvm-mc -triple armv4 -o /dev/null
LLVM passes with: echo 'strexb r2, r3, [r4]' | llvm-mc -triple armv4 -o
/dev/null
LLVM passes with: echo 'ldrexb r3, [r4]' | llvm-mc -triple armv5 -o /dev/null
LLVM passes with: echo 'strexb r2, r3, [r4]' | llvm-mc -triple armv5 -o
/dev/null
LLVM passes with: echo 'ldrexb r3, [r4]' | llvm-mc -triple armv6 -o /dev/null
LLVM passes with: echo 'strexb r2, r3, [r4]' | llvm-mc -triple armv6 -o
/dev/null
LLVM passes with: echo 'ldrexb r3, [r4]' | llvm-mc -triple armv6t2 -o /dev/null
LLVM passes with: echo 'strexb r2, r3, [r4]' | llvm-mc -triple armv6t2 -o
/dev/null
LLVM passes with: echo 'ldrexh r3, [r4]' | llvm-mc -triple armv4 -o /dev/null
LLVM passes with: echo 'strexh r2, r3, [r4]' | llvm-mc -triple armv4 -o
/dev/null
LLVM passes with: echo 'ldrexh r3, [r4]' | llvm-mc -triple armv5 -o /dev/null
LLVM passes with: echo 'strexh r2, r3, [r4]' | llvm-mc -triple armv5 -o
/dev/null
LLVM passes with: echo 'ldrexh r3, [r4]' | llvm-mc -triple armv6 -o /dev/null
LLVM passes with: echo 'strexh r2, r3, [r4]' | llvm-mc -triple armv6 -o
/dev/null
LLVM passes with: echo 'ldrexh r3, [r4]' | llvm-mc -triple armv6t2 -o /dev/null
LLVM passes with: echo 'strexh r2, r3, [r4]' | llvm-mc -triple armv6t2 -o
/dev/null
Number of tests: 128
GCC failures: 0
LLVM failures: 28
--
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/20170123/03b8a4f4/attachment.html>
More information about the llvm-bugs
mailing list