Fix bad code of vector extract of PC-relative address with variable element #.
authorMichael Meissner <meissner@linux.ibm.com>
Tue, 7 Jan 2020 01:34:19 +0000 (01:34 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Tue, 7 Jan 2020 01:34:19 +0000 (01:34 +0000)
commit3d53551b8809a2a673530aad9c7b5ccf2c26bbd3
tree1f93a921caba2d8947d273f1d74e44c061a3b16f
parentdfef3500361057392f3c17e1f97883222347c0ef
Fix bad code of vector extract of PC-relative address with variable element #.

2020-01-06  Michael Meissner  <meissner@linux.ibm.com>

* config/rs6000/vsx.md (vsx_extract_<mode>_var, VSX_D iterator):
Use 'Q' for doing vector extract from memory.
(vsx_extract_v4sf_var): Use 'Q' for doing vector extract from
memory.
(vsx_extract_<mode>_var, VSX_EXTRACT_I iterator): Use 'Q' for
doing vector extract from memory.
(vsx_extract_<mode>_<VS_scalar>mode_var): Use 'Q' for doing vector
extract from memory.

From-SVN: r279938
gcc/ChangeLog
gcc/config/rs6000/vsx.md