min-LLVM: Can only use x86 asm ATT syntax for LLVM < 10 in new asm!
#76738
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
F-asm
`#![feature(asm)]` (not `llvm_asm`)
O-x86_32
Target: x86 processors, 32 bit (like i686-*)
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This is a tracking issue to remind when using
asm!
macro in Rust repo and its direct dependencieslike stdarch, we can only use x86 ATT syntax for LLVM < 10. That's because older LLVM versions
don't support operand modifiers in intel syntax. Although as long as we stick to AT&T syntax
and stick to general-purpose registers it should be fine.
@rustbot modify labels: A-LLVM F-asm T-compiler requires-nightly O-x86
Some related discussions:
The text was updated successfully, but these errors were encountered: