Commit 7e62315c authored by Reimar Döffinger's avatar Reimar Döffinger

Use correct register size.

Fixes compilation with NASM.
Signed-off-by: 's avatarReimar Döffinger <Reimar.Doeffinger@gmx.de>
parent 67f5650a
......@@ -59,7 +59,7 @@ cglobal rv34_idct_dc_add_mmx, 3, 3
; calculate DC
IDCT_DC_ROUND r2
pxor m1, m1
movd m0, r2
movd m0, r2d
psubw m1, m0
packuswb m0, m0
packuswb m1, m1
......@@ -96,7 +96,7 @@ cglobal rv34_idct_dc_add_sse4, 3, 3, 6
pxor m1, m1
; calculate DC
movd m0, r2
movd m0, r2d
lea r2, [r0+r1*2]
movd m2, [r0]
movd m3, [r0+r1]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment