Commit 3444e5b3 authored by Cherry Zhang's avatar Cherry Zhang

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: 's avatarIan Lance Taylor <iant@golang.org>
parent cd2b6bd3
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment