[Bug target/27158] [4.1/4.2 regression] ICE in extract_insn with -maltivec
------- Comment #20 from sayle at gcc dot gnu dot org 2006-06-14 14:43 -------
Subject: Bug 27158
Author: sayle
Date: Wed Jun 14 14:43:49 2006
New Revision: 114641
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114641
Log:
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.
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/config/rs6000/predicates.md
branches/gcc-4_1-branch/gcc/config/rs6000/rs6000.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Reply to: