Hello Philipp, Monday, June 24, 2024, 12:25:54 PM, you wrote:
Speaking about GBDK-2020 we only use __preserves_regs(iyh, iyl). Personally i see little sense in --reserve-regs-iy command line option and standard library compiled that way. Z80 codegen is not perfect enough to make generated code even worse. :) PKK> we currently do have the --reserve-regs-iy option to make sdcc generate PKK> code that does not use the register pair iy. But we do not by default PKK> ship with a standard library compiled with --reserve-regs-iy. PKK> How useful would it be for users of z80-related ports if SDCC would ship PKK> such a library for some ports? PKK> Would such a library be useful to you? If yes, for which port? -- Best regards, Tony mailto:unt...@mail.ru _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user