x86: Fix up ssse3_pshufbv8qi splitter
authorJakub Jelinek <jakub@redhat.com>
Sun, 30 Aug 2020 12:15:45 +0000 (14:15 +0200)
committerJakub Jelinek <jakub@redhat.com>
Sun, 30 Aug 2020 12:15:45 +0000 (14:15 +0200)
commit44c677d1ebb24fb9137943afb6a9981d0b2c14ea
treecef34b10a8bfaca6289ab757e588942e93ddd8f2
parentdaba4a713e71eee7921df7a8040ea29032c1d0bc
x86: Fix up ssse3_pshufbv8qi splitter

The constant pool size optimization I was testing resulted in various ICEs
in gcc.target/i386/ testsuite, the problem is that the ssse3_pshufbv8qi
splitter emits invalid RTL, in V4SImode 0xf7f7f7f7 CONST_INTs shouldn't
appear, instead they should have been -0x8080809 (0xf7f7f7f7 sign extended
into 64 bits).

2020-08-30  Jakub Jelinek  <jakub@redhat.com>

* config/i386/sse.md (ssse3_pshufbv8qi): Use gen_int_mode instead of
GEN_INT, and ix86_build_const_vector instead of gen_rtvec and
gen_rtx_CONT_VECTOR.
gcc/config/i386/sse.md