> -----Original Message-----
> From: 
> avr-gcc-list-bounces+eweddington=cso.atmel....@nongnu.org 
> [mailto:avr-gcc-list-bounces+eweddington=cso.atmel....@nongnu.
> org] On Behalf Of David Brown
> Sent: Friday, March 06, 2009 5:08 AM
> To: avr-gcc-list@nongnu.org
> Subject: [avr-gcc-list] Re: sprintf
> 
> The same changes list shows that "0b" integers have now made it into 
> mainline gcc from avr-gcc - wasn't that one of yours?

Yes, that was Joerg's patch.

 
> >> Neither compiler produced the smarter possibility:
> >>
> >>    lds r24, as+1
> >>    ldi r30, lo8(bs)
> >>    ldi r31, hi8(bs)
> >>    st Z+, r24
> >>    st Z+, r24
> >>    st Z+, r24
> >>    st Z+, r24
> >>    ret
> > 
> > Because apparantly, nobody has generated a pattern for that case.
> > 
> 
> I have no idea what sort of effort is needed to implement such a 
> pattern, or whether it might be generally useful.  If any of 
> the experts 
> thinks it is feasible to do, and realistic to think that 
> someone might 
> have the time to implement it, then I'll be happy to write it up as a 
> "missed optimisation" bug report so it doesn't get lost.

I think it's still good to write up a missed-optimization bug report in GCC. 
Even if it takes a while to get to it. Let me know the bug number.


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to