资源描述:
《Intel编译器选项》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Intel编译器选项Linux*andMacOS*XWindows*Description-O3/O3Enablesaggressiveoptimizationforcodespeed.Recommendedforcodewithloopsthatperformsubstantialcalculationsorprocesslargedatasets.Enables-O2(LinuxandMacOSX)or/O2(Windows)optimizations,aswellasmoreaggressiveoptimizations,includingprefetc
2、hing,scalarreplacement,cacheblocking,andloopandmemoryaccesstransformations.Ascomparedto-O2(Linux)or/O2(Windows),theoptimizationsenabledbythisoptionoftenresultinfasterprogramexecution,butcanslowdowncodeexecutioninsomecases.Usingthisoptionmayresultinlongercompilationtimes.当循环中处理大量floa
3、t运算或是大数据集时,使用该选项-O2(or-O)/O2Affectscodespeed.Thisisthedefaultoption;thecompilerusesthisoptimizationlevelifyoudonotspecifyanything.Thisoptionenablesthefollowingcapabilitiesforperformancegain:inliningintrinsicfunctions,constantpropagation,copypropagation,dead-codeelimination,globalreg
4、isterallocation,globalinstructionschedulingandcontrolspeculation,loopunrolling,optimizedcodeselection,partialredundancyelimination,strengthreduction/inductionvariablesimplification,variablerenaming,exceptionhandlingoptimizations,tailrecursions,peepholeoptimizations,structureassignme
5、ntloweringoptimizations,anddeadstoreelimination.ForIA-32andIntel64architectures:·Enablescertainoptimizationsforspeed,suchasvectorization.-O1/O1Affectscodesizeandlocality.Disablesspecificoptimizations.-fast/fastEnablesacollectionofcommon,recommendedoptimizationsforrun-timeperformance
6、.Canintroducearchitecturedependency.-O0/OdDisablesoptimization.Usethisforrapidcompilationwhiledebugginganapplication.LinuxOSandMacOSXWindowsOSDescription-axSSE4.2/QaxSSE4.2CangenerateIntel®SSE4EfficientAcceleratedStringandTextProcessinginstructionssupportedbyIntel®Core™i7processors.
7、CangenerateIntel®SSE4VectorizingCompilerandMediaAccelerator,Intel®SSSE3,SSE3,SSE2,andSSEinstructionsanditcanoptimizefortheIntel®Core™processorfamily.-axSSE4.1/QaxSSE4.1CangenerateIntel®SSE4VectorizingCompilerandMediaAcceleratorinstructionsforIntelprocessors.CangenerateIntel®SSSE3,SS
8、E3,SSE2,andSSEinstr