------- Comment #18 from sayle at gcc dot gnu dot org  2006-06-12 02:03 -------
Subject: Bug 27158

Author: sayle
Date: Mon Jun 12 02:02:14 2006
New Revision: 114558

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114558
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:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/predicates.md
    trunk/gcc/config/rs6000/rs6000.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158

Reply via email to