On Mon, Mar 17, 2025 at 2:07 PM liuhongt <[email protected]> wrote:
>
> It looks like the testcase is fragile, it's supposed to check the
> compiler ability of generating code_6_gottpoff_reloc instruction, but
> failed since there's a seg_prefixed memory
> usage(r14-6242-gd564198f960a2f).
>
>         mov     r13, QWORD PTR j@gottpoff[rip]
>         mov     r12, QWORD PTR a@gottpoff[rip]
>         mov     rbp, QWORD PTR [rsp+1040]
>         lea     rbx, [rsp+1040]
>         add     r14, QWORD PTR fs:0, r12
>
> gcc/testsuite/ChangeLog:
>
>         PR target/117069
>         * gcc.target/i386/apx-ndd-tls-1b.c: Add xfail.

commit be671ec1f30ecd55aaff09048afb2a619018cb8a
Author: liuhongt <[email protected]>
Date:   Sun Mar 16 22:28:44 2025 -0700

    Mark gcc.target/i386/apx-ndd-tls-1b.c as xfail.

marked gcc.target/i386/apx-ndd-tls-1b.c as xfail for lp64.  But this test
is enabled for ! ia32:

/* { dg-do assemble { target { apxf && { ! ia32 } } } } */

Change gcc.target/i386/apx-ndd-tls-1b.c to xfail for ! ia32.

* gcc.target/i386/apx-ndd-tls-1b.c: Change to xfail for ! ia32.

I am checking it in.


-- 
H.J.
From ca9c3cde3e84a75f3429f662f3a9a3828d34ae29 Mon Sep 17 00:00:00 2001
From: "H.J. Lu" <[email protected]>
Date: Mon, 10 Nov 2025 06:47:33 +0800
Subject: [PATCH] apx-ndd-tls-1b.c: Change to xfail for ! ia32

commit be671ec1f30ecd55aaff09048afb2a619018cb8a
Author: liuhongt <[email protected]>
Date:   Sun Mar 16 22:28:44 2025 -0700

    Mark gcc.target/i386/apx-ndd-tls-1b.c as xfail.

marked gcc.target/i386/apx-ndd-tls-1b.c as xfail for lp64.  But this test
is enabled for ! ia32:

/* { dg-do assemble { target { apxf && { ! ia32 } } } } */

Change gcc.target/i386/apx-ndd-tls-1b.c to xfail for ! ia32.

	* gcc.target/i386/apx-ndd-tls-1b.c: Change to xfail for ! ia32.

Signed-off-by: H.J. Lu <[email protected]>
---
 gcc/testsuite/gcc.target/i386/apx-ndd-tls-1b.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/i386/apx-ndd-tls-1b.c b/gcc/testsuite/gcc.target/i386/apx-ndd-tls-1b.c
index afcad0ce323..a17eba47d93 100644
--- a/gcc/testsuite/gcc.target/i386/apx-ndd-tls-1b.c
+++ b/gcc/testsuite/gcc.target/i386/apx-ndd-tls-1b.c
@@ -9,4 +9,4 @@
    usage(r14-6242-gd564198f960a2f).  */
 #include "apx-ndd-tls-1a.c"
 
-/* { dg-final { scan-assembler-times "addq\[ \t]+%r\[a-z0-9\]+, a@gottpoff\\(%rip\\), %r\[a-z0-9\]+" 1 { xfail lp64 } } } */
+/* { dg-final { scan-assembler-times "addq\[ \t]+%r\[a-z0-9\]+, a@gottpoff\\(%rip\\), %r\[a-z0-9\]+" 1 { xfail { ! ia32 } } } } */
-- 
2.51.1

Reply via email to