1
0
mirror of https://github.com/golang/go synced 2024-11-23 14:50:07 -07:00

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 <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Cherry Zhang 2016-12-14 21:35:30 -05:00
parent cd2b6bd3c4
commit 3444e5b355

View File

@ -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