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

Måns Rullgård mans
Tue Jan 20 01:32:13 CET 2009


Carl Eugen Hoyos <cehoyos at rainbow.studorg.tuwien.ac.at> writes:

> 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
>
> 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

What effect does that flag have?

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list