diff options
author | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2015-09-10 20:22:37 +0000 |
---|---|---|
committer | William Schmidt <wschmidt@gcc.gnu.org> | 2015-09-10 20:22:37 +0000 |
commit | 9a21c05d8d2a58a23782dbcedb4aa6df62282aa0 (patch) | |
tree | 852f3146ea8487a44df261e0f0362cbc3695e8ea /config | |
parent | a7890973856c5d2e49392b6c4a1175ccb222a030 (diff) | |
download | gcc-9a21c05d8d2a58a23782dbcedb4aa6df62282aa0.zip gcc-9a21c05d8d2a58a23782dbcedb4aa6df62282aa0.tar.gz gcc-9a21c05d8d2a58a23782dbcedb4aa6df62282aa0.tar.bz2 |
rs6000.c (swap_web_entry): Update preceding commentary to simplify permute mask adjustment equation.
[gcc]
2015-09-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* config/rs6000/rs6000.c (swap_web_entry): Update preceding
commentary to simplify permute mask adjustment equation.
(special_handling_values): Add SH_VPERM.
(const_load_sequence_p): New function.
(insn_is_swappable_p): Add logic to recognize an UNSPEC_VPERM with
the mask loaded from the constant pool.
(adjust_vperm): New function.
(handle_special_swappables): Call adjust_vperm.
(dump_swap_insn_table): Handle SH_VPERM.
[gcc/testsuite]
2015-09-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* gcc.target/powerpc/swaps-p8-20.c: New test.
* gcc.target/powerpc/swaps-p8-21.c: New test.
From-SVN: r227664
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions