From: Xiaolin Zhao Date: Fri, 9 May 2025 01:56:15 +0000 (+0800) Subject: crypto/sha1: replaced WORD with instruction REVB2W X-Git-Tag: go1.25rc1~307 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c57b0d6c7e54284c8967530153774dbc62190b00;p=gostls13.git crypto/sha1: replaced WORD with instruction REVB2W Change-Id: I37f3db37a318a72a9558c1a728be8099a41a8774 Reviewed-on: https://go-review.googlesource.com/c/go/+/671255 LUCI-TryBot-Result: Go LUCI Reviewed-by: Carlos Amedee Reviewed-by: Cherry Mui Reviewed-by: abner chenc --- diff --git a/src/crypto/sha1/sha1block_loong64.s b/src/crypto/sha1/sha1block_loong64.s index 7e9d6e0933..b76b193ad0 100644 --- a/src/crypto/sha1/sha1block_loong64.s +++ b/src/crypto/sha1/sha1block_loong64.s @@ -29,7 +29,7 @@ #define LOAD1(index) \ MOVW (index*4)(R5), REGTMP3; \ - WORD $0x3a73; \ // REVB2W REGTMP3, REGTMP3 to big-endian + REVB2W REGTMP3, REGTMP3; \ MOVW REGTMP3, (index*4)(R3) #define LOAD(index) \