From 6d25b4f3fc23601b3a84b4a70aab40ba429ac4b9 Mon Sep 17 00:00:00 2001 From: xleroy Date: Tue, 30 Dec 2008 14:48:33 +0000 Subject: Reorganized the development, modularizing away machine-dependent parts. Started to merge the ARM code generator. Started to add support for PowerPC/EABI. Use ocamlbuild to construct executable from Caml files. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@930 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- extraction/extraction.v | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'extraction/extraction.v') diff --git a/extraction/extraction.v b/extraction/extraction.v index cdb1fd63..58da9c06 100644 --- a/extraction/extraction.v +++ b/extraction/extraction.v @@ -16,7 +16,7 @@ Require Floats. Require RTLgen. Require Coloring. Require Allocation. -Require Main. +Require Compiler. (* Standard lib *) Extract Inductive unit => "unit" [ "()" ]. @@ -68,16 +68,18 @@ Extract Constant Coloring.graph_coloring => "Coloringaux.graph_coloring". (* Linearize *) Extract Constant Linearize.enumerate_aux => "Linearizeaux.enumerate_aux". -(* PPC *) -Extract Constant PPC.low_half => "fun _ -> assert false". -Extract Constant PPC.high_half => "fun _ -> assert false". +(* Asm *) +Extract Constant Asm.low_half => "fun _ -> assert false". +Extract Constant Asm.high_half => "fun _ -> assert false". (* Suppression of stupidly big equality functions *) -Extract Constant CSE.eq_rhs => "fun (x: rhs) (y: rhs) -> x = y". -Extract Constant Locations.mreg_eq => "fun (x: mreg) (y: mreg) -> x = y". -Extract Constant PPC.ireg_eq => "fun (x: ireg) (y: ireg) -> x = y". -Extract Constant PPC.freg_eq => "fun (x: freg) (y: freg) -> x = y". -Extract Constant PPC.preg_eq => "fun (x: preg) (y: preg) -> x = y". +Extract Constant Op.eq_operation => "fun (x: operation) (y: operation) -> x = y". +Extract Constant Op.eq_addressing => "fun (x: addressing) (y: addressing) -> x = y". +(*Extract Constant CSE.eq_rhs => "fun (x: rhs) (y: rhs) -> x = y".*) +Extract Constant Machregs.mreg_eq => "fun (x: mreg) (y: mreg) -> x = y". +Extract Constant Asm.ireg_eq => "fun (x: ireg) (y: ireg) -> x = y". +Extract Constant Asm.freg_eq => "fun (x: freg) (y: freg) -> x = y". +Extract Constant Asm.preg_eq => "fun (x: preg) (y: preg) -> x = y". (* Go! *) -Recursive Extraction Library Main. +Recursive Extraction Library Compiler. -- cgit