Checking CPU capabilities

Herbert Laubner herbert at laubners.info
Sat Feb 2 16:56:54 UTC 2019


You could try

$ grep Features /var/run/dmesg.boot  | grep --colour -e AVX

Am 02.02.19 um 22:09 schrieb Mayuresh Kathe:
> On 2019-02-02 09:46 PM, Chris Hill wrote:
>> On Sat, 2 Feb 2019, Mayuresh Kathe wrote:
>>
>>> Under Linux it is `cat /proc/cpuinfo`
>>> Under Solaris it is `isainfo -v`
>>> What is it under FreeBSD 12?
>>
>> Something like
>>   $ grep Features /var/run/dmesg.boot
>> ...or am I missing something?
>
> I need to know if my processor supports AVX, AVX2, AVX-512, SIMD, etc.
> Would your approach give me that sort of information?
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list