From afe517590cc5e236a8f4f3af35ca64ca1d55b2e5 Mon Sep 17 00:00:00 2001 From: Meng Zhuo Date: Tue, 16 Mar 2021 17:04:31 +0800 Subject: 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 Reviewed-by: Keith Randall Reviewed-by: Cherry Zhang --- test/codegen/strings.go | 1 + 1 file changed, 1 insertion(+) (limited to 'test/codegen/strings.go') 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 -- cgit v1.3