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/40957] [4.5 Regression] standard_sse_constant_opcode crash on x86 64



------- Comment #4 from uros at gcc dot gnu dot org  2009-08-06 11:43 -------
Subject: Bug 40957

Author: uros
Date: Thu Aug  6 11:43:38 2009
New Revision: 150520

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150520
Log:
        PR target/40957
        * config/i386/i386.c (standard_sse_mode_p): Remove.
        (standard_sse_constant_p): Return 2 for integer mode
        vector_all_ones_operand when SSE2 is enabled.
        (standard_sse_constant_opcode)<case 2>: Always return [v]pcmpeqd.
        (ix86_expand_vector_move): Do not check for negative values from
        standard_sse_constant_p.

testsuite/ChangeLog:

        PR target/40957
        * gcc.target/i386/pr40957: New test.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr40957.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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