Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD/earm and evbearmv7hf on Cubieboard 2



> On Jul 20, 2015, at 6:26 AM, Martin Husemann <martin%duskware.de@localhost> wrote:
> 
> On Mon, Jul 20, 2015 at 02:14:23PM +0100, Robert Swindells wrote:
>> There isn't a definition for TEMP_FAILURE_RETRY but the code around
>> this is trying to read /proc/cpuinfo to find out if the CPU supports
>> neon. We just return an empty string for reads of /proc/cpuinfo on ARM
>> so this won't work correctly even with a definition for
>> TEMP_FAILURE_RETRY.
> 
> Patch it to use syctl machdep.neon_present = 1.

That would be best and why I added it.

>> There is similar code in graphics/libjpeg-turbo that needs a way of
>> detecting whether to use the neon versions of functions or not.
>> 
>> It looks as if we don't define __ARM_NEON__ for earmv7hf which is one
>> of the things that libjpeg-turbo tests for.
> 
> Is it guaranteed that all armv7hf have NEON?

No.  hf only assures VFP.  Marvell armv7 CPUs don’t have NEON.




Home | Main Index | Thread Index | Old Index