Skip to content

s390x: support .machine push and .machine pop assembler directives #129053

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
folkertdev opened this issue Feb 27, 2025 · 1 comment
Open

s390x: support .machine push and .machine pop assembler directives #129053

folkertdev opened this issue Feb 27, 2025 · 1 comment
Labels
backend:SystemZ enhancement Improving things as opposed to bug fixing, e.g. new or missing feature

Comments

@folkertdev
Copy link

The documentation 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

This came up here rust-lang/rust#137720 (comment)

@uweigand
Copy link
Member

@EugeneZelenko EugeneZelenko added enhancement Improving things as opposed to bug fixing, e.g. new or missing feature and removed new issue labels Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend:SystemZ enhancement Improving things as opposed to bug fixing, e.g. new or missing feature
Projects
None yet
Development

No branches or pull requests

4 participants