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

aarch64 - sxtb/lsl peephole #8329

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

swalk-cavium
Copy link
Contributor

This adds a peephole which captures a common pattern seen in Mediawiki traces.

Before

0xcb00a04  93401c21     sxtb x1, w1
0xcb00a08  d37ef421     lsl x1, x1, #2

After

0xcb00a04  937e1c21     sbfiz  x1, x1, #2,  #8

The standard regression tests were run with 6 option sets. No new issues were seen.
The mediawiki oss-performance test was run without incident.

@swalk-cavium
Copy link
Contributor Author

@mxw - Can you inspect?

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

Successfully merging this pull request may close these issues.

None yet

2 participants