aboutsummaryrefslogtreecommitdiff
path: root/test/nosplit.go
diff options
context:
space:
mode:
authorVladimir Stefanovic <vladimir.stefanovic@imgtec.com>2016-12-15 18:05:26 +0100
committerIan Lance Taylor <iant@golang.org>2016-12-15 22:43:28 +0000
commit0cd2bf4f988e115d9b93a75e6472663d88a85a4c (patch)
tree922d0a4a857f58772b611b88ea98d798b81ca003 /test/nosplit.go
parent6e542dce216504cc1e849573a4320084307860d0 (diff)
downloadgo-0cd2bf4f988e115d9b93a75e6472663d88a85a4c.tar.gz
go-0cd2bf4f988e115d9b93a75e6472663d88a85a4c.zip
test: add mipsx case to nosplit.go
Change-Id: I496bceacb6b3f417e36dc725d988b12c59a200d5 Reviewed-on: https://go-review.googlesource.com/34412 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'test/nosplit.go')
-rw-r--r--test/nosplit.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/nosplit.go b/test/nosplit.go
index 5f4e62f5b1..e0d531c116 100644
--- a/test/nosplit.go
+++ b/test/nosplit.go
@@ -261,6 +261,8 @@ TestCases:
var buf bytes.Buffer
ptrSize := 4
switch goarch {
+ case "mips", "mipsle":
+ fmt.Fprintf(&buf, "#define CALL JAL\n#define REGISTER (R0)\n")
case "mips64", "mips64le":
ptrSize = 8
fmt.Fprintf(&buf, "#define CALL JAL\n#define REGISTER (R0)\n")