https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128938

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Note aarch64 on the trunk is decent:
```
        ldr     d30, [x1]
        sub     v30.8b, v31.8b, v30.8b // V8QI subtraction
        uaddlv  h31, v30.8b // reduction
        fmov    w4, s31
.L2:
        ldrb    w3, [x0, x2]
        ldrb    w5, [x1, x2]
        add     x2, x2, 1
        sub     w3, w3, w5
        add     w4, w4, w3, uxtb
        cmp     x2, 13
        bne     .L2
```

But if we used `signed char` (or -fsigned-char) there the code is bad again.  I
will file that as a seperate bug ...

Reply via email to