Commit 4dce6dbb authored by Robert Griesemer's avatar Robert Griesemer

math/big: temporarily disable buggy shlVU assembly for arm64

This addresses the failures we have seen in #31084. The correct
fix is to find the actual bug in the assembly code.

Updates #31084.

Change-Id: I437780c53d0c4423d742e2e3b650b899ce845372
Reviewed-on: https://go-review.googlesource.com/c/go/+/169721
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent 591193b0
...@@ -197,6 +197,10 @@ len0: ...@@ -197,6 +197,10 @@ len0:
// func shlVU(z, x []Word, s uint) (c Word) // func shlVU(z, x []Word, s uint) (c Word)
TEXT ·shlVU(SB),NOSPLIT,$0 TEXT ·shlVU(SB),NOSPLIT,$0
// Disable assembly for now - it is subtly incorrect.
// See #31084 for a test that fails using this code.
B ·shlVU_g(SB)
MOVD z+0(FP), R0 MOVD z+0(FP), R0
MOVD z_len+8(FP), R1 MOVD z_len+8(FP), R1
MOVD x+24(FP), R2 MOVD x+24(FP), 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