Skip to content

Commit 659c632

Browse files
committed
cmd/asm: add generated test of amd64 instruction encodings
Generated by x86test, from https://golang.org/cl/18842 (still in progress). The commented out lines are either missing or misspelled or incorrectly handled instructions. For #4816, #8037, #13822, #14068, #14069. Change-Id: If309310c97d9d2a3c71fc64c51d4a957e9076ab7 Reviewed-on: https://go-review.googlesource.com/18850 Reviewed-by: Rob Pike <[email protected]> Run-TryBot: Russ Cox <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
1 parent 2eb8d94 commit 659c632

File tree

2 files changed

+10686
-0
lines changed

2 files changed

+10686
-0
lines changed

src/cmd/asm/internal/asm/endtoend_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,10 @@ func TestAMD64EndToEnd(t *testing.T) {
272272
testEndToEnd(t, "amd64", "amd64")
273273
}
274274

275+
func TestAMD64Encoder(t *testing.T) {
276+
testEndToEnd(t, "amd64", "amd64enc")
277+
}
278+
275279
func TestMIPS64EndToEnd(t *testing.T) {
276280
testEndToEnd(t, "mips64", "mips64")
277281
}

0 commit comments

Comments
 (0)