ppc64x: try VPERMXOR last

This commit is contained in:
Sun Yimin 2024-11-07 18:04:59 +08:00 committed by GitHub
parent 965f0d1119
commit 08617245e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -84,11 +84,10 @@
// - y: 128 bits temp register
// - z: 128 bits temp register
#define AFFINE_TRANSFORM(L, H, V_FOUR, x, y, z) \
VAND NIBBLE_MASK, x, z; \
VPERM L, L, z, y; \
VAND NIBBLE_MASK, x, y; \
VSRB x, V_FOUR, z; \
VPERM H, H, z, x; \
VXOR y, x, x
VPERM L, L, y, x; \
VPERMXOR H, H, z, x
// Affine Transform
// parameters: