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
GH-113657: Add back missing _SET_IP
uops in tier two
#113662
Conversation
Who, doesn't this imply that all the |
Oh wait, it's worse. The macros apply to Tier 1 opcodes, but were incorrectly applied to Tier 2 here. I'll approve. But we need to think more about how to avoid such mistakes. |
Agreed. Probably the best thing to do is define equivalent macros for uops, and assert the valid ranges for each (although this is tricky, since tier one is in If there's no major convenience added by allowing tier one and tier two to overlap like that, maybe they should each get their own distinct range? Then it would be easier to catch mistakes like this. |
Actually, currently uops are in the range However, I believe @markshannon is planning to make the ranges overlapping, so we can store uops in a single byte. The (The lowest uop is 300 instead of 256 because we need some space for pseudo ops etc.) |
I'm seeing numbers that are below 256 in tier two for certain instructions. For example, |
I think it's just for instructions that translate 1-1 between tiers? Check out |
Oh, the work isn't as far along as I thought. Shame on me for not remembering what I saw in that PR. It just introduces separate names, but the numeric IDs aren't separately allocated yet. |
Looks like these macro uses weren't updated when the metadata for tier one and tier two instructions was split in GH-113287.