24_编译器参数调优方法.pptVIP

  • 8
  • 0
  • 约1.37万字
  • 约 31页
  • 2017-08-14 发布于河南
  • 举报
General Optimizations /Od, -O0: disable optimizations /Zi, -g: Create Symbols /O1, -O1: Optimizes for speed without increasing code size – i.e. disables library function inlining /O2, -O2 – default – Optimize for speed /O3, -O3 – High-level optimizations Instruction Scheduling Schedule instructions to be optimal for specific processor instruction latencies and cache sizes Shift/Multiply Latency Pentium Shift has ~1x latency of adds Multiply has ~10x latency of adds Pentium Pro, II, and III Shift has ~1x latency of adds Multiply has ~3x latency of adds Pentium 4 (may change in future releases)

文档评论(0)

1亿VIP精品文档

相关文档