From: Mark Wielaard Date: Thu, 23 Jan 2025 21:59:42 +0000 (+0100) Subject: memcheck/tests/amd64/rh2257546_256.c: use xmm instead of ymm in clobbers X-Git-Tag: VALGRIND_3_25_0~171 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd1608c55b5f1d466536e635ce6805a022a2f8c0;p=thirdparty%2Fvalgrind.git 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. --- 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);