[arch-dev-public] RFC: Use x86_64-v2 architecture

Allan McRae allan at archlinux.org
Wed Mar 3 08:45:10 UTC 2021


On 3/3/21 6:33 pm, NicoHood via arch-dev-public wrote:
> On 3/2/21 12:51 PM, Allan McRae via arch-dev-public wrote:
>> Hi all,
>>
>> A new RFC has been opened here:
>> https://gitlab.archlinux.org/archlinux/rfcs/-/merge_requests/2
>>
>> Summary:
>> Make -march=x86_64-v2 the default for our packages.  This assumes the
>> following instruction sets which are essentially available on all but
>> the oldest AMD CPUs:
>>
>> CMPXCHG16B, LAHF-SAHF, POPCNT, SSE3, SSE4.1, SSE4.2, SSSE3
>>
>> Please visit the above link for discussion.
>>
>> Allan
>>
> 
> Is there a way to test if my system supports those instructions?
> 
cat /proc/cpuinfo | grep sse4_2

If you have support for that, then the rest should be fine.

> Maybe a user poll can give us a better overview how many people are
> affected?

People who are affected have more motivation to answer than those who
are not.  Any poll would be meaningless.

A


More information about the arch-dev-public mailing list