This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r161570 - in /trunk/gcc: ChangeLog config/i386/...
- From: bernds at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 29 Jun 2010 22:29:31 -0000
- Subject: r161570 - in /trunk/gcc: ChangeLog config/i386/...
Author: bernds
Date: Tue Jun 29 22:29:30 2010
New Revision: 161570
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161570
Log:
* recog.c (peep2_do_rebuild_jump_labels, peep2_do_cleanup_cfg): New
static variables.
(peep2_buf_position): New static function.
(peep2_regno_dead_p, peep2_reg_dead_p, peep2_find_free_register,
peephole2_optimize): Use it.
(peep2_attempt, peep2_update_life): New static functions, broken out
of peephole2_optimize.
(peep2_fill_buffer): New static function.
(peephole2_optimize): Change the main loop to try to fill the buffer
with the maximum number of insns before matching them against
peepholes. Use a forward scan. Remove special case for targets with
conditional execution.
* genrecog.c (change_state): Delete dead code.
* config/i386/i386.md (peephole2 for arithmetic ops with memory):
Rewrite so as not to expect the second insn to have had a peephole
applied yet.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.md
trunk/gcc/genrecog.c
trunk/gcc/recog.c