On 2006-09-13, Steve Underwood <[email protected]> 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()?

> 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.

-- 
Grant Edwards                   grante             Yow!  I'm CONTROLLED by
                                  at               the CIA!! EVERYONE is
                               visi.com            controlled by the CIA!!


Reply via email to