Ticket #37 (new enhancement)

Opened 3 years ago

Last modified 2 years ago

Size optimization for syscalls

Reported by: ExtendeD Owned by:
Priority: minor Milestone:
Component: Ndless: Toolchain Version:
Keywords: Cc:

Description

_SYSCALL_GETSAVEDLR_PTR() is quite heavy and could be shared as a function (actually two, for arm an thumb).

This requires nspire-ld to link the programs with an internal static library (ndlslib?).

Syscalls with var args or with more than 4 parameters currently produce static functions (i.e. potential duplicates). They could also be shared as non-static functions.

os.h can still offer macros for automatic generation of these functions.

Change History

Changed 2 years ago by ExtendeD

  • milestone v2.0 deleted
Note: See TracTickets for help on using tickets.