[aarch64-port-dev ] Help with SIMD for string_compare

Andrew Haley aph at redhat.com
Wed May 18 17:42:53 UTC 2016


On 05/18/2016 06:25 PM, Pinski, Andrew wrote:
> What about doing addv (adding across lanes) and then seeing if that result is zero.
> Something like:
> addv h0, v0.8h
> mov w0, s0
> cbnz w0, diff

Mmm, but that mov w0, so has a long latency.  How about

addv h0, v0.8h
fcmp s0, #0.0
bne ...

Andrew.



More information about the aarch64-port-dev mailing list