Change-Id: I1aac166aea4f907a7fb93028a39ef9d1e3888c9c
Reviewed-on: https://go-review.googlesource.com/c/go/+/743800
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
MOVV x_base+24(FP), R6
MOVV z_base+0(FP), R7
// run loop backward
- SLLV $3, R4, R8
- ADDVU R8, R6
- SLLV $3, R4, R8
- ADDVU R8, R7
+ ALSLV $3, R4, R6, R6
+ ALSLV $3, R4, R7, R7
// shift first word into carry
MOVV -8(R6), R8
MOVV $64, R9
or: "OR",
xor: "XOR",
+ addWords: "ALSLV $3, %[1]s, %[2]s, %[3]s",
+
jmpZero: "BEQ %s, %s",
jmpNonZero: "BNE %s, %s",
}