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

--- Comment #4 from Wojciech Mula <wojciech_mula at poczta dot onet.pl> ---
Although, there's no word-wise set for equality, thus I think this sequence
would be better.

```
        lbu     a0, 1(a1)
        lbu     a2, 0(a1)
        lbu     a3, 2(a1)
        lb      a1, 3(a1)
        xori    a0, a0, 'z'
        xori    a2, a2, 'g'
        xori    a3, a3, 'i'
        xori    a1, a1, 'p'
        or      a0, a0, a2
        or      a1, a1, a3
        or      a0, a0, a1
        seqz    a0, a0
```

Reply via email to