Open dlespiau opened 7 years ago
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: cmd/asm: add CMOVL.EQ->CMOVLEQ alias
Should this be done for 1.11?
Suffixes are used for AVX-512 things, should we reconsider CMOVL.EQ
or add additional suffixes for these? (see #22779)
Change https://golang.org/cl/171732 mentions this issue: cmd/internal/obj/x86: permit new CMOVL syntax with suffix
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.
Added an alias CMOVL.EQ
for CMOVLEQ
. Should probably remove old version in the future.
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.