現在的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日。