Added list of scratch & reserved registers to calling convention. The
commit3020842b29b3e544eab3ea14cb91c1abb3d2a806
authorDirk Steinke <steinke.dirk.ml@gmail.com>
Fri, 22 Aug 2014 19:17:12 +0000 (22 21:17 +0200)
committerDirk Steinke <steinke.dirk.ml@gmail.com>
Fri, 22 Aug 2014 19:17:12 +0000 (22 21:17 +0200)
treec18c45744694c5dbc9fb5e5bf9687399f21e0bad
parent5db11d2c4b3bb06a6e3acfa2b3b8201cc49353d5
Added list of scratch & reserved registers to calling convention. The
reserved registers are used to hide architecturally impossible registers
(e.g. r8-r15 on x86-32). But it also restricts all register classes to
32 members max. This should suffice for x86, arm, mips.
include/jitcs_callingconvention.h
src/jitcs_int_callingconvention_impl.h
src/src/callingconvention_impl.cpp
src/x86/src/x86_xx_callingconvention.lcpp