Am 01.04.22 um 16:26 schrieb Tony Pavlov via Sdcc-user:
> Dear SDCC devs,
>
> can you please tell me, why target was renamed from gbz80 to sm83?
> who's brilliant idea? now we have to rework all gbdk-2020 build
> subsystem and that will definitely affect a lot of projects.
>
> WHAT FOR?!
>

There is actually a very good reason:

Not only is sm83 the actual name of the CPU core in use, but
additionally, multiple targets, including gbz80/sm83, got a new default
calling convention with 4.2.0 that results in more efficient code.

While more efficient code is practically always desirable, the new
default calling convention means that people have to touch the build
parameters, anyway, because otherwise inline assembly might result in
silent generation of bad code.

Changing both at the same time means that people immediately notice that
something has changed.  They can then choose to either insert a calling
convention override switch on the command line or adapt their inline
assembly code.

Greetings,
Benedikt


_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to