From fd1608c55b5f1d466536e635ce6805a022a2f8c0 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Thu, 23 Jan 2025 22:59:42 +0100 Subject: [PATCH] memcheck/tests/amd64/rh2257546_256.c: use xmm instead of ymm in clobbers Older gcc (4.8.5) doesn't recognize yym registers as clobbers. Use xmm instead, as in the AVX configure checks, which are the same register (half) just with a different name. --- memcheck/tests/amd64/rh2257546_256.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memcheck/tests/amd64/rh2257546_256.c b/memcheck/tests/amd64/rh2257546_256.c index 4b522c7e4..9f5775cd0 100644 --- a/memcheck/tests/amd64/rh2257546_256.c +++ b/memcheck/tests/amd64/rh2257546_256.c @@ -28,7 +28,7 @@ int main ( void ) "zzz1f:" "\n\t" "mov $88, %0" "\n" "zzzafter:" "\n\t" - : /*OUT*/"=r"(res) : /*IN*/"r"(c1),"r"(c2) : /*TRASH*/"ymm4","ymm5","cc" + : /*OUT*/"=r"(res) : /*IN*/"r"(c1),"r"(c2) : /*TRASH*/"xmm4","xmm5","cc" ); printf("res = %lld\n", res); free(c1); -- 2.47.2