From 26f01bd106f62ffe501a9baf609c476051d919da Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 15 Jul 2012 17:43:50 +0200 Subject: x86: PMINUB: port to cpuflags --- libavutil/x86/x86util.asm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libavutil') diff --git a/libavutil/x86/x86util.asm b/libavutil/x86/x86util.asm index 761cea0a8e..ca0041acf7 100644 --- a/libavutil/x86/x86util.asm +++ b/libavutil/x86/x86util.asm @@ -530,14 +530,14 @@ movh [%7+%8], %4 %endmacro -%macro PMINUB_MMX 3 ; dst, src, tmp +%macro PMINUB 3 ; dst, src, ignored +%if cpuflag(mmxext) + pminub %1, %2 +%else ; dst, src, tmp mova %3, %1 psubusb %3, %2 psubb %1, %3 -%endmacro - -%macro PMINUB_MMXEXT 3 ; dst, src, ignored - pminub %1, %2 +%endif %endmacro %macro SPLATW 2-3 0 -- cgit v1.2.3