summaryrefslogtreecommitdiff
path: root/cgrconst.h
diff options
context:
space:
mode:
Diffstat (limited to 'cgrconst.h')
-rw-r--r--cgrconst.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/cgrconst.h b/cgrconst.h
index 77d45a2..c338d6c 100644
--- a/cgrconst.h
+++ b/cgrconst.h
@@ -42,6 +42,13 @@ enum { REGISTER_FP0, REGISTER_FP1, REGISTER_FP2, REGISTER_FP3,
# define N_DATA_PARAMETER_REGISTERS 2
# define N_FLOAT_PARAMETER_REGISTERS 7
# endif
+#elif defined (ARM)
+# define A_STACK_POINTER REGISTER_A4
+# define HEAP_POINTER REGISTER_A5
+# define B_STACK_POINTER REGISTER_A6
+# define N_ADDRESS_PARAMETER_REGISTERS 3
+# define N_DATA_PARAMETER_REGISTERS 5
+# define N_FLOAT_PARAMETER_REGISTERS 8
#else
# define A_STACK_POINTER REGISTER_A4
# if !(defined (sparc) || defined (G_POWER))