From 86f447f932ee6ec66e8246abc2f9273d03a4f773 Mon Sep 17 00:00:00 2001 From: Paul Floyd Date: Wed, 7 Feb 2024 21:06:52 +0100 Subject: [PATCH] linux aarch64: an extra Helgrind printf suppression and dix a couple of warnings The existing suppression begins with fun:memcpy* but I'm seeing the first one as fun:__GI_memcpy so I just made that *memcpy* --- glibc-2.X-helgrind.supp.in | 2 +- none/tests/arm64/fp_and_simd_v82.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/glibc-2.X-helgrind.supp.in b/glibc-2.X-helgrind.supp.in index 18bf5328e..d1c120eba 100644 --- a/glibc-2.X-helgrind.supp.in +++ b/glibc-2.X-helgrind.supp.in @@ -58,7 +58,7 @@ { helgrind-glibc-__printf_buffer_write Helgrind:Race - fun:memcpy* + fun:*memcpy* ... fun:__printf_buffer_write } diff --git a/none/tests/arm64/fp_and_simd_v82.c b/none/tests/arm64/fp_and_simd_v82.c index 4a0d7efed..75144f727 100644 --- a/none/tests/arm64/fp_and_simd_v82.c +++ b/none/tests/arm64/fp_and_simd_v82.c @@ -140,6 +140,7 @@ static void showV128 ( V128* v ) printf("%02x", (Int)v->u8[i]); } +#if 0 static void showBlock ( const char* msg, V128* block, Int nBlock ) { Int i; @@ -160,6 +161,7 @@ static ULong dup4x16 ( UInt x ) r |= (r << 32); return r; } +#endif // Generate a random double-precision number. About 1 time in 2, // instead return a special value (+/- Inf, +/-Nan, denorm). -- 2.11.4.GIT