Rune - Change ABI
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 6 Mar 2017 03:41:57 +0000 (19:41 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 6 Mar 2017 03:41:57 +0000 (19:41 -0800)
commitc35938263b94621b764590cb5cc23661b56a7c8a
tree28a0f5ffeb1ee0894b9512e047fd89798bb3ddfb
parent24b20133b771ad4b3a957275b3d97e58f9d23b93
Rune - Change ABI

* Change the ABI to be more like the microsoft call ABI.  The main reason
  is that fewer registers are scratch across calls, which significantly
  reduces the effort the RAS register allocator must make due to the large
  number of RuneRunTime_*() calls that are made.
27 files changed:
libgen/backend.h
libgen/backend_llvm.c
libgen/backend_ras.c
libgen/defs.h
libgen/export.h
libgen/gen_emit.c
libgen/gen_stmt.c
libgen/run_stmt.c
librune/export.h
librune/insn.h
librune/resolve.c
libruntime/export.h
libruntime/rt_main.c
libruntime/rt_refs.c
libruntime/rt_stubs.c
libruntime/rt_thread.c
libruntime/sys_misc.c
libruntime/sys_mmap.c
libruntime/thread.c
libruntime/thread.h
ras/defs.h
ras/insnx86.c
ras/insnx86.h
ras/proc.c
ras/sym.c
rune/rune.c
tests/float2.d