From 6f74fb03cde1266feea8882d5b672e827ad8f55b Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Wed, 6 Oct 2010 01:26:13 +0000 Subject: [PATCH] Check whether compiler supports xmm registers in asm clobber list Originally committed as revision 25362 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 4 ++++ libavutil/x86_cpu.h | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/configure b/configure index 7fa99da7c..607a18097 100755 --- a/configure +++ b/configure @@ -1074,6 +1074,7 @@ HAVE_LIST=" VirtualAlloc winsock2_h xform_asm + xmm_clobbers yasm " @@ -2585,6 +2586,9 @@ EOF check_asm ebx_available '""::"b"(0)' && check_asm ebx_available '"":::"%ebx"' + # check whether xmm clobbers are supported + check_asm xmm_clobbers '"":::"%xmm0"' + # check whether more than 10 operands are supported check_cc <