You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note:
It might be worth adding ROT_3 and a RROT_3 uops to use in the optimizer and the peepholer.
A SWAP_2; SWAP_3 takes 6 moves, but ROT_3 only takes 4.
Two narrowings:
No _ROT_3 as _SWAP 2; _SWAP 3 adjacent doesn't exist.
No separate peephole pass as it would never fire.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Feature or enhancement
Proposal:
According to @markshannon's note #148816 (comment)
Two narrowings:
_ROT_3as_SWAP 2; _SWAP 3adjacent doesn't exist.Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
_RROT_3uop to reduce stack moves #149205