https://llvm.org/bugs/show_bug.cgi?id=29149
Bug ID: 29149
Summary: clang integrated-as rejects ldc2/stc2 while targeting
32-bit mode ARMv8
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
[bero@box1 ~]$ cat test.S
ldc2 p1, cr8, [r0], #4
stc2 p1, cr8, [r0], #4
[bero@box1 ~]$ clang -target arm-linux-androideabi -mcpu=cortex-a15 -o test.o
-c test.S
[bero@box1 ~]$ clang -target arm-linux-androideabi -mcpu=cortex-a53 -o test.o
-c test.S
test.S:1:7: error: invalid operand for instruction
ldc2 p1, cr8, [r0], #4
^
test.S:2:7: error: invalid operand for instruction
stc2 p1, cr8, [r0], #4
^
It's true that ldc2 and stc2 have been removed from the ARMv8 instruction set,
but AFAICT this shouldn't affect 32bit compat mode on an A53 (which should be a
superset of A15)
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs