From: Mark W. <ma...@so...> - 2025-01-23 22:03:52
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=fd1608c55b5f1d466536e635ce6805a022a2f8c0 commit fd1608c55b5f1d466536e635ce6805a022a2f8c0 Author: Mark Wielaard <ma...@kl...> Date: Thu Jan 23 22:59:42 2025 +0100 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: --- 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 4b522c7e46..9f5775cd07 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); |