From 255cee09b71255051c2b40eae0c88bffce1f6f32 Mon Sep 17 00:00:00 2001 From: xleroy Date: Sat, 20 Apr 2013 07:54:52 +0000 Subject: Big merge of the newregalloc-int64 branch. Lots of changes in two directions: 1- new register allocator (+ live range splitting, spilling&reloading, etc) based on a posteriori validation using the Rideau-Leroy algorithm 2- support for 64-bit integer arithmetic (type "long long"). git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2200 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- checklink/Library.ml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'checklink/Library.ml') diff --git a/checklink/Library.ml b/checklink/Library.ml index acea80a..69a0d6e 100644 --- a/checklink/Library.ml +++ b/checklink/Library.ml @@ -110,6 +110,8 @@ let z_int z = Safe32.to_int (z_int32 z) let z_int_lax z = Safe32.to_int (z_int32_lax z) +let z_int64 = Camlcoq.Z.to_int64 + (* Some more printers *) let string_of_ffloat f = string_of_float (camlfloat_of_coqfloat f) @@ -144,6 +146,7 @@ let string_of_int32 = Printf.sprintf "0x%08lx" let string_of_int64 = Printf.sprintf "0x%08Lx" (* To print counts/indices *) let string_of_int32i = Int32.to_string +let string_of_int64i = Int64.to_string let string_of_positive p = string_of_int32i (positive_int32 p) -- cgit v1.2.3