[A83] Re: Z88DK vs. SDCC


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

[A83] Re: Z88DK vs. SDCC




> Van: Kirk Meyer <kirk.meyer@colorado.edu>
> 
> Consider the following code:
>
> [..]
> 
> Note how much better this is, even though it saves BC & DE and creates a
> stack pointer for no reason. In a normal routine, saving BC & DE and
> creating a stack pointer would all be necessary. This shows how much it
> matters for the compiler itself to be good, and not just some sort of
> peephole optimizer. Note that the SDCC code wasn't run through a peephole
> optimizer (doesn't seem it would've helped this out much), whereas the
Z88DK
> code was. It was even worse before the peephole optimizer.

I know SDCC is soo much better (on some parts), but it has a smaller
library, and major parts of it are only written to work on the GB-Z80...

Okaym I could now just say "bye" and 'run-away' with the Z88DK lib to the
SDCC, and see if that could bring some new life into that compiler... I
might have some problems with the IX register, *major* parts of the Z88DK
use this reg for all sorts of things.

	Henk Poley



Follow-Ups: