[U-Boot] How to use the NEON instruction at u-boot?

Måns Rullgård mans at mansr.com
Thu Nov 11 09:17:19 CET 2010


Kyungmin Park <kmpark at infradead.org> writes:

> Hi,
>
> Now I'm trying to use the NEON instruction at u-boot. but it's failed
> and got the data abort.
> Are there any way to use the NEON instruction at u-boot?

No, just like you can't use floating-point.

> The main purpose is to use the neon memcpy as below.
>
>         bge         1f
>         // copies 4 bytes, destination 32-bits aligned
>         vld4.8      {d0[0], d1[0], d2[0], d3[0]}, [r1]!
>         vst4.8      {d0[0], d1[0], d2[0], d3[0]}, [r0, :32]!
> 1:      bcc         2f

Plain LDR/STR will be just as fast as that.

-- 
Måns Rullgård
mans at mansr.com



More information about the U-Boot mailing list