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

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2025-07-30
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #5 from Segher Boessenkool <segher at gcc dot gnu.org> ---
(In reply to Steven Munroe from comment #1)
> test_slqi_char_110_V5:
>       xxspltib 32,110
>       vslo 2,2,0
>       vsl 2,2,0
>       blr
>       
> Finally we have a reasonable result that should have been possible with
> simple vec_splats((unsigned char)110)!

But vslo in GCC is an unspec, so it won't be optimised unless we go some extra
miles.  Luckily we could just write it in normal RTL though, and then it will
be optimised away perfectly!  (I hope).

Looking at this I see not only is vsro an unspec as well, but even vsr is!
Why is that?

Reply via email to