Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2017 17:27:14 +0100
From:      Andrew Turner <andrew@fubar.geek.nz>
To:        John Baldwin <jhb@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r323580 - in head/sys/arm: arm include
Message-ID:  <5678B08C-F4FD-474C-A3F2-8B4C8973FC22@fubar.geek.nz>
In-Reply-To: <2385698.hFNfOSpqlD@ralph.baldwin.cx>
References:  <201709141430.v8EEUieQ045691@repo.freebsd.org> <2385698.hFNfOSpqlD@ralph.baldwin.cx>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5678B08C-F4FD-474C-A3F2-8B4C8973FC22>