程序与编译器组合优化方法 .pptVIP

  • 6
  • 0
  • 约1.64万字
  • 约 14页
  • 2018-05-05 发布于福建
  • 举报
程序与编译器组合优化方法

The main point here is to avoid pointing to the same memory location with two different pointers if possible. Generally, the more human readable the code the better. Using Array references rather than pointer arithmetic is cleaner and generally more readable and therefore less prone to memory aliasing. * Pointer disambiguation is assuring the compiler that two pointers to memory do not overlap or point to the same memory address. When two pointers do point to the same memory address they are said to be “aliased” or to be ambiguous. The compiler must be much more conservative in optimizations

文档评论(0)

1亿VIP精品文档

相关文档