Skip to content

make inlineAsmAArch64Semantic() a bit more understandable #21607

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
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

WalterBright
Copy link
Member

Also fixed the register mask.

@WalterBright WalterBright requested a review from ibuclaw as a code owner July 27, 2025 02:22
@WalterBright WalterBright added the Arch:Aarch64 Issues specific to Arm 64 label Jul 27, 2025
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @WalterBright!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + dmd#21607"

@@ -725,8 +725,8 @@ class InlineAsmStatement final : public AsmStatement
{
public:
void *asmcode;
unsigned asmalign; // alignment of this statement
unsigned regs; // mask of registers modified (must match regm_t in back end)
unsigned long long regs; // mask of registers modified (must match regm_t in back end)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just double checking that unsigned long long is actually what is desired here for a 64 bit integer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch:Aarch64 Issues specific to Arm 64
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants