diff options
author | Mans Rullgard <mans@mansr.com> | 2012-08-06 00:16:13 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-08-07 15:21:20 +0100 |
commit | 2b140a3d091de2bd54687df1b2aa6608549fb6ee (patch) | |
tree | 94a81581441df6d8c905f5802884738ff13fef0f /libavcodec/x86/rv40dsp.asm | |
parent | a3df4781f40869cd7766f46221412039cf54c1b7 (diff) |
x86: use 32-bit source registers with movd instruction
yasm tolerates mismatch between movd/movq and source register size,
adjusting the instruction according to the register. nasm is more
strict.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/x86/rv40dsp.asm')
-rw-r--r-- | libavcodec/x86/rv40dsp.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/rv40dsp.asm b/libavcodec/x86/rv40dsp.asm index ae740c213a..70c0c0400f 100644 --- a/libavcodec/x86/rv40dsp.asm +++ b/libavcodec/x86/rv40dsp.asm @@ -466,8 +466,8 @@ cglobal rv40_weight_func_%1_%2, 6, 7, 8 add r2, r6 neg r6 - movd m2, r3 - movd m3, r4 + movd m2, r3d + movd m3, r4d %ifidn %1,rnd %define RND 0 SPLATW m2, m2 |