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/49621] [4.5/4.6/4.7 regression] ICE in trunc_int_for_mode, at explow.c:57


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-08 20:10:22 UTC ---
Author: jakub
Date: Fri Jul  8 20:10:18 2011
New Revision: 176064

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176064
Log:
    PR target/49621
    * config/rs6000/rs6000.c (rs6000_emit_vector_cond_expr): Use
    CONST0_RTX (dest_mode) instead of const0_rtx as second operand
    of NE.
    * config/rs6000/vector.md (vector_select_<mode>,
    vector_select_<mode>_uns): Change second operand of NE to
    CONST0_RTX (<MODE>mode) instead of const0_rtx.
    * config/rs6000/altivec.md (*altivec_vsel<mode>,
    *altivec_vsel<mode>_uns): Expect second operand of NE to be
    zero_constant of the corresponding vector mode.
    * config/rs6000/vsx.md (*vsx_xxsel<mode>, *vsx_xxsel<mode>_uns):
    Likewise.

    * gcc.target/powerpc/altivec-34.c: New test.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/gcc.target/powerpc/altivec-34.c
Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/config/rs6000/altivec.md
    branches/gcc-4_6-branch/gcc/config/rs6000/rs6000.c
    branches/gcc-4_6-branch/gcc/config/rs6000/vector.md
    branches/gcc-4_6-branch/gcc/config/rs6000/vsx.md
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog


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