Skip to content

support for "r" prefixed variables in ARM inline assembly #4

Closed
@nickdesaulniers

Description

@nickdesaulniers

ARMv8 added support for register prefixes "w" (eg w0, w1) for lower 32b and "x" (eg x0, x1) for full 64b of the same register. GCC also supports the ARMv7 "r" prefixes, but clang complains for ARMv8 that this is ambiguous.

LLVM Bug: https://llvm.org/pr36862
Chromium Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=824526
Example Android workaround: https://android-review.googlesource.com/c/kernel/common/+/645181

Metadata

Metadata

Assignees

Labels

[ARCH] arm64This bug impacts ARCH=arm64[BUG] llvmA bug that should be fixed in upstream LLVM[FIXED][LLVM] 7This bug was fixed in LLVM 7.0

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions