nasm: match instruction length (movd/movq) to parameters
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 4 Oct 2010 21:19:33 +0000 (23:19 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 4 Oct 2010 21:36:29 +0000 (23:36 +0200)
commite114f699f654235e05fb1bbd605c35708890d8b8
treeded9f2c36975e6a53f0fdc7dd9a0f2af90588952
parent2d4ef37507a851f4c511e227b76a203627d06f15
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
vp8/common/x86/iwalsh_mmx.asm
vp8/decoder/x86/dequantize_mmx.asm
vp8/encoder/x86/encodeopt.asm
vp8/encoder/x86/quantize_mmx.asm
vp8/encoder/x86/sad_mmx.asm
vp8/encoder/x86/sad_sse2.asm
vp8/encoder/x86/sad_sse3.asm
vp8/encoder/x86/variance_impl_mmx.asm
vp8/encoder/x86/variance_impl_sse2.asm
vpx_ports/x86_abi_support.asm