1
0
mirror of https://github.com/golang/go synced 2024-09-25 13:20:13 -06:00

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 <r@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Russ Cox 2016-01-22 11:27:49 -05:00
parent 2eb8d94dbd
commit 659c632885
2 changed files with 10686 additions and 0 deletions

View File

@ -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")
} }

File diff suppressed because it is too large Load Diff