]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR target/40957 (standard_sse_constant_opcode crash on x86 64)
authorUros Bizjak <ubizjak@gmail.com>
Thu, 6 Aug 2009 11:43:38 +0000 (13:43 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 6 Aug 2009 11:43:38 +0000 (13:43 +0200)
commit4dbf26d534a9c3fff592ca9fef172449f6886842
tree9ec6082561ff7437521b9f60801bfea9863bdaaf
parente52201b6803177a519fc6dfd36e247b33bea4bac
re PR target/40957 (standard_sse_constant_opcode crash on x86 64)

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.

Co-Authored-By: H.J. Lu <hongjiu.lu@intel.com>
From-SVN: r150520
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr40957.c [new file with mode: 0644]