sm4: use simple inst.

This commit is contained in:
Sun Yimin 2023-07-31 17:32:41 +08:00 committed by GitHub
parent c813a1fb65
commit fe84641340
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@
PXOR t3, x; \ PXOR t3, x; \
SM4_TAO_L2(x, y, XTMP6, XTMP7); \ SM4_TAO_L2(x, y, XTMP6, XTMP7); \
PXOR x, t0; \ PXOR x, t0; \
PEXTRD $0, t0, R8; \ MOVL t0, R8; \ // _mm_cvtsi128_si32
MOVL R8, (index * 4)(DX)(CX*1); \ MOVL R8, (index * 4)(DX)(CX*1); \
MOVL R8, (12 - index * 4)(DI)(SI*1) MOVL R8, (12 - index * 4)(DI)(SI*1)