]> Cypherpunks repositories - gostls13.git/commit
cmd/asm: update to use new encoding for x86 instructions
authorRob Pike <r@golang.org>
Thu, 5 Mar 2015 05:04:11 +0000 (21:04 -0800)
committerRob Pike <r@golang.org>
Thu, 5 Mar 2015 05:24:58 +0000 (05:24 +0000)
commit845c4ff52a624a61be5a0669ec315b6f3a651b51
tree9e7de09d4c0ed975e478661a6aebdbc534ec9852
parent59584ede73897f991c1e687848a827af53e2c99d
cmd/asm: update to use new encoding for x86 instructions

Support the old syntax for AX:DX by rewriting into the new form,
AX, DX. Delete now-unnecessary hacks for some special cases.

Change-Id: Icd42697c7617f8a50864ca8b0c69469321a2296e
Reviewed-on: https://go-review.googlesource.com/6901
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/asm/internal/asm/asm.go
src/cmd/asm/internal/asm/endtoend_test.go
src/cmd/asm/internal/asm/operand_test.go
src/cmd/asm/internal/asm/parse.go
src/cmd/asm/internal/asm/testdata/386.out
src/cmd/asm/internal/asm/testdata/amd64.out
src/cmd/asm/internal/asm/testdata/amd64.s