From 3444e5b3551060ab8cc0d4c70a9dce823d8f569a Mon Sep 17 00:00:00 2001 From: Cherry Zhang Date: Wed, 14 Dec 2016 21:35:30 -0500 Subject: [PATCH] runtime: fix mips assembly I meant to say ~7, instead of ^7, in the review. Fix build. Change-Id: I5060bbcd98b4ab6f00251fdb68b6b35767e5acf1 Reviewed-on: https://go-review.googlesource.com/34411 Run-TryBot: Cherry Zhang TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor --- src/runtime/asm_mipsx.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/asm_mipsx.s b/src/runtime/asm_mipsx.s index ad1d1a77168..73da768897b 100644 --- a/src/runtime/asm_mipsx.s +++ b/src/runtime/asm_mipsx.s @@ -481,7 +481,7 @@ TEXT ·asmcgocall(SB),NOSPLIT,$0-12 g0: // Save room for two of our pointers and O32 frame. ADDU $-24, R29 - AND $^7, R29 // O32 ABI expects 8-byte aligned stack on function entry + AND $~7, R29 // O32 ABI expects 8-byte aligned stack on function entry MOVW R2, 16(R29) // save old g on stack MOVW (g_stack+stack_hi)(R2), R2 SUBU R3, R2