This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r149778 - in /trunk/gcc: ChangeLog combine.c te...
- From: nemet at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 18 Jul 2009 21:46:04 -0000
- Subject: r149778 - in /trunk/gcc: ChangeLog combine.c te...
Author: nemet
Date: Sat Jul 18 21:46:01 2009
New Revision: 149778
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149778
Log:
* combine.c (simplify_shift_const_1): Split code to determine
shift_mode into ...
(try_widen_shift_mode): ... here. Allow widening for ASHIFTRT if the
new bits shifted in are identical to the old sign bit.
testsuite/
* gcc.target/mips/octeon-exts-7.c: New test.
* gcc.target/mips/octeon-exts-2.c: Revert previous change.
* gcc.target/mips/octeon-exts-5.c: Likewise.
Added:
trunk/gcc/testsuite/gcc.target/mips/octeon-exts-7.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/combine.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.target/mips/octeon-exts-2.c
trunk/gcc/testsuite/gcc.target/mips/octeon-exts-5.c