Commit da1ba4e8 authored by Reimar Döffinger's avatar Reimar Döffinger

Fix NASM compilation.

movd needs explicit register size prefix for NASM.
Signed-off-by: 's avatarReimar Döffinger <Reimar.Doeffinger@gmx.de>
parent ed3c0fe8
...@@ -164,8 +164,8 @@ cglobal rv40_weight_func_%1, 6, 7, %2 ...@@ -164,8 +164,8 @@ cglobal rv40_weight_func_%1, 6, 7, %2
; Use result of test now ; Use result of test now
jz .loop_512 jz .loop_512
movd m2, r3 movd m2, r3d
movd m3, r4 movd m3, r4d
SPLATW m2, m2 SPLATW m2, m2
SPLATW m3, m3 SPLATW m3, m3
...@@ -178,8 +178,8 @@ cglobal rv40_weight_func_%1, 6, 7, %2 ...@@ -178,8 +178,8 @@ cglobal rv40_weight_func_%1, 6, 7, %2
.loop_512: .loop_512:
sar r3, 9 sar r3, 9
sar r4, 9 sar r4, 9
movd m2, r3 movd m2, r3d
movd m3, r4 movd m3, r4d
%if cpuflag(ssse3) %if cpuflag(ssse3)
punpcklbw m3, m2 punpcklbw m3, m2
SPLATW m3, m3 SPLATW m3, m3
......
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