mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-26 05:05:23 +00:00
update macOS baseline x86 CPU architecture to Ivy Bridge (#3929)
This commit is contained in:
parent
9c6a4316aa
commit
52b32c13e1
17
config.nims
17
config.nims
@ -82,12 +82,17 @@ if defined(disableMarchNative):
|
|||||||
if defined(i386) or defined(amd64):
|
if defined(i386) or defined(amd64):
|
||||||
if defined(macosx):
|
if defined(macosx):
|
||||||
# https://support.apple.com/kb/SP777
|
# https://support.apple.com/kb/SP777
|
||||||
# "macOS Mojave - Technical Specifications": EOL as of 2021-10 so macOS
|
# "macOS Mojave - Technical Specifications": EOL as of 2021-10
|
||||||
# users on pre-Nehalem must be running either some Hackintosh, or using
|
# https://support.apple.com/kb/SP803
|
||||||
# an unsupported macOS version beyond that most recently EOL'd. Nehalem
|
# "macOS Catalina - Technical Specifications" lists current oldest
|
||||||
# supports instruction set extensions through SSE4.2 and POPCNT.
|
# supported models: MacBook Air (Mid 2012 or newer), MacBook Pro
|
||||||
switch("passC", "-march=nehalem")
|
# (Mid 2012 or newer), Mac mini (Late 2012 or newer), and iMac (Late 2012
|
||||||
switch("passL", "-march=nehalem")
|
# or newer). These all have Ivy Bridge CPUs or newer.
|
||||||
|
#
|
||||||
|
# This ensures AVX, AES, PCLMUL, FSGSBASE, RDRND, and F16C instruction
|
||||||
|
# set support.
|
||||||
|
switch("passC", "-march=ivybridge")
|
||||||
|
switch("passL", "-march=ivybridge")
|
||||||
else:
|
else:
|
||||||
switch("passC", "-mssse3")
|
switch("passC", "-mssse3")
|
||||||
switch("passL", "-mssse3")
|
switch("passL", "-mssse3")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user