Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Oct 2017 11:30:57 -0700
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-arm@freebsd.org
Cc:        Jan Beich <jbeich@freebsd.org>
Subject:   Re: AT_HWCAP support on aarch64
Message-ID:  <3317147.pUqZiAYRoN@ralph.baldwin.cx>
In-Reply-To: <mv4o-ovdt-wny@FreeBSD.org>
References:  <mv4o-ovdt-wny@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, October 19, 2017 02:04:46 AM Jan Beich wrote:
> armv6 and armv7 recently gained support to check NEON or VFP* at runtime.
> However, some ports want to take advantage of AES, CRC32, SHA1, SHA256
> acceleration on aarch64 as well.
> 
> Do you plan to support any HWCAP_* for AT_HWCAP on aarch64?
> 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223016
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223019 (ditto Chromium)
> http://elixir.free-electrons.com/linux/latest/source/arch/arm64/include/uapi/asm/hwcap.h

I think there is certainly a desire to do so, it should just be a matter of
populating a hwcap variable and setting it in sysentvec.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3317147.pUqZiAYRoN>