summaryrefslogtreecommitdiff
path: root/cgrconst.h
diff options
context:
space:
mode:
authorJohn van Groningen2006-01-10 14:10:22 +0000
committerJohn van Groningen2006-01-10 14:10:22 +0000
commit7c3efe45b1f889621b1ead7489f5e2eccb386a1a (patch)
treeea8dd3c0e13d01382e4df243e154e1f440f8cb26 /cgrconst.h
parentadd pushLc instruction for pushing the value of a label, with (diff)
port to 64 bit windows
Diffstat (limited to 'cgrconst.h')
-rw-r--r--cgrconst.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/cgrconst.h b/cgrconst.h
index 4256a62..9c87cca 100644
--- a/cgrconst.h
+++ b/cgrconst.h
@@ -23,12 +23,21 @@ enum { REGISTER_FP0, REGISTER_FP1, REGISTER_FP2, REGISTER_FP3,
#define num_to_d_reg(r) (r)
#ifdef I486
+# ifdef G_AI64
+# define A_STACK_POINTER REGISTER_A5
+# define HEAP_POINTER REGISTER_A6
+# define B_STACK_POINTER REGISTER_A7
+# define N_ADDRESS_PARAMETER_REGISTERS 3
+# define N_DATA_PARAMETER_REGISTERS 7
+# define N_FLOAT_PARAMETER_REGISTERS 8
+# else
# define A_STACK_POINTER REGISTER_A3
# define HEAP_POINTER REGISTER_A4
# define B_STACK_POINTER REGISTER_A5
# define N_ADDRESS_PARAMETER_REGISTERS 2
# define N_DATA_PARAMETER_REGISTERS 2
# define N_FLOAT_PARAMETER_REGISTERS 7
+# endif
#else
# define A_STACK_POINTER REGISTER_A4
# if !(defined (sparc) || defined (G_POWER))