Fix non-canonical CONST_INTs in altivec_copysign_v4sf3 (PR91823)
authorRichard Sandiford <richard.sandiford@arm.com>
Mon, 23 Sep 2019 11:56:47 +0000 (11:56 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 23 Sep 2019 11:56:47 +0000 (11:56 +0000)
commitfa87544ca13000e62982d3005edb47a53401cfe7
treed1bd6c18d539c64a974f4a91060381a2d908c8a0
parentd469a71e5a0eb512b522248841c56496abca8cd6
Fix non-canonical CONST_INTs in altivec_copysign_v4sf3 (PR91823)

The pattern was generating zero-extended rather than sign-extended
CONST_INTs.

2019-09-23  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
PR target/91823
* config/rs6000/altivec.md (altivec_copysign_v4sf3): Generate
canonical CONST_INTs.  Use gen_rtvec.

From-SVN: r276055
gcc/ChangeLog
gcc/config/rs6000/altivec.md