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
Jit_Integer: Use SHLX, SHRX, SARX #9385
Conversation
|
After some debugging, the above only occurs in cases when Rs is in memory. |
|
Fixed. In srwx, allowing Rs to reference memory had resulted in a 64-bit load rather than the desired 32-bit load, resulting in invalid data in the upper half of the register which was then shifted to the right. <0.5% speed improvement in povray. |
Suggested by @Sintendo Co-authored-by: Sintendo <bram.speeckaert@gmail.com>
|
@Sintendo Thanks, makes sense to me, applied. |
Avoid unnecessary
MOVinstructions andRCXuse when BMI2 is available.