ref: 124ada514b04f8219655e52f087ec94170bfe111
parent: fe7cabe8b6ef9d2d16c25eb3de15d856d7fd8ace
author: Johann <[email protected]>
date: Tue Jul 28 10:00:32 EDT 2015
Don't use 'h' for functions using x86inc.asm In newer version of x86inc.asm 'h' is used as a modifier for register names. Change-Id: Ie5b9dd2f91ecdc8f6f18b2701b6dc23042b604e4
--- a/vpx_dsp/x86/highbd_subpel_variance_impl_sse2.asm
+++ b/vpx_dsp/x86/highbd_subpel_variance_impl_sse2.asm
@@ -111,7 +111,7 @@
cglobal highbd_sub_pixel_variance%1xh, 7, 8, 13, src, src_stride, x_offset, \
y_offset, dst, dst_stride, height, sse
%endif
- %define h heightd
+ %define block_height heightd
%define bilin_filter sseq
%else
%if ARCH_X86=1 && CONFIG_PIC=1
@@ -121,7 +121,7 @@
dst, dst_stride, \
sec, sec_stride, \
height, sse, g_bilin_filter, g_pw_8
- %define h dword heightm
+ %define block_height dword heightm
%define sec_str sec_stridemp
; Store bilin_filter and pw_8 location in stack
@@ -139,7 +139,7 @@
cglobal highbd_sub_pixel_variance%1xh, 7, 7, 13, src, src_stride, \
x_offset, y_offset, dst, dst_stride, height, \
sse, g_bilin_filter, g_pw_8
- %define h heightd
+ %define block_height heightd
; Store bilin_filter and pw_8 location in stack
GET_GOT eax
@@ -162,16 +162,16 @@
sec, sec_stride, \
height, sse
%if ARCH_X86_64
- %define h heightd
+ %define block_height heightd
%define sec_str sec_strideq
%else
- %define h dword heightm
+ %define block_height dword heightm
%define sec_str sec_stridemp
%endif
%else
cglobal highbd_sub_pixel_variance%1xh, 7, 7, 13, src, src_stride, \
x_offset, y_offset, dst, dst_stride, height, sse
- %define h heightd
+ %define block_height heightd
%endif
%define bilin_filter bilin_filter_m
@@ -183,7 +183,7 @@
pxor m7, m7 ; sse
%if %1 < 16
- sar h, 1
+ sar block_height, 1
%endif
%if %2 == 1 ; avg
shl sec_str, 1
@@ -232,7 +232,7 @@
add secq, sec_str
%endif
%endif
- dec h
+ dec block_height
jg .x_zero_y_zero_loop
STORE_AND_RET
@@ -283,7 +283,7 @@
add secq, sec_str
%endif
%endif
- dec h
+ dec block_height
jg .x_zero_y_half_loop
STORE_AND_RET
@@ -381,7 +381,7 @@
add secq, sec_str
%endif
%endif
- dec h
+ dec block_height
jg .x_zero_y_other_loop
%undef filter_y_a
%undef filter_y_b
@@ -439,7 +439,7 @@
add secq, sec_str
%endif
%endif
- dec h
+ dec block_height
jg .x_half_y_zero_loop
STORE_AND_RET
@@ -510,7 +510,7 @@
add secq, sec_str
%endif
%endif
- dec h
+ dec block_height
jg .x_half_y_half_loop
STORE_AND_RET
@@ -626,7 +626,7 @@
add secq, sec_str
%endif
%endif
- dec h
+ dec block_height
jg .x_half_y_other_loop
%undef filter_y_a
%undef filter_y_b
@@ -725,7 +725,7 @@
add secq, sec_str
%endif
%endif
- dec h
+ dec block_height
jg .x_other_y_zero_loop
%undef filter_x_a
%undef filter_x_b
@@ -855,7 +855,7 @@
add secq, sec_str
%endif
%endif
- dec h
+ dec block_height
jg .x_other_y_half_loop
%undef filter_x_a
%undef filter_x_b
@@ -1022,7 +1022,7 @@
add secq, sec_str
%endif
%endif
- dec h
+ dec block_height
jg .x_other_y_other_loop
%undef filter_x_a
%undef filter_x_b
--- a/vpx_dsp/x86/subpel_variance_sse2.asm
+++ b/vpx_dsp/x86/subpel_variance_sse2.asm
@@ -127,7 +127,7 @@
cglobal sub_pixel_variance%1xh, 7, 8, 13, src, src_stride, x_offset, \
y_offset, dst, dst_stride, height, sse
%endif
- %define h heightd
+ %define block_height heightd
%define bilin_filter sseq
%else
%if ARCH_X86=1 && CONFIG_PIC=1
@@ -137,7 +137,7 @@
dst, dst_stride, \
sec, sec_stride, \
height, sse, g_bilin_filter, g_pw_8
- %define h dword heightm
+ %define block_height dword heightm
%define sec_str sec_stridemp
;Store bilin_filter and pw_8 location in stack
@@ -155,7 +155,7 @@
cglobal sub_pixel_variance%1xh, 7, 7, 13, src, src_stride, x_offset, \
y_offset, dst, dst_stride, height, sse, \
g_bilin_filter, g_pw_8
- %define h heightd
+ %define block_height heightd
;Store bilin_filter and pw_8 location in stack
GET_GOT eax
@@ -178,16 +178,16 @@
sec, sec_stride, \
height, sse
%if ARCH_X86_64
- %define h heightd
+ %define block_height heightd
%define sec_str sec_strideq
%else
- %define h dword heightm
+ %define block_height dword heightm
%define sec_str sec_stridemp
%endif
%else
cglobal sub_pixel_variance%1xh, 7, 7, 13, src, src_stride, x_offset, \
y_offset, dst, dst_stride, height, sse
- %define h heightd
+ %define block_height heightd
%endif
%define bilin_filter bilin_filter_m
@@ -201,7 +201,7 @@
; could perhaps use it for something more productive then
pxor m5, m5 ; dedicated zero register
%if %1 < 16
- sar h, 1
+ sar block_height, 1
%if %2 == 1 ; avg
shl sec_str, 1
%endif
@@ -267,7 +267,7 @@
%if %2 == 1 ; avg
add secq, sec_str
%endif
- dec h
+ dec block_height
jg .x_zero_y_zero_loop
STORE_AND_RET
@@ -339,7 +339,7 @@
%if %2 == 1 ; avg
add secq, sec_str
%endif
- dec h
+ dec block_height
jg .x_zero_y_half_loop
STORE_AND_RET
@@ -468,7 +468,7 @@
%if %2 == 1 ; avg
add secq, sec_str
%endif
- dec h
+ dec block_height
jg .x_zero_y_other_loop
%undef filter_y_a
%undef filter_y_b
@@ -539,7 +539,7 @@
%if %2 == 1 ; avg
add secq, sec_str
%endif
- dec h
+ dec block_height
jg .x_half_y_zero_loop
STORE_AND_RET
@@ -637,7 +637,7 @@
%if %2 == 1 ; avg
add secq, sec_str
%endif
- dec h
+ dec block_height
jg .x_half_y_half_loop
STORE_AND_RET
@@ -779,7 +779,7 @@
%if %2 == 1 ; avg
add secq, sec_str
%endif
- dec h
+ dec block_height
jg .x_half_y_other_loop
%undef filter_y_a
%undef filter_y_b
@@ -911,7 +911,7 @@
%if %2 == 1 ; avg
add secq, sec_str
%endif
- dec h
+ dec block_height
jg .x_other_y_zero_loop
%undef filter_x_a
%undef filter_x_b
@@ -1103,7 +1103,7 @@
%if %2 == 1 ; avg
add secq, sec_str
%endif
- dec h
+ dec block_height
jg .x_other_y_half_loop
%undef filter_x_a
%undef filter_x_b
@@ -1357,7 +1357,7 @@
%if %2 == 1 ; avg
add secq, sec_str
%endif
- dec h
+ dec block_height
jg .x_other_y_other_loop
%undef filter_x_a
%undef filter_x_b