From 8af20b9de69525c8c5e3e62a9252887ea4d2f602 Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Mon, 30 Sep 2024 21:08:35 +0800 Subject: [PATCH] Update eia_asm_ppc64x.s --- zuc/eia_asm_ppc64x.s | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zuc/eia_asm_ppc64x.s b/zuc/eia_asm_ppc64x.s index 9112d36..772321a 100644 --- a/zuc/eia_asm_ppc64x.s +++ b/zuc/eia_asm_ppc64x.s @@ -81,9 +81,9 @@ TEXT ·eia3Round16B(SB),NOSPLIT,$0 MOVD $8, R8 LXVW4X (R8)(R4), KS_M1 MOVD $0x40, R8 - LXVD2X (PTR)(R8), XTMP1 - VPERM KS_L, KS_L, XTMP1, KS_L - VPERM KS_M1, KS_M1, XTMP1, KS_M1 + LXVD2X (PTR)(R8), XTMP4 + VPERM KS_L, KS_L, XTMP4, KS_L + VPERM KS_M1, KS_M1, XTMP4, KS_M1 // clmul // xor the results from 4 32-bit words together