aboutsummaryrefslogtreecommitdiff
path: root/test/codegen
diff options
context:
space:
mode:
authorMeng Zhuo <mzh@golangcn.org>2021-03-16 17:04:31 +0800
committerMeng Zhuo <mzh@golangcn.org>2021-03-16 09:07:17 +0000
commitafe517590cc5e236a8f4f3af35ca64ca1d55b2e5 (patch)
tree704c2b91a32865bb5436e01a835d2ea0fba6ec51 /test/codegen
parent600259b099d3ba215912ce957143febe84c684fb (diff)
downloadgo-afe517590cc5e236a8f4f3af35ca64ca1d55b2e5.tar.gz
go-afe517590cc5e236a8f4f3af35ca64ca1d55b2e5.zip
cmd/compile: loads from readonly globals into const for mips64x
Ref: CL 141118 Update #26498 Change-Id: If4ea55c080b9aa10183eefe81fefbd4072deaf3a Reviewed-on: https://go-review.googlesource.com/c/go/+/280646 Trust: Meng Zhuo <mzh@golangcn.org> Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'test/codegen')
-rw-r--r--test/codegen/strings.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/codegen/strings.go b/test/codegen/strings.go
index 0859e241cb..19e1dbda51 100644
--- a/test/codegen/strings.go
+++ b/test/codegen/strings.go
@@ -30,6 +30,7 @@ func ConstantLoad() {
// arm:`MOVW\t\$48`,`MOVW\t\$49`,`MOVW\t\$50`
// arm64:`MOVD\t\$12592`,`MOVD\t\$50`
// wasm:`I64Const\t\$12592`,`I64Store16\t\$0`,`I64Const\t\$50`,`I64Store8\t\$2`
+ // mips64:`MOVV\t\$48`,`MOVV\t\$49`,`MOVV\t\$50`
bsink = []byte("012")
// 858927408 = 0x33323130