raid: optimize final parity check

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
This commit is contained in:
Pablo de Lara 2023-09-26 15:26:46 +01:00
parent bf8f2a25ba
commit 5d6092c832

View File

@ -188,12 +188,12 @@ next_vect:
;; End of vects, chech that all parity regs = 0 ;; End of vects, chech that all parity regs = 0
mov tmp, vec ;Back to last vector mov tmp, vec ;Back to last vector
por xmm0, xmm1 por xmm0, xmm1
por xmm2, xmm3
por xmm4, xmm5
por xmm6, xmm7
por xmm0, xmm2 por xmm0, xmm2
por xmm0, xmm3 por xmm4, xmm6
por xmm0, xmm4 por xmm0, xmm4
por xmm0, xmm5
por xmm0, xmm6
por xmm0, xmm7
ptest xmm0, xmm0 ptest xmm0, xmm0
jnz return_fail jnz return_fail