diff options
author | Alan Modra <amodra@gmail.com> | 2018-01-26 10:27:18 +1030 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2018-01-26 10:27:18 +1030 |
commit | 73598b3330377a9970f4489f5c5d517f62b51386 (patch) | |
tree | 359af78554346f366a1c1b304b5d5009c12ba6b2 /gcc/fold-const.c | |
parent | 1bfbe9adbc554930163eb551f9904cf4fe096696 (diff) | |
download | gcc-73598b3330377a9970f4489f5c5d517f62b51386.zip gcc-73598b3330377a9970f4489f5c5d517f62b51386.tar.gz gcc-73598b3330377a9970f4489f5c5d517f62b51386.tar.bz2 |
PR84033, powerpc64le -moptimize-swaps bad code with vec_vbpermq
vbpermq produces its output in bits 48..63 of the target vector reg,
so the output cannot be lane swapped.
gcc/
PR target/84033
* config/rs6000/rs6000-p8swap.c (rtx_is_swappable_p): Exclude
UNSPEC_VBPERMQ. Sort other unspecs.
gcc/testsuite/
PR target/84033
* gcc.target/powerpc/swaps-p8-46.c: New.
From-SVN: r257070
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions