X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FConstants.h;h=bf7c83e91d8df5a93d90d9875d2a2263edea0c0d;hb=48fd138cd94a488d519d79dd64281ca6d7a72ff1;hp=d97016044d4ff31ff9b15280446aa25f95640792;hpb=ec48c5ab896b9334fa8d747c0a542e0679fe3a8f;p=ghc-hetmet.git diff --git a/ghc/includes/Constants.h b/ghc/includes/Constants.h index d970160..bf7c83e 100644 --- a/ghc/includes/Constants.h +++ b/ghc/includes/Constants.h @@ -1,5 +1,7 @@ /* ---------------------------------------------------------------------------- - * $Id: Constants.h,v 1.3 1999/01/21 10:31:41 simonm Exp $ + * $Id: Constants.h,v 1.7 1999/10/27 09:58:36 simonmar Exp $ + * + * (c) The GHC Team, 1998-1999 * * Constants * @@ -88,6 +90,12 @@ #define MAX_SPEC_AP_SIZE 8 +/* Specialised FUN/THUNK/CONSTR closure types */ + +#define MAX_SPEC_THUNK_SIZE 2 +#define MAX_SPEC_FUN_SIZE 2 +#define MAX_SPEC_CONSTR_SIZE 2 + /* ----------------------------------------------------------------------------- Update Frame Layout -------------------------------------------------------------------------- */ @@ -95,12 +103,6 @@ #define NOSCC_UF_SIZE 3 #define SCC_UF_SIZE 4 -#if defined(PROFILING) -#define UF_SIZE SCC_UF_SIZE -#else -#define UF_SIZE NOSCC_UF_SIZE -#endif - #define UF_RET 0 #define UF_SU 1 #define UF_UPDATEE 2 @@ -108,13 +110,12 @@ /* ----------------------------------------------------------------------------- SEQ frame size + + I don't think seq frames really need sccs --SDM -------------------------------------------------------------------------- */ -#if defined(PROFILING) -#define SEQ_FRAME_SIZE 3 -#else -#define SEQ_FRAME_SIZE 2 -#endif +#define NOSCC_SEQ_FRAME_SIZE 2 +#define SCC_SEQ_FRAME_SIZE 3 /* ----------------------------------------------------------------------------- STG Registers. @@ -207,8 +208,8 @@ -------------------------------------------------------------------------- */ /* The size of a block */ -#define BLOCK_SIZE 0x2000 -#define BLOCK_SHIFT 13 +#define BLOCK_SIZE 0x1000 +#define BLOCK_SHIFT 12 /* The size of a megablock */ #define MBLOCK_SIZE 0x100000