From 883341719d7d6868f8165541e7e13ac45192a358 Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Thu, 27 Oct 2016 11:06:09 +0200 Subject: Make Archi.ptr64 always computable, and reorganize files accordingly: ia32 -> x86/x86_32/x86_64 Having Archi.ptr64 as an opaque Parameter that is determined at run-time depending on compcert.ini is problematic for applications such as VST where functions such as Ctypes.sizeof must compute within Coq. This commit introduces two versions of the Archi.v file, one for x86 32 bits (with ptr64 := false), one for x86 64 bits (with ptr64 := true). Unlike previous approaches, no other file is duplicated between these two variants of x86. While we are at it, I renamed "ia32" into "x86" everywhere. "ia32" is Intel speak for the 32-bit architecture. It is not a good name to describe both the 32 and 64 bit architectures. Finally, .depend is no longer under version control and is regenerated when the target architecture changes. That's because the location of Archi.v differs between the ports that have 32/64 bit variants (x86 so far) and the ports that have only one bitsize (ARM and PowerPC so far). --- .gitignore | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 9e530127..8a049f0c 100644 --- a/.gitignore +++ b/.gitignore @@ -24,20 +24,18 @@ tools/ndfun tools/modorder Makefile.config # Generated files +.depend .depend.extr compcert.ini -ia32/ConstpropOp.v -ia32/SelectOp.v -ia32/SelectLong.v +x86/ConstpropOp.v +x86/SelectOp.v +x86/SelectLong.v powerpc/ConstpropOp.v powerpc/SelectOp.v powerpc/SelectLong.v arm/ConstpropOp.v arm/SelectOp.v arm/SelectLong.v -x86_64/ConstpropOp.v -x86_64/SelectOp.v -x86_64/SelectLong.v backend/SelectDiv.v backend/SplitLong.v backend/CMlexer.ml -- cgit