summaryrefslogtreecommitdiff
path: root/vp8/encoder/x86/variance_impl_sse2.asm
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-10-04 23:18:58 +0200
committerJohn Koleszar <jkoleszar@google.com>2010-10-04 19:47:54 -0400
commit5cdc3a4c29c5da43a4c346d57932c1c46068abec (patch)
treea3b6514c0d6bd8133c9b9c9e462cbcda2ee991e7 /vp8/encoder/x86/variance_impl_sse2.asm
parente114f699f654235e05fb1bbd605c35708890d8b8 (diff)
downloadlibvpx-5cdc3a4c29c5da43a4c346d57932c1c46068abec.tar
libvpx-5cdc3a4c29c5da43a4c346d57932c1c46068abec.tar.gz
libvpx-5cdc3a4c29c5da43a4c346d57932c1c46068abec.tar.bz2
libvpx-5cdc3a4c29c5da43a4c346d57932c1c46068abec.zip
nasm: address labels 'rel label' vice 'wrt rip'
nasm does not support `label wrt rip', it requires `rel label'. It is still fully compatible with yasm. 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: I488773a4e930a56e43b0cc72d867ee5291215f50
Diffstat (limited to 'vp8/encoder/x86/variance_impl_sse2.asm')
-rw-r--r--vp8/encoder/x86/variance_impl_sse2.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/vp8/encoder/x86/variance_impl_sse2.asm b/vp8/encoder/x86/variance_impl_sse2.asm
index 38b3f33ee..cefa0a956 100644
--- a/vp8/encoder/x86/variance_impl_sse2.asm
+++ b/vp8/encoder/x86/variance_impl_sse2.asm
@@ -532,7 +532,7 @@ sym(vp8_filter_block2d_bil_var_sse2):
pmullw xmm3, [rax+16] ;
paddw xmm1, xmm3 ;
- paddw xmm1, [xmm_bi_rd GLOBAL] ;
+ paddw xmm1, [GLOBAL(xmm_bi_rd)] ;
psraw xmm1, xmm_filter_shift ;
movdqa xmm5, xmm1
@@ -554,7 +554,7 @@ filter_block2d_bil_var_sse2_loop:
pmullw xmm3, [rax+16] ;
paddw xmm1, xmm3 ;
- paddw xmm1, [xmm_bi_rd GLOBAL] ;
+ paddw xmm1, [GLOBAL(xmm_bi_rd)] ;
psraw xmm1, xmm_filter_shift ;
movdqa xmm3, xmm5 ;
@@ -565,7 +565,7 @@ filter_block2d_bil_var_sse2_loop:
pmullw xmm1, [rdx+16] ;
paddw xmm1, xmm3 ;
- paddw xmm1, [xmm_bi_rd GLOBAL] ;
+ paddw xmm1, [GLOBAL(xmm_bi_rd)] ;
psraw xmm1, xmm_filter_shift ;
movq xmm3, QWORD PTR [rdi] ;