Grant Edwards wrote:
On 2006-09-13, Steve Underwood <ste...@coppice.org> wrote:
I agree that generating wrong code is no good. However, there
are other options, like complaining and not generating
anything.
That's insane. What's wrong with generating mov.b
instructions? What wrong with calling memcpy()?
OK, well if nobody want to think about the broader issues, and compare
the behaviour of mspgcc with other packages I'll just go away until the
name calling and dumb kneejerk responses die down, and then start
addressing the real issues.
You seem to be taking a narrow view of efficiency. I wasn't
thinking of speed, but of the size of the resulting code. That
matters very much to any embedded developer.
Why not just generate this then?
l1: bra l1
It's very compact.
Steve