Commit 659c6328 authored by Russ Cox's avatar Russ Cox

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/18850Reviewed-by: default avatarRob Pike <r@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent 2eb8d94d
...@@ -272,6 +272,10 @@ func TestAMD64EndToEnd(t *testing.T) { ...@@ -272,6 +272,10 @@ func TestAMD64EndToEnd(t *testing.T) {
testEndToEnd(t, "amd64", "amd64") testEndToEnd(t, "amd64", "amd64")
} }
func TestAMD64Encoder(t *testing.T) {
testEndToEnd(t, "amd64", "amd64enc")
}
func TestMIPS64EndToEnd(t *testing.T) { func TestMIPS64EndToEnd(t *testing.T) {
testEndToEnd(t, "mips64", "mips64") testEndToEnd(t, "mips64", "mips64")
} }
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment