Issue |
129053
|
Summary |
s390x: support `.machine push` and `.machine pop` assembler directives
|
Labels |
new issue
|
Assignees |
|
Reporter |
folkertdev
|
The [documentation](https://sourceware.org/binutils/docs/as/s390-Directives.html) mentions that these directives should work (exactly like they do for powerpc):
> .machine STRING[+EXTENSION]…
This directive allows changing the machine for which code is generated. string may be any of the -march= selection options, or push, or pop. .machine push saves the currently selected cpu, which may be restored with .machine pop.
But LLVM does not currently accept them [in the ASM parser](https://github.com/llvm/llvm-project/blob/74306afe87b85cb9b5734044eb6c74b8290098b3/llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp#L1362)
This came up here https://github.com/rust-lang/rust/pull/137720#discussion_r1973375073
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs