[U-Boot] How to use the NEON instruction at u-boot?
Kyungmin Park
kmpark at infradead.org
Thu Nov 11 09:31:23 CET 2010
2010/11/11 Måns Rullgård <mans at mansr.com>:
> 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.
I don't use the floating-point just use the 64 or 128 registers for memcpy.
>
>> 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.
I saw you patches and the result using neon is better than ARM optimized memcpy.
Now I used the ARM optimized memcpy. and try to find a better solution as NEON.
Thank you,
Kyungmin Park
>
> --
> Måns Rullgård
> mans at mansr.com
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
More information about the U-Boot
mailing list