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 12968 - incorrect codegen #3690

Merged
merged 1 commit into from
Jun 24, 2014
Merged

Conversation

Orvid
Copy link
Contributor

@Orvid Orvid commented Jun 23, 2014

This is a minor change to prevent DMD's backend from incorrectly assuming RAX is the register being referenced when a REX prefix is present.

@WalterBright
Copy link
Member

@WalterBright
Copy link
Member

Please add the test code from bugzilla to the test suite.

@Orvid
Copy link
Contributor Author

Orvid commented Jun 24, 2014

Updated with the test code.

On a side note, any idea why the IASM tests all use TLS data rather than having them declared as __gshared immutable?

WalterBright added a commit that referenced this pull request Jun 24, 2014
Fix issue 12968 - incorrect codegen
@WalterBright WalterBright merged commit 9ddfff5 into dlang:master Jun 24, 2014
@WalterBright
Copy link
Member

Because the tests predate TLS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants