欢迎来到天天文库
浏览记录
ID:8816420
大小:17.78 KB
页数:2页
时间:2018-04-08
《arm编译器性能对比》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、ARM编译器性能对比--[ARMcompilershoot-out]--[一]2009年8月5日阅读评论发表评论转自这里:http://hardwarebug.org/2009/08/05/arm-compiler-shoot-out/ RVCT作为商业工具果然名不虚传,完胜所有GCC编译器。FSF的GCC性能最差没什么奇怪的,但是4.4.1比4.3.3慢就很难理解了,不知道作者有没有测过GCC3和GCC4之间的差距.ApropercomparisonofdifferentcompilerstargetingARMislongoverdue,soIdeci
2、dedtodomypart.Icompiled FFmpeg usingaselectionofcompilers,andmeasuredthespeedoftheresultwhendecodingvariousmediasamples.Sincewearetestingcompilers,Idisabledallhand-writtenassembler.Thetestswererunona Beagleboardclockedat600MHz.ThesearethecompilersIdeemedworthytoparticipateinthetes
3、tandtheoptimisationflagsIusedwitheach:·GCC4.3.3,-mfpu=neon-mfloat-abi=softfp-mcpu=cortex-a8-std=c99-fomit-frame-pointer-O3-fno-math-errno-fno-signed-zeros-fno-tree-vectorize·GCC4.4.1,-mfpu=neon-mfloat-abi=softfp-mcpu=cortex-a8-std=c99-fomit-frame-pointer-O3-fno-math-errno-fno-sign
4、ed-zeros-fno-tree-vectorize·CodeSourceryGCC2007q3 (basedon4.2.1), -mfpu=neon-mfloat-abi=softfp-mcpu=cortex-a8-std=c99-fomit-frame-pointer-O3-fno-math-errno-fno-tree-vectorize·CodeSourceryGCC2009q1 (basedon4.3.3),-mfpu=neon-mfloat-abi=softfp-mcpu=cortex-a8-std=c99-fomit-frame-point
5、er-O3-fno-math-errno-fno-signed-zeros-fno-tree-vectorize·ARMRVCT4.0Build591,-mfpu=neon-mfloat-abi=softfp-mcpu=cortex-a8-std=c99-fomit-frame-pointer-O3-fno-math-errno-fno-signed-zerosIwouldhavealsoincludedtheARMcompilerfromTexasInstruments,haditbeenabletocompileFFmpeg.Withsamplefil
6、eschosentoexercisevarioustypesofcode,theresultofthetestis,sadly,nosurprise.ThefollowingtableliststhespeedofthedifferentbuildsrelativetotheCodeSourcery2007q3build.SamplenameCodecCodetype2009q14.3.34.4.1RVCTcathedralH.264 CABACinteger0.971.021.090.93NeroAVCH.264 CABACinteger0.981.02
7、1.120.95indiana_jones_4H.264 CAVLCinteger0.971.021.090.89NeroRecodeSampleMPEG-4 ASPinteger0.961.031.270.96Silent_LightMP364-bit integer0.890.880.970.44When_I_Grow_UpFLACinteger0.980.980.930.86Lumme-BadloopVorbisfloat1.031.031.020.97CanyonAC-3float1.021.020.990.90lotrDTSfloat1.021.
8、021.001.03Lookingatthistable,Imak
此文档下载收益归作者所有