summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2023-04-08 21:43:17 +0200
committerNiels Möller <nisse@lysator.liu.se>2023-04-08 21:43:17 +0200
commitc15ad2fc4c065f6b9c86e0f945aa78e5cd924c09 (patch)
tree297aaaafd69d85a1bf2167153237999e0f580a70
parentb39269babf4035d53b69f5021893fb03595c9f12 (diff)
downloadnettle-c15ad2fc4c065f6b9c86e0f945aa78e5cd924c09.tar.gz
Slight reorder.
-rw-r--r--x86_64/ghash-update.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/x86_64/ghash-update.asm b/x86_64/ghash-update.asm
index 978ef327..2c4958bf 100644
--- a/x86_64/ghash-update.asm
+++ b/x86_64/ghash-update.asm
@@ -67,13 +67,13 @@ ALIGN(16)
mov $496, CNT
ALIGN(16)
.Loop_bit:
- movaps X, M0
- psrad $31, M0
- pshufd $0xff, M0, M3
- pshufd $0xaa, M0, M2
- pshufd $0x55, M0, M1
- pshufd $0x00, M0, M0
- psllq $1, X
+ movaps X, M3
+ psrad $31, M3
+ pshufd $0x00, M3, M0
+ pshufd $0x55, M3, M1
+ pshufd $0xaa, M3, M2
+ pshufd $0xff, M3, M3
+ pslld $1, X
pand (KEY, CNT), M0
pand 512(KEY, CNT), M1
pand 1024(KEY, CNT), M2