From 0cd2bf4f988e115d9b93a75e6472663d88a85a4c Mon Sep 17 00:00:00 2001 From: Vladimir Stefanovic Date: Thu, 15 Dec 2016 18:05:26 +0100 Subject: [PATCH] test: add mipsx case to nosplit.go Change-Id: I496bceacb6b3f417e36dc725d988b12c59a200d5 Reviewed-on: https://go-review.googlesource.com/34412 Reviewed-by: Brad Fitzpatrick Run-TryBot: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- test/nosplit.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/nosplit.go b/test/nosplit.go index 5f4e62f5b15..e0d531c116d 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")