diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-07-15 17:43:50 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-11-02 15:38:15 +0100 |
commit | 26f01bd106f62ffe501a9baf609c476051d919da (patch) | |
tree | f59c0a9950d8003282fd203884d43ca75065d4a7 /libavutil | |
parent | 9ce02e14f01de50fcc6f7f459544b140be66d615 (diff) | |
download | ffmpeg-26f01bd106f62ffe501a9baf609c476051d919da.tar.gz |
x86: PMINUB: port to cpuflags
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/x86/x86util.asm | 10 |
1 files changed, 5 insertions, 5 deletions
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 |