OSX commercial blds, generate i686 instructions
For OSX commercial builds, instruct the gcc compiler to produce i686 (CPU) instructions. This is needed to support an upstream PostgreSQL merge which uses atomic instructions introduced in one of those later CPUs. Previously, there was no autoconf test for those instructions, and we just compiled hand-crafted assembly to use those instructions anyway, even though the rest of the compiler was targeting the older cpus. reference: https://wiki.gentoo.org/wiki/GCC_optimization#-march Different CPUs have different capabilities, support different instruction sets, and have different ways of executing code. The -march flag will instruct the compiler to produce specific code for the system's CPU, with all its capabilities, features, instruction sets, quirks, and so on.
Showing
想要评论请 注册 或 登录