Skip to content
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

add support for 64 bit memset #14788

Merged
merged 1 commit into from Jan 5, 2023
Merged

Conversation

WalterBright
Copy link
Member

Also generalized the codegen to be less specific with register usage.

This is all in support of https://issues.dlang.org/show_bug.cgi?id=19946

@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#14788"

Copy link
Contributor

@thewilsonator thewilsonator left a comment

Choose a reason for hiding this comment

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

Tests?

@WalterBright WalterBright force-pushed the memset64 branch 7 times, most recently from 19d720a to 3b69c6c Compare January 5, 2023 07:46
@@ -6295,7 +6295,8 @@ Lagain:
// Be careful about parameter side effect ordering
if (r == RTLSYM.MEMSET8 ||
r == RTLSYM.MEMSET16 ||
r == RTLSYM.MEMSET32)
r == RTLSYM.MEMSET32 ||
r == RTLSYM.MEMSET64)
Copy link
Contributor

Choose a reason for hiding this comment

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

The indentation is off here.

Copy link
Member Author

Choose a reason for hiding this comment

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

looks right to me

@WalterBright WalterBright merged commit f5fcac9 into dlang:master Jan 5, 2023
@WalterBright WalterBright deleted the memset64 branch January 5, 2023 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants