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

Optimization: remove redundant sign-ext instruction on crankshaft #28

Open
john-yan opened this issue Dec 9, 2016 · 0 comments
Open
Assignees

Comments

@john-yan
Copy link

john-yan commented Dec 9, 2016

There are a lot of sign-ext instructions like lgfr/extsw in 64-bit lithium-code-gen for ppc/s390 to ensure that results are 64-bit long. However, This is not necessary. We can delay sign-ext until consuming the resulting 32-bit value. Therefore, if there is a sequence of 32-bit operations, we can reduce the amount of sign-exts and boost performance in general.

@john-yan john-yan self-assigned this Dec 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant