summaryrefslogtreecommitdiff
path: root/backend/Conventions.v
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2008-12-21 13:32:24 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2008-12-21 13:32:24 +0000
commitdc4bed2cf06f46687225275131f411c86c773598 (patch)
tree9d99e759d906d061b6f213e0b20cb4bd53580ea6 /backend/Conventions.v
parentec6d00d94bcb1a0adc5c698367634b5e2f370c6e (diff)
Revised back-end so that only 2 integer registers are reserved for reloading.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@925 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'backend/Conventions.v')
-rw-r--r--backend/Conventions.v6
1 files changed, 5 insertions, 1 deletions
diff --git a/backend/Conventions.v b/backend/Conventions.v
index a861eb8..b7d931f 100644
--- a/backend/Conventions.v
+++ b/backend/Conventions.v
@@ -51,8 +51,12 @@ Definition destroyed_at_call_regs :=
Definition destroyed_at_call :=
List.map R destroyed_at_call_regs.
+Definition int_temporaries := IT1 :: IT2 :: nil.
+
+Definition float_temporaries := FT1 :: FT2 :: FT3 :: nil.
+
Definition temporaries :=
- R IT1 :: R IT2 :: R IT3 :: R FT1 :: R FT2 :: R FT3 :: nil.
+ R IT1 :: R IT2 :: R FT1 :: R FT2 :: R FT3 :: nil.
(** The [index_int_callee_save] and [index_float_callee_save] associate
a unique positive integer to callee-save registers. This integer is