> __z88dk_fastcall and __z88dk_callee
> 
> The first one can be used on functions that have exactly one argument of
> at most 32 bits. This argument will be passed in the lower bytes of
> dehl. It is now fully supported in sdcc.

Is there a way to tell it to use __z88dk_fastcall for all functions that
fit this property ?

> The second one omits the stack cleanup for stack parameters in the
> caller. It is currently only supported on the caller side (and thus only
> useful for calling hand-written asm functions).

It's also a little bit exciting to debug when you have casts on functions
that change arg types/counts but once its in is something I can use too
(it's already how the 6502 compiler works)

> Please use sdcc 3.4.3 #9218 or later if you want to try these calling
> conventions.

I'll try and take a look soon providing I can persuade SDCC to do it
automatically. If not I'll at least bodge up some tests to see what the
numbers are like. The old Hitech compiler still wins over SDCC on some of
my code, and its mostly down to arg passing.

I have a feeling that supporting two arguments of 16bit in HL and DE
might also be a win for Fuzix but I've no idea how it generalizes.

Alan

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to