svn commit: r323580 - in head/sys/arm: arm include
Andrew Turner
andrew at fubar.geek.nz
Thu Sep 14 16:27:23 UTC 2017
> On 14 Sep 2017, at 15:54, John Baldwin <jhb at freebsd.org> wrote:
>
> On Thursday, September 14, 2017 02:30:44 PM John Baldwin wrote:
>> Author: jhb
>> Date: Thu Sep 14 14:30:43 2017
>> New Revision: 323580
>> URL: https://svnweb.freebsd.org/changeset/base/323580
>>
>> Log:
>> Add AT_HWCAP flags for VFP settings for FreeBSD/arm.
>>
>> These flags match the meaning and value of flags in Linux, though
>> Linux has many more flags.
>>
>> Reviewed by: stevek, Michal Meloun <meloun-miracle-cz> (earlier version)
>> MFC after: 1 month
>> Differential Revision: https://reviews.freebsd.org/D12291
>
> It would probably be good to add HWCAP_NEON if someone knows the right things
> to check to detect it.
You’ll need to check the mvfr1 register for it. Linux checks the A_SIMD SPFP, A_SIMD integer, and A_SIMD load/store fields are all 1.
Andrew
More information about the svn-src-head
mailing list