avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-gcc-list] Re: sprintf


From: Weddington, Eric
Subject: RE: [avr-gcc-list] Re: sprintf
Date: Fri, 6 Mar 2009 08:36:44 -0700

 

> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
> org] On Behalf Of David Brown
> Sent: Friday, March 06, 2009 5:08 AM
> To: address@hidden
> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]