]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix mips assembly
authorCherry Zhang <cherryyz@google.com>
Thu, 15 Dec 2016 02:35:30 +0000 (21:35 -0500)
committerCherry Zhang <cherryyz@google.com>
Thu, 15 Dec 2016 02:50:23 +0000 (02:50 +0000)
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>
src/runtime/asm_mipsx.s

index ad1d1a7716868119a1b8e296ae2e6723225851af..73da768897b8882d7339427025ea37db960d555f 100644 (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