> On 14 Sep 2017, at 15:54, John Baldwin <j...@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 

_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to