commit 35506348ea8ea822e9ac8a55b001773d55ef36f0 parent 12e5bbb362380c6fed6b4a22dc51fc286313ad13 Author: Robert Russell <robertrussell.72001@gmail.com> Date: Sun, 4 Jun 2023 09:50:59 -0700 Add R_CACHE_LINE_BITS Diffstat:
| M | inc/def.h | | | 5 | +++-- |
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/inc/def.h b/inc/def.h @@ -76,9 +76,10 @@ #endif #endif -#ifndef R_CACHE_LINE_SIZE -#define R_CACHE_LINE_SIZE 64 +#ifndef R_CACHE_LINE_BITS +#define R_CACHE_LINE_BITS 6 #endif +#define R_CACHE_LINE_SIZE (1 << (R_CACHE_LINE_BITS)) #ifdef __SIZEOF_INT128__ #define R_HAVE_128 1