changeset 32360:227e6a7033c4

Add xmm clobbers test for FFmpeg.
author diego
date Thu, 07 Oct 2010 12:25:29 +0000
parents 3f8dcfb95845
children e7a1376d9fff
files configure
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Wed Oct 06 17:37:50 2010 +0000
+++ b/configure	Thu Oct 07 12:25:29 2010 +0000
@@ -2743,6 +2743,15 @@
 echo 'bswap %eax' > $TMPS
 $_as $TMPS -o $TMPEXE > /dev/null 2>&1 && def_bswap='#define HAVE_BSWAP 1' && bswap=yes || bswap=no
 echores "$bswap"
+
+
+echocheck "xmm clobbers"
+def_xmm_clobbers='#define HAVE_XMM_CLOBBERS 0'
+inline_asm_check '"":::"%xxxmm0"' &&
+  def_xmm_clobbers='#define HAVE_XMM_CLOBBERS 1' &&
+  xmm_clobbers=yes || xmm_clobbers=no
+echores "$xmm_clobbers"
+
 fi #if x86
 
 
@@ -8705,6 +8714,7 @@
 $def_threads
 $def_truncf
 $def_xform_asm
+$def_xmm_clobbers
 $def_yasm
 
 #define CONFIG_FASTDIV 0