Enable inline asm in intel compiler on windows.
authorMatt Oliver <protogonoi@gmail.com>
Sat, 3 May 2014 09:37:53 +0000 (19:37 +1000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 4 May 2014 01:26:40 +0000 (03:26 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
configure

index dd7ac79..32ea79f 100755 (executable)
--- a/configure
+++ b/configure
@@ -4989,10 +4989,11 @@ elif enabled_any msvc icl; then
         # (correctly) on icl 13.x.
         check_cpp_condition "windows.h" "__ICL < 1300 || __ICL >= 1400" &&
             add_cflags -Qansi-alias
-        # icl will pass the inline asm tests but inline asm is currently
-        # not supported (build will fail)
-        disabled inline_asm || warn "inline asm disabled due to issues with it in ICL"
-        disable inline_asm
+        # Some inline asm is not compilable in debug
+        if enabled debug; then
+            disable ebp_available
+            disable ebx_available
+        fi
     fi
 fi