[prev in list] [next in list] [prev in thread] [next in thread]
List: netbsd-port-arm
Subject: Re: NetBSD/earm and evbearmv7hf on Cubieboard 2
From: Matt Thomas <matt () 3am-software ! com>
Date: 2015-07-20 18:08:36
Message-ID: 06E300C1-2051-42BF-994F-AC487C09B988 () 3am-software ! com
[Download RAW message or body]
> On Jul 20, 2015, at 6:26 AM, Martin Husemann <martin@duskware.de> 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.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic