Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/asm: incorrect instruction encodings #14069
I have constructed a fairly exhaustive test suite for the x86 assembler and identified some problems. The ones in this issue are long-time bugs that appear to have been present since the beginning of the Go project. We should fix them but given the history there is no need to rush the fixes into Go 1.6.
This may not be all of them: my tests don't account for some Go renamings of instructions.
I intend to fix these and check in the tests.
Recounting this to @aclements I figured out what is going on with CMOVLEQ. The GNU form is
I'm wondering how it'd be possible to make this less painful for people out there using the Go assembler:
Of course, as
Any other ideas?