[FFmpeg-devel] [PATCH]Use -parallel when compiling with icc

Carl Eugen Hoyos cehoyos
Tue Jan 20 03:25:16 CET 2009


Hi!

Intel recommends using -parallel as a possible optimization and attached 
patch increases performance on my dual-core cpu by about 1 percent.

Please comment, Carl Eugen
-------------- next part --------------
Index: configure
===================================================================
--- configure	(revision 16688)
+++ configure	(working copy)
@@ -2086,6 +2086,10 @@
   check_ldflags -wd10156,11030
   # Allow to compile with optimizations
   check_ldflags -march=$cpu
+  # Use -parallel option, as recommended by Intel, but keep quiet about it
+  check_cflags -parallel
+  check_cflags -par-report=0
+  check_ldflags -parallel
 fi
 
 # PIC flags for shared library objects where they are needed



More information about the ffmpeg-devel mailing list