]> Cypherpunks repositories - gostls13.git/commitdiff
test/fixedbugs: add mipsx case to issue11656
authorVladimir Stefanovic <vladimir.stefanovic@imgtec.com>
Thu, 15 Dec 2016 16:46:44 +0000 (17:46 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 15 Dec 2016 16:57:20 +0000 (16:57 +0000)
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>

test/fixedbugs/issue11656.go

index e0ef09760099b3fa639bd0dbaab84410e48f4733..c04a66202b63857de558d06c6d7cd876ae5c9781 100644 (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