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

[2018-10] [amd64] use 32bit variant of lea_membase for 32bit operations #13651

Merged
merged 1 commit into from
Mar 26, 2019

Conversation

monojenkins
Copy link
Contributor

Consider

 xor %r15, %r15       // %r15 = 0x0
 dec %r15d            // %r15 = 0xffff_ffff
 lea 0x1(%r15), %rdx  // %rdx = 0x1_0000_0000 but should be 0x0

instead lea 0x1(%r15), %edx should be generated.

Fixes #13452
Fixes #13597

Backport of #13642.

/cc @lewurm

Consider
```
 xor %r15, %r15       // %r15 = 0x0
 dec %r15d            // %r15 = 0xffff_ffff
 lea 0x1(%r15), %rdx  // %rdx = 0x1_0000_0000 but should be 0x0
```

instead `lea 0x1(%r15), %edx` should be generated.
@lewurm
Copy link
Contributor

lewurm commented Mar 25, 2019

@monojenkins squash

@monojenkins
Copy link
Contributor Author

Cannot squash because the following required status checks are not successful:

  • "Linux AArch64 Interpreter" state is "failure"

@marek-safar marek-safar merged commit 95911b7 into mono:2018-10 Mar 26, 2019
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.

3 participants