aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/x86util.asm
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-02-10 12:20:36 -0500
committerRonald S. Bultje <rsbultje@gmail.com>2011-02-10 15:32:47 -0500
commitdda3f0ef48aa5c3b03566b60b6bf63211e1fe579 (patch)
tree0adb6558e2581beb7019d89998dd8d7ba210be65 /libavcodec/x86/x86util.asm
parentb4668274b944abae61759e796c5cc36ade510f24 (diff)
downloadffmpeg-dda3f0ef48aa5c3b03566b60b6bf63211e1fe579.tar.gz
Add x86-optimized versions of exponent_min().
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec/x86/x86util.asm')
-rw-r--r--libavcodec/x86/x86util.asm10
1 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/x86/x86util.asm b/libavcodec/x86/x86util.asm
index 7cabc70b31..b28a6198f7 100644
--- a/libavcodec/x86/x86util.asm
+++ b/libavcodec/x86/x86util.asm
@@ -434,3 +434,13 @@
movh [%7], %3
movh [%7+%8], %4
%endmacro
+
+%macro PMINUB_MMX 3 ; dst, src, tmp
+ mova %3, %1
+ psubusb %3, %2
+ psubb %1, %3
+%endmacro
+
+%macro PMINUB_MMXEXT 3 ; dst, src, ignored
+ pminub %1, %2
+%endmacro