This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/24230] [4.1 Regression] ICE in extract_insn with altivec



------- Comment #27 from bonzini at gcc dot gnu dot org  2005-11-07 10:39 -------
Subject: Bug 24230

Author: bonzini
Date: Mon Nov  7 10:39:36 2005
New Revision: 106588

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106588
Log:
2005-11-07  Paolo Bonzini  <bonzini@gnu.org>

        PR target/24230

        * config/rs6000/rs6000.c (easy_vector_splat_const, easy_vector_same,
        gen_easy_vector_constant_add_self): Delete.
        (vspltis_constant, easy_altivec_constant, gen_easy_altivec_constant):
        New.
        (output_vec_const_move): Use gen_easy_altivec_constant.
        (rs6000_expand_vector_init): Do not emit a set of a VEC_DUPLICATE.
        * config/rs6000/predicates.md (easy_vector_constant): Reorganize tests.
        (easy_vector_constant_add_self): Rewritten.
        * config/rs6000/rs6000-protos.h (easy_vector_splat_const,
        easy_vector_same, gen_easy_vector_constant_add_self): Remove prototype.
        (easy_altivec_constant, gen_easy_altivec_constant): Add prototype.

testsuite:
2005-11-07  Paolo Bonzini  <bonzini@gnu.org>

        PR target/24230

        * gcc.target/powerpc/altivec-consts.c,
        gcc.target/powerpc/altivec-splat.c: New testcase.


Added:
    trunk/gcc/testsuite/gcc.target/powerpc/altivec-consts.c
    trunk/gcc/testsuite/gcc.target/powerpc/altivec-splat.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/altivec.md
    trunk/gcc/config/rs6000/predicates.md
    trunk/gcc/config/rs6000/rs6000-protos.h
    trunk/gcc/config/rs6000/rs6000.c
    trunk/gcc/config/rs6000/rs6000.h
    trunk/gcc/testsuite/ChangeLog


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]