ppc64x: rollback again

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

View File

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