Re: m68k peephole weirdness

2005-12-15 Thread Paul Brook
On Friday 16 December 2005 02:35, Andreas Schwab wrote: > Paul Brook <[EMAIL PROTECTED]> writes: > > In m68k.md we have: > > > > ;; Speed up pushing a single byte but leaving four bytes of space. > > > > (define_peephole > > [(set (mem:QI (pre_dec:SI (reg:SI SP_REG))) > > (match_operand:Q

Re: m68k peephole weirdness

2005-12-15 Thread Andreas Schwab
Paul Brook <[EMAIL PROTECTED]> writes: > In m68k.md we have: > > ;; Speed up pushing a single byte but leaving four bytes of space. > > (define_peephole > [(set (mem:QI (pre_dec:SI (reg:SI SP_REG))) > (match_operand:QI 1 "general_operand" "dami")) >(set (reg:SI SP_REG) (minus:SI (reg

m68k peephole weirdness

2005-12-15 Thread Paul Brook
In m68k.md we have: ;; Speed up pushing a single byte but leaving four bytes of space. (define_peephole [(set (mem:QI (pre_dec:SI (reg:SI SP_REG))) (match_operand:QI 1 "general_operand" "dami")) (set (reg:SI SP_REG) (minus:SI (reg:SI SP_REG) (const_int 2)))] The (const_int 2) looks