https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119912
Avinash Jayakar <avinashd at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |avinashd at gcc dot gnu.org
--- Comment #1 from Avinash Jayakar <avinashd at gcc dot gnu.org> ---
The following is my understanding, please correct me if I am wrong:
In power8, we can use splat and shift for all constant upto word size and for
double and quad word those constants whose bit[5:7] are 0 (or constant &
0xFFFFFFFFFFFFF1F == constant) or if it is -1 can also be achieved.
In power9, as you mentioned xxspltib can be used for all constants, by doing
constant%(2^size(type)).