1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Fix NASM compilation.

movd needs explicit register size prefix for NASM.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
Reimar Döffinger 2012-02-03 20:34:56 +01:00
parent ed3c0fe85d
commit da1ba4e88b

View File

@ -164,8 +164,8 @@ cglobal rv40_weight_func_%1, 6, 7, %2
; Use result of test now
jz .loop_512
movd m2, r3
movd m3, r4
movd m2, r3d
movd m3, r4d
SPLATW m2, m2
SPLATW m3, m3
@ -178,8 +178,8 @@ cglobal rv40_weight_func_%1, 6, 7, %2
.loop_512:
sar r3, 9
sar r4, 9
movd m2, r3
movd m3, r4
movd m2, r3d
movd m3, r4d
%if cpuflag(ssse3)
punpcklbw m3, m2
SPLATW m3, m3