[FFmpeg-devel] [PATCH] configure: Silence EMMS warnings in ICC

Michael Niedermayer michaelni at gmx.at
Mon Mar 16 15:38:36 CET 2015


Real world MMX code does not put EMMS at the start and end of every function,
it would be incredibly inefficient to do that
thus do not warn about that

untested

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 configure |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index e7dce10..dcc48ff 100755
--- a/configure
+++ b/configure
@@ -5300,7 +5300,9 @@ if enabled icc; then
     # 10006: ignoring unknown option -fno-signed-zeros
     # 10148: ignoring unknown option -Wno-parentheses
     # 10156: ignoring option '-W'; no argument required
-    check_cflags -wd144,167,188,556,1292,1419,10006,10148,10156
+    # 13200: No EMMS instruction before call to function
+    # 13203: No EMMS instruction before return from function
+    check_cflags -wd144,167,188,556,1292,1419,10006,10148,10156,13200,13203
     # 11030: Warning unknown option --as-needed
     # 10156: ignoring option '-export'; no argument required
     check_ldflags -wd10156,11030
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list