1
0
mirror of https://github.com/golang/go synced 2024-11-23 05:10:09 -07:00

test/fixedbugs: add mipsx case to issue11656

Change-Id: Ifcbd2ea19fc7fa832cd88aa857a5704c32eb4765
Reviewed-on: https://go-review.googlesource.com/34511
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Vladimir Stefanovic 2016-12-15 17:46:44 +01:00 committed by Brad Fitzpatrick
parent 34bd7d5d4b
commit 01b006fc18

View File

@ -61,9 +61,9 @@ func f(n int) {
binary.BigEndian.PutUint32(ill, 0x7fe00008) // trap
case "ppc64le":
binary.LittleEndian.PutUint32(ill, 0x7fe00008) // trap
case "mips64":
case "mips", "mips64":
binary.BigEndian.PutUint32(ill, 0x00000034) // trap
case "mips64le":
case "mipsle", "mips64le":
binary.LittleEndian.PutUint32(ill, 0x00000034) // trap
case "s390x":
binary.BigEndian.PutUint32(ill, 0) // undefined instruction