lzy0702
帖子: 11
注册时间: 2010-10-19 0:14

如何用icl编译x264

环境:Win7 x64+VS2010+Intel Parallel Studio XE 2011
如何编译当前版本的x264
网上搜到的教程都是针对2009年的版本的
另外icl编译的版本会比gcc的快多少?
头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

Re: 如何用icl编译x264

現在的x264已經將configure調整為可以直接使用icl了,所以基本上沒啥需要改動的步驟

1. 從ICL的命令行啟動msys(譬如開始菜單內Intel Parallel Studio XE->Command prompt)
2. 將使用的link.exe路徑從msys的/bin/改成MSVC的/bin/。方法很多,譬如直接把msys/bin/link.exe改名成msyslink.exe等等……
3. 正常configure,編譯

另外速度上我曾經試過基本沒有明顯變化(icl 12.0 vs gcc 4.5.2)。因為x264大量都是人肉asm的,沒啥可以讓icl做優化的。實際上很多測試裡icl編譯出來的速度還沒有gcc快,譬如這裡。所以當時我編譯出來玩玩之後就再也不用icl去編譯了……
つまんねー事聞くなよ!

I, personally, for me, believe (obviously sometimes) that my OS choice is right. That's me. I'm not telling you that you should believe it. Learn the facts, and the origins behind the facts, and make up your own damn mind. That's why you have one. (source)

Follow me: @06_taro

304——
为纪念伟大的宇宙史上最强压制304先生,联合国教科文组织决定,将每年的第304天,即平年的10月31日或者闰年的10月30日,定为世界304日。

回到 “视频编码器 / Video encoder discussion”