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 12730 - lea instruction accepts subtraction of scaling regi… #11543

Merged
merged 1 commit into from Aug 10, 2020

Conversation

WalterBright
Copy link
Member

…ster but actually adds

Although this does fix that problem, the parser for the inline assembler is not very good and needs a total rewrite.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @WalterBright!

Bugzilla references

Auto-close Bugzilla Severity Description
12730 normal lea instruction accepts subtraction of scaling register but actually adds

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

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

there's this issue (https://issues.dlang.org/show_bug.cgi?id=18373) that exposes a few other "accept-invalid" cases. If the plan is a wider rewrite maybe this fix is not worth but otherwise ok

@ghost ghost added the auto-merge label Aug 10, 2020
@dlang-bot dlang-bot merged commit eae5ee3 into dlang:master Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants