diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-10-04 23:19:33 +0200 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-10-04 23:36:29 +0200 |
commit | e114f699f654235e05fb1bbd605c35708890d8b8 (patch) | |
tree | ded9f2c36975e6a53f0fdc7dd9a0f2af90588952 /vp8/encoder/x86/sad_sse3.asm | |
parent | 2d4ef37507a851f4c511e227b76a203627d06f15 (diff) | |
download | libvpx-e114f699f654235e05fb1bbd605c35708890d8b8.tar libvpx-e114f699f654235e05fb1bbd605c35708890d8b8.tar.gz libvpx-e114f699f654235e05fb1bbd605c35708890d8b8.tar.bz2 libvpx-e114f699f654235e05fb1bbd605c35708890d8b8.zip |
nasm: match instruction length (movd/movq) to parameters
nasm requires the instruction length (movd/movq) to match to its
parameters. I find it more clear to really use 64bit instructions when
we use 64bit registers in the assembly.
Provide nasm compatibility. No binary change by this patch with yasm on
{x86_64,i686}-fedora13-linux-gnu. Few longer opcodes with nasm on
{x86_64,i686}-fedora13-linux-gnu have been checked as safe.
Change-Id: Id9b1a5cdfb1bc05697e523c317a296df43d42a91
Diffstat (limited to 'vp8/encoder/x86/sad_sse3.asm')
-rw-r--r-- | vp8/encoder/x86/sad_sse3.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vp8/encoder/x86/sad_sse3.asm b/vp8/encoder/x86/sad_sse3.asm index c2a1ae70a..b12c81562 100644 --- a/vp8/encoder/x86/sad_sse3.asm +++ b/vp8/encoder/x86/sad_sse3.asm @@ -530,7 +530,7 @@ sym(vp8_sad16x16_sse3): vp8_sad16x16_sse3_loop: - movd rax, mm7 + movq rax, mm7 cmp rax, arg(4) jg vp8_sad16x16_early_exit @@ -564,7 +564,7 @@ vp8_sad16x16_sse3_loop: cmp rsi, rcx jne vp8_sad16x16_sse3_loop - movd rax, mm7 + movq rax, mm7 vp8_sad16x16_early_exit: |