Hi. CLANG 10.0.1 from FreeBSD 12.2-RELEASE-p11 supports the following architectures, which I presume are all x86 based:
Of the couple of servers I have that are updated from source, I build world/kernel on each machine individually. Is it worth trying to build (on 64 bit x86) for the exact CPU the machine has? And is a CLANG architecture such as (for example) "ivybridge" actually i386, and therefore not relevant for a 64 bit system?
Tried hunting the big G for answers, but no luck. Since I have to build from source anyway, I'm curious whether I can improve efficiency by not having to support the oldest CPU. Thanks.
Code:
note: valid target CPU values are: nocona, core2, penryn, bonnell, atom, silvermont, slm, goldmont, goldmont-plus, tremont, nehalem, corei7, westmere, sandybridge, corei7-avx, ivybridge, core-avx-i, haswell, core-avx2, broadwell,
skylake, skylake-avx512, skx, cascadelake, cooperlake, cannonlake, icelake-client, icelake-server, tigerlake, knl, knm, k8, athlon64, athlon-fx, opteron, k8-sse3, athlon64-sse3, opteron-sse3, amdfam10, barcelona, btver1, btver2,
bdver1, bdver2, bdver3, bdver4, znver1, znver2, x86-64
Of the couple of servers I have that are updated from source, I build world/kernel on each machine individually. Is it worth trying to build (on 64 bit x86) for the exact CPU the machine has? And is a CLANG architecture such as (for example) "ivybridge" actually i386, and therefore not relevant for a 64 bit system?
Tried hunting the big G for answers, but no luck. Since I have to build from source anyway, I'm curious whether I can improve efficiency by not having to support the oldest CPU. Thanks.