vix.ing · top · new · best · stats · spec

Efficient Calling Conventions for Irregular Architectures

2021/12/02 by Krause, Philipp K.
#FOS: Computer and information sciences #Programming Languages (cs.PL)

paper · doi:10.48550/arxiv.2112.01397

Abstract

We empirically evaluated thousands of different C calling conventions for irregular microcontroller architectures, and found potential for improvement over the calling conventions previously used in the Small Device C Compiler (SDCC). The improvements in code size and speed are substantial enough that SDCC made changes to its default calling convention, breaking ABI compatibility.

Related