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



Martin Husemann 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.

Ok.

>> 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 idea, I was just hoping to prompt a suggestion on which test to use.

I'm rebuilding libjpeg-turbo to use sysctl now.

Robert Swindells


Home | Main Index | Thread Index | Old Index