[llvm-bugs] [Bug 41402] New: aarch64 doesn't allow pointer to static struct for "i" constrain of inline assembly
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Apr 5 14:17:08 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=41402
Bug ID: 41402
Summary: aarch64 doesn't allow pointer to static struct for "i"
constrain of inline assembly
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: ndesaulniers at google.com
CC: isanbard at gmail.com, jyknight at google.com,
kristof.beyls at arm.com, llvm-bugs at lists.llvm.org,
neeilans at live.com, richard-llvm at metafoo.co.uk,
srhines at google.com
Blocks: 4068
Created attachment 21741
--> https://bugs.llvm.org/attachment.cgi?id=21741&action=edit
arm64_i.c
See attached test case. It seems that x86_64 allows the input argument to an
extended inline asm block to be a pointer to a static struct, but aarch64 does
not.
This pattern is used in the Linux kernel (as part of the static_key runtime
patching) and without support blocks landing asm goto support
Referenced Bugs:
https://bugs.llvm.org/show_bug.cgi?id=4068
[Bug 4068] [Meta] Compiling the Linux kernel with clang
--
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/20190405/b3f4b28c/attachment.html>
More information about the llvm-bugs
mailing list