PR target/125100 * gcc.target/i386/pr125100-4.c: Replace "movq %rax, \(%rdi\)" with "movq %rax, \(%[re]di\)" to support x32.
-- H.J.
From 6452fcd25769cbd0fcd28f83ebd96aa190004b4c Mon Sep 17 00:00:00 2001 From: "H.J. Lu" <[email protected]> Date: Sat, 27 Jun 2026 13:34:20 +0800 Subject: [PATCH] pr125100-4.c: Adjust check-function-bodies for x32 PR target/125100 * gcc.target/i386/pr125100-4.c: Replace "movq %rax, \(%rdi\)" with "movq %rax, \(%[re]di\)" to support x32. Signed-off-by: H.J. Lu <[email protected]> --- gcc/testsuite/gcc.target/i386/pr125100-4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/i386/pr125100-4.c b/gcc/testsuite/gcc.target/i386/pr125100-4.c index 38c2fe46fff..896d82e53aa 100644 --- a/gcc/testsuite/gcc.target/i386/pr125100-4.c +++ b/gcc/testsuite/gcc.target/i386/pr125100-4.c @@ -8,7 +8,7 @@ **.LFB[0-9]+: ** .cfi_startproc ** movabsq \$4758053007424749568, %rax -** movq %rax, \(%rdi\) +** movq %rax, \(%[re]di\) ** ret ** .cfi_endproc **... -- 2.54.0
