On Thu, Jul 21, 2016 at 11:30 PM, Jim Wilson jim.wilson@linaro.org wrote:
On Thu, Jul 21, 2016 at 6:33 PM, Jeffrey Walton noloader@gmail.com wrote:
I think vfpd32 cpu flag means I have 32 D-registers. The cpu flags neon and vfpv3 flags means I want something more than -mfpu=neon-fp16, but I'm not sure what that is.
neon implies vfvp3 and 32 D-registers and asimd/neon support, so that part is correct. it isn't obvious to me if you have the half-precision float support. The "half" printed by the kernel means that half-word loads are supported, which is only false for some obsolete parts I think. The kernel doesn't appear to be checking to see if the hardware has half-precision float support or not, so you can't determine that from /proc/cpuinfo.
Thanks Jim.
Is there an arm-msr-tools or similar that has setuid so we can access the MSRs?
My thinking is, I can tell people to install arm-msr-tools so we can query for the features directly. I want to avoid telling people to run a test script as root.
Jeff