We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6eaad40 commit d02b18aCopy full SHA for d02b18a
compiler/rustc_codegen_ssa/src/mir/naked_asm.rs
@@ -190,7 +190,11 @@ fn enable_disable_target_features<'tcx>(
190
for feature in features {
191
writeln!(begin, ".arch_extension {}", feature.name).unwrap();
192
193
- writeln!(end, ".arch_extension no{}", feature.name).unwrap();
+ // aarch does not have the push/pop mechanism like riscv below.
194
+ //
195
+ // > The .arch_extension directive is effective until the end of the assembly block and is not propagated to subsequent code
196
197
+ // https://github.com/taiki-e/portable-atomic/blob/75a36c33b38c4c68f4095e95f106cfbedce9a914/src/imp/atomic128/aarch64.rs#L330
198
}
199
200
Architecture::Riscv32 | Architecture::Riscv64 => {
0 commit comments