TCG: Mac OS X support for ppc64 target
commit5d7ff5bbde21858b43af38e7cb5cae59bd4668ad
authorAndreas Faerber <andreas.faerber@web.de>
Sun, 6 Dec 2009 13:00:24 +0000 (6 14:00 +0100)
committermalc <av1474@comtv.ru>
Sun, 6 Dec 2009 15:20:26 +0000 (6 18:20 +0300)
tree26554359a24c36b52ed49a8ef1eda285463c6ebe
parentee4660f9258dedfcb275a0fbed6c795f470a0caf
TCG: Mac OS X support for ppc64 target

Darwin/ppc64 does not use function descriptors,
adapt prologue and tcg_out_call accordingly.
GPR2 is available for general use, so let's use it.

http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/LowLevelABI/110-64-bit_PowerPC_Function_Calling_Conventions/64bitPowerPC.html

v2:
- Don't mark reserved GPR13 as callee-save.
- Move tcg_out_b up.
- Fix unused variable warning in prologue.

Signed-off-by: Andreas Faerber <andreas.faerber@web.de>
Cc: malc <av1474@comtv.ru>
Signed-off-by: malc <av1474@comtv.ru>
tcg/ppc64/tcg-target.c