[MPlayer-dev-eng] MPlayer and gcc ia32 intrinsics

Guillaume Poirier gpoirier at mplayerhq.hu
Thu Apr 27 15:22:57 CEST 2006


Hi,

Zuxy Meng wrote:

[..]

> Intrinsics produce as good code as inline asm, and it's (IMHO) easier
> to read and maintain. Besides, codes written by intrinsics may get
> optimized even more when compiled in x86_64 because of more xmm
> registers. I personally encourage the use of intrinsics in future cpu
> specific routines.

You are not the only one who emphasis it, this papers says the same as
you: http://www.cri.ensmp.fr/classement/doc/A-373.pdf
It just so happen that GCC (on this paper, gcc 4.1) produces better
code with intrisics than ICC (9.0), which is IMHO quite an achievement.

Guillaume




More information about the MPlayer-dev-eng mailing list