From d78d4a54651230c42fd1076d8700347b02bec3bb Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Mon, 30 Oct 2017 17:05:22 -0500 Subject: [PATCH] Align to cache line set to 32 for windows --- tools/flang2/flang2exe/llassem.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/flang2/flang2exe/llassem.c b/tools/flang2/flang2exe/llassem.c index 5b798b7a9d22..c6f1f1a9957b 100644 --- a/tools/flang2/flang2exe/llassem.c +++ b/tools/flang2/flang2exe/llassem.c @@ -170,6 +170,9 @@ static int global_sptr; /* use to prepend for CUDA constructor static #ifdef TARGET_POWER +#define CACHE_ALIGN 31 +#define ALN_UNIT 32 +#elif TARGET_POWER #define CACHE_ALIGN 127 #define ALN_UNIT 128 #else