aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/x86/x86util.asm
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-10-09 23:52:03 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2011-10-21 10:13:05 -0400
commit4e8e2624767f4af0eaa932c543d072fed96fd586 (patch)
tree56c363bfc5cdff42c6346d883680d620826fde22 /libavutil/x86/x86util.asm
parent185142a5ea93ef723f70a3ea43797f6c8827eb79 (diff)
downloadffmpeg-4e8e2624767f4af0eaa932c543d072fed96fd586.tar.gz
fmtconvert: port int32_to_float_fmul_scalar() x86 inline asm to yasm
Diffstat (limited to 'libavutil/x86/x86util.asm')
-rw-r--r--libavutil/x86/x86util.asm12
1 files changed, 12 insertions, 0 deletions
diff --git a/libavutil/x86/x86util.asm b/libavutil/x86/x86util.asm
index 7e16c15db2..874443a2ef 100644
--- a/libavutil/x86/x86util.asm
+++ b/libavutil/x86/x86util.asm
@@ -536,6 +536,18 @@
%endif
%endmacro
+%macro SPLATD_MMX 1
+ punpckldq %1, %1
+%endmacro
+
+%macro SPLATD_SSE 1
+ shufps %1, %1, 0
+%endmacro
+
+%macro SPLATD_SSE2 1
+ pshufd %1, %1, 0
+%endmacro
+
%macro CLIPW 3 ;(dst, min, max)
pmaxsw %1, %2
pminsw %1, %3