From a32ed5df6aa31aa5a38a55af9d75880e906721f2 Mon Sep 17 00:00:00 2001 From: xleroy Date: Sat, 10 Apr 2010 12:15:43 +0000 Subject: Coloring: allow to exclude user-specified registers from allocation. CPragmas (PPC/EABI only): add #pragma reserve_register git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1314 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- powerpc/Machregsaux.mli | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 powerpc/Machregsaux.mli (limited to 'powerpc/Machregsaux.mli') diff --git a/powerpc/Machregsaux.mli b/powerpc/Machregsaux.mli new file mode 100644 index 00000000..6d819882 --- /dev/null +++ b/powerpc/Machregsaux.mli @@ -0,0 +1,16 @@ +(* *********************************************************************) +(* *) +(* The Compcert verified compiler *) +(* *) +(* Xavier Leroy, INRIA Paris-Rocquencourt *) +(* *) +(* Copyright Institut National de Recherche en Informatique et en *) +(* Automatique. All rights reserved. This file is distributed *) +(* under the terms of the INRIA Non-Commercial License Agreement. *) +(* *) +(* *********************************************************************) + +(** Auxiliary functions on machine registers *) + +val register_by_name: string -> Machregs.mreg option +val can_reserve_register: Machregs.mreg -> bool -- cgit