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

Fix Issue 23123 - -vasm ignored REX prefix for cmpxchg #14136

Merged
merged 1 commit into from
May 18, 2022

Conversation

maxhaton
Copy link
Member

This led to a mistaken bug report because obj2asm has the same issue.
The bug makes it look like dmd is emitting the wrong CAS instruction (but it
actually was right)

This led to a mistaken bug report because obj2asm has the same issue.
The bug makes it look like dmd is emitting the wrong CAS instruction (but it
actually was)
@maxhaton maxhaton requested a review from WalterBright May 18, 2022 00:21
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @maxhaton!

Bugzilla references

Auto-close Bugzilla Severity Description
23123 normal -vasm wrong result for cmpxchg16b

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#14136"

Copy link
Member

@WalterBright WalterBright left a comment

Choose a reason for hiding this comment

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

I'm liking that this results in a better obj2asm, too!

@maxhaton maxhaton merged commit c65e3a0 into dlang:master May 18, 2022
thewilsonator pushed a commit to thewilsonator/dmd that referenced this pull request May 26, 2022
This led to a mistaken bug report because obj2asm has the same issue.
The bug makes it look like dmd is emitting the wrong CAS instruction (but it
actually was)
thewilsonator pushed a commit to thewilsonator/dmd that referenced this pull request May 26, 2022
This led to a mistaken bug report because obj2asm has the same issue.
The bug makes it look like dmd is emitting the wrong CAS instruction (but it
actually was)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants