diff options
author | Roger Sayle <roger@eyesopen.com> | 2006-06-12 02:02:14 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2006-06-12 02:02:14 +0000 |
commit | 0972012c8a44748910e97ce6346de845237e2533 (patch) | |
tree | d60879a51c60c075a9d786af6c673703a9ec1427 /gcc/reload.c | |
parent | 98ea97ab843355038471b526eb63b2198e4efb1b (diff) | |
download | gcc-0972012c8a44748910e97ce6346de845237e2533.zip gcc-0972012c8a44748910e97ce6346de845237e2533.tar.gz gcc-0972012c8a44748910e97ce6346de845237e2533.tar.bz2 |
re PR target/27158 (ICE in extract_insn with -maltivec)
PR target/27158
* config/rs6000/rs6000.c (const_vector_elt_as_int): New function to
extract a CONST_VECTOR element and interpret it as an integer.
(vspltis_constant): Use const_vector_elt_as_int instead of the
macro CONST_VECTOR_ELT in order to handle FP vector modes.
* config/rs6000/predicates.md (easy_vector_const): Consider
floating point ALTIVEC_VECTOR_MODEs via easy_altivec_constant.
From-SVN: r114558
Diffstat (limited to 'gcc/reload.c')
0 files changed, 0 insertions, 0 deletions