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:
parent
2eb8d94dbd
commit
659c632885
@ -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")
|
||||||
}
|
}
|
||||||
|
10682
src/cmd/asm/internal/asm/testdata/amd64enc.s
vendored
Normal file
10682
src/cmd/asm/internal/asm/testdata/amd64enc.s
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user