Add support for -march=sandybridge
HHVM's been building with this (or equivalent predecessor patches); it gets us a 20x speedup on real-world workloads, at the cost of slightly worse compatibility. This doesn't change the default, just makes it available as an explicit choice.
This commit is contained in:
parent
28f4a700ac
commit
10feb68128
@ -14,6 +14,7 @@ module Hardware
|
|||||||
@optimization_flags ||= {
|
@optimization_flags ||= {
|
||||||
native: arch_flag("native"),
|
native: arch_flag("native"),
|
||||||
nehalem: "-march=nehalem",
|
nehalem: "-march=nehalem",
|
||||||
|
sandybridge: "-march=sandybridge",
|
||||||
core2: "-march=core2",
|
core2: "-march=core2",
|
||||||
core: "-march=prescott",
|
core: "-march=prescott",
|
||||||
arm_vortex_tempest: "",
|
arm_vortex_tempest: "",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user