Hi all,

Are there any predefined macros that indicate what level of optimisation SDCC is compiling with?

I have some inline assembly where I'd like to unroll a loop if '--opt-code-speed' optimisation is being used. Or maybe the opposite: a non-unrolled loop only if --opt-code-size is being used.

Regards,
Basil


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

Reply via email to