diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1997-05-29 14:57:45 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1997-05-29 14:57:45 (GMT) |
commit | 8d1ac0225cd18e05b694f51e29a1267c94e44147 (patch) | |
tree | de1dcfde7071cad0760c986dfe4f99fc29f41e7c /Mac/mwerks/malloc/malloc.c | |
parent | e66b8c8543ea6dc3b3b660006e6339dc867b11ca (diff) | |
download | cpython-8d1ac0225cd18e05b694f51e29a1267c94e44147.zip cpython-8d1ac0225cd18e05b694f51e29a1267c94e44147.tar.gz cpython-8d1ac0225cd18e05b694f51e29a1267c94e44147.tar.bz2 |
Documented (slightly) the USE_CACHE_ALIGNED define, for the standalone
distribution
Diffstat (limited to 'Mac/mwerks/malloc/malloc.c')
-rw-r--r-- | Mac/mwerks/malloc/malloc.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Mac/mwerks/malloc/malloc.c b/Mac/mwerks/malloc/malloc.c index 89ba4bf..7d0fb6c 100644 --- a/Mac/mwerks/malloc/malloc.c +++ b/Mac/mwerks/malloc/malloc.c @@ -61,6 +61,13 @@ static char *rcsid = "$Id$"; #define VCHECK #endif /* USE_MALLOC_DEBUG */ +/* + * Set the next define if you want to return memory that is aligned to 32-byte + * boundaries. This allows 604 (and, to a lesser extent, any PPC) programs to + * make better use of the L1 cache. + */ +/* #define USE_CACHE_ALIGNED 8 /* The alignment (in 4-byte words) */ + typedef unsigned char u_char; typedef unsigned long u_long; typedef unsigned int u_int; |