-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
cmd/asm: change canonical spelling of CMOVLEQ to CMOVL.EQ etc #20173
Comments
CL https://golang.org/cl/42092 mentions this issue. |
At this point I don't think we can rename instructions like this - it will silently change the meaning of existing (one assumes debugged) code. If we need to do something at all, I would suggest adding CMOVL.EQ as an alias for current Go CMOVLEQ, and so on, and then in a later release removing the dot-free variants. |
No one replied to previous comment (but two thumbs up) so I'm repurposing for that "clearer new spelling" instead of "change existing meaning" fix. |
Yes, thank you for renaming the issue. Updated the proposal text accordingly as well. |
Change https://golang.org/cl/66451 mentions this issue: |
Should this be done for 1.11? Suffixes are used for AVX-512 things, should we reconsider |
Change https://golang.org/cl/171732 mentions this issue: |
Added an alias |
This proposal is originally from @rsc in issue #14069 and is about
CMOVLEQ
being ambiguous. I Extracted it as I believe it deserves its own issue.Unfortunately it seems too late for such a breaking change so the proposal evolved into introducing new aliases like
CMOVL.EQ
(CMOV%size.%cond
) to lift the ambiguity and then, later on, remove the old versions. Maybe.The text was updated successfully, but these errors were encountered: