aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/rv40dsp.asm
diff options
context:
space:
mode:
authorHenrik Gramner <henrik@gramner.com>2024-03-16 16:39:37 +0100
committerHenrik Gramner <henrik@gramner.com>2024-03-24 14:53:57 +0100
commitafa471d0efed1df5dca6eeeb2fcdd211ae4cad4e (patch)
treedb94cecfd1fe1cb5951773461f0d7d93526f0d10 /libavcodec/x86/rv40dsp.asm
parent782c4df28dc91a2b5160fe7a35ad18541e8c5029 (diff)
downloadffmpeg-afa471d0efed1df5dca6eeeb2fcdd211ae4cad4e.tar.gz
x86: Update x86inc.asm
Make things up-to-date with upstream. https://code.videolan.org/videolan/x86inc.asm
Diffstat (limited to 'libavcodec/x86/rv40dsp.asm')
-rw-r--r--libavcodec/x86/rv40dsp.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/x86/rv40dsp.asm b/libavcodec/x86/rv40dsp.asm
index e3c37dd297..dc520dbeb4 100644
--- a/libavcodec/x86/rv40dsp.asm
+++ b/libavcodec/x86/rv40dsp.asm
@@ -51,7 +51,7 @@ sixtap_filter_v_m: times 8 dw 1
times 8 dw 20
times 8 dw 52
-%ifdef PIC
+%if PIC
%define sixtap_filter_hw picregq
%define sixtap_filter_hb picregq
%define sixtap_filter_v picregq
@@ -84,7 +84,7 @@ SECTION .text
%if WIN64
movsxd %1q, %1d
%endif
-%ifdef PIC
+%if PIC
add %1q, picregq
%else
add %1q, %2
@@ -104,7 +104,7 @@ SECTION .text
%macro FILTER_V 1
cglobal %1_rv40_qpel_v, 6,6+npicregs,12, dst, dststride, src, srcstride, height, my, picreg
-%ifdef PIC
+%if PIC
lea picregq, [sixtap_filter_v_m]
%endif
pxor m7, m7
@@ -175,7 +175,7 @@ cglobal %1_rv40_qpel_v, 6,6+npicregs,12, dst, dststride, src, srcstride, height,
%macro FILTER_H 1
cglobal %1_rv40_qpel_h, 6, 6+npicregs, 12, dst, dststride, src, srcstride, height, mx, picreg
-%ifdef PIC
+%if PIC
lea picregq, [sixtap_filter_v_m]
%endif
pxor m7, m7
@@ -238,7 +238,7 @@ FILTER_V avg
%macro FILTER_SSSE3 1
cglobal %1_rv40_qpel_v, 6,6+npicregs,8, dst, dststride, src, srcstride, height, my, picreg
-%ifdef PIC
+%if PIC
lea picregq, [sixtap_filter_hb_m]
%endif
@@ -283,7 +283,7 @@ cglobal %1_rv40_qpel_v, 6,6+npicregs,8, dst, dststride, src, srcstride, height,
RET
cglobal %1_rv40_qpel_h, 6,6+npicregs,8, dst, dststride, src, srcstride, height, mx, picreg
-%ifdef PIC
+%if PIC
lea picregq, [sixtap_filter_hb_m]
%endif
mova m3, [filter_h6_shuf2]