[llvm-bugs] [Bug 45582] New: bcr 15, 0 syntax is not supported on SystemZ
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Apr 17 05:14:53 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=45582
Bug ID: 45582
Summary: bcr 15,0 syntax is not supported on SystemZ
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: SystemZ
Assignee: unassignedbugs at nondot.org
Reporter: iii at linux.ibm.com
CC: llvm-bugs at lists.llvm.org
gas accepts the following:
$ cat test.s
bcr 15,0
$ as test.s
however, clang doesn't:
$ clang -c test.s
test.s:1:8: error: invalid operand for instruction
bcr 15,0
^
it wants 'bcr 15,%r0' instead.
It would be great to accept what gas accepts here, because e.g. musl libc uses
this syntax:
https://git.musl-libc.org/cgit/musl/tree/arch/s390x/atomic_arch.h?h=v1.2.0#n23
--
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/20200417/e622bad9/attachment.html>
More information about the llvm-bugs
mailing list