Skip to content

Commit

Permalink
Remove explicit VEX coding from sad ASM (#2941)
Browse files Browse the repository at this point in the history
* Remove explicit VEX coding from sad ASM
  • Loading branch information
redzic authored May 16, 2022
1 parent 9c3a494 commit 9d6d5d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/x86/sad_row.asm
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ cglobal sad_row_8bpc, 3, 5, 8, p1, p2, len, \
add p2q, lenq
sub resid_simdq, lenq
; last register needed for unrolled loop
vpxor xm3, xm3
pxor xm3, xm3
neg lenq
.loop:
mova m4, [p1q + lenq + 0*mmsize]
Expand All @@ -92,7 +92,7 @@ cglobal sad_row_8bpc, 3, 5, 8, p1, p2, len, \
add lenq, 4*mmsize
jnz .loop

vpaddq m2, m3
paddq m2, m3
.lt_4x:
; jump to correct place for residual vector reduction
test resid_simdd, resid_simdd
Expand Down

0 comments on commit 9d6d5d1

Please sign in to comment.