Is neon enabled in the kernel configuration?

If the kernel is not configured for NEON, then the NEON instructions are
disabled.

On 2 June 2016 at 21:32, Thomas <[email protected]> wrote:

>
>
> On Monday, December 8, 2014 at 2:08:23 AM UTC-8, David wrote:
>>
>>
>> I am poritng android 5.0 to our hardware. The boot is OK and we can boot
>> into Launcher.
>>
>> Problem we have is when we execute some native program in console, kernel
>> log show "undefined instruction" like:
>>
>>  # /system/bin/wm
>> [  953.473988] app_process (1557): undefined instruction: pc=b6ab9848
>> [  953.480384] Code: e320f000 e320f000 f26001f0 e12fff1e (ec510f1e)
>> usage: wm [subcommand] [options]
>>        wm size [reset|WxH]
>>        wm density [reset|DENSITY]
>>        wm overscan [reset|LEFT,TOP,RIGHT,BOTTOM]
>>
>>
>> After a short search, we find the code is in
>> external/openssl/armv4cpuid.S
>>
>> #include "arm_arch.h"
>>
>>
>>
>>
>>
>> .text    .code   32
>>
>>
>>
>>
>>
>> .align  5
>>
>>
>> .global _armv7_neon_probe
>>
>>
>> .type   _armv7_neon_probe,%function
>>
>>
>> _armv7_neon_probe:
>>
>>
>>         .byte   0xf0,0x01,0x60,0xf2     @ vorr  q8,q8,q8
>>
>>
>>         .byte   0x1e,0xff,0x2f,0xe1     @ bx    lr
>>
>>
>> .size   _armv7_neon_probe,.-_armv7_neon_probe
>>
>>
>>
>>
>>
>> Our CPU is ARMv7 , this institution should be supported. Even we change
>> this function to Android 4.4 version still get similar message.
>>
>> Any one have the same experience?
>>
>> Hello David, I am also having an issue with the undefined instruction
> issue. When I try to start my phone it shows that endlessly and it is
> currently at 400,000
>
> --
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting
>
> ---
> You received this message because you are subscribed to the Google Groups
> "android-porting" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Ben Dooks, http://www.fluff.org/ben/ [email protected]

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to