public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: [PATCH] testsuite, x86: Handle a broken assembler.
@ 2023-11-27  8:10 FX Coudert
  2023-11-27  8:48 ` Richard Biener
  0 siblings, 1 reply; 4+ messages in thread
From: FX Coudert @ 2023-11-27  8:10 UTC (permalink / raw)
  To: GCC Patches; +Cc: Iain Sandoe

Hi,

I’d like to ping that patch from Iain Sandoe. It would clear up a number of failures in the darwin testsuite.

Thanks,
FX



> --- 8< ---
> 
> Earlier assembler support for complex fp16 on x86_64 Darin is broken. This
> adds an additional test to the existing target-supports that fails for the
> broken assemblers but works for the newer, fixed, ones.
> 
> gcc/testsuite/ChangeLog:
> 
> * lib/target-supports.exp: Test an asm line that fails on broken
> Darwin assembler versions.
> 
> Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
> ---
> gcc/testsuite/lib/target-supports.exp | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
> index f0b692a2e19..61ab063afbe 100644
> --- a/gcc/testsuite/lib/target-supports.exp
> +++ b/gcc/testsuite/lib/target-supports.exp
> @@ -10062,6 +10062,7 @@ proc check_effective_target_avx512fp16 { } {
> void foo (void)
> {
> asm volatile ("vmovw %edi, %xmm0");
> + asm volatile ("vfcmulcph %xmm1, %xmm2, %xmm3{%k1}");
> }
> } "-O2 -mavx512fp16" ]
> }
> -- 
> 2.39.2 (Apple Git-143)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] testsuite, x86: Handle a broken assembler.
  2023-11-27  8:10 [PATCH] testsuite, x86: Handle a broken assembler FX Coudert
@ 2023-11-27  8:48 ` Richard Biener
  2023-11-29 10:27   ` FX Coudert
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Biener @ 2023-11-27  8:48 UTC (permalink / raw)
  To: FX Coudert; +Cc: GCC Patches, Iain Sandoe

On Mon, Nov 27, 2023 at 9:11 AM FX Coudert <fxcoudert@gmail.com> wrote:
>
> Hi,
>
> I’d like to ping that patch from Iain Sandoe. It would clear up a number of failures in the darwin testsuite.

OK.

> Thanks,
> FX
>
>
>
> > --- 8< ---
> >
> > Earlier assembler support for complex fp16 on x86_64 Darin is broken. This
> > adds an additional test to the existing target-supports that fails for the
> > broken assemblers but works for the newer, fixed, ones.
> >
> > gcc/testsuite/ChangeLog:
> >
> > * lib/target-supports.exp: Test an asm line that fails on broken
> > Darwin assembler versions.
> >
> > Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
> > ---
> > gcc/testsuite/lib/target-supports.exp | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
> > index f0b692a2e19..61ab063afbe 100644
> > --- a/gcc/testsuite/lib/target-supports.exp
> > +++ b/gcc/testsuite/lib/target-supports.exp
> > @@ -10062,6 +10062,7 @@ proc check_effective_target_avx512fp16 { } {
> > void foo (void)
> > {
> > asm volatile ("vmovw %edi, %xmm0");
> > + asm volatile ("vfcmulcph %xmm1, %xmm2, %xmm3{%k1}");
> > }
> > } "-O2 -mavx512fp16" ]
> > }
> > --
> > 2.39.2 (Apple Git-143)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] testsuite, x86: Handle a broken assembler.
  2023-11-27  8:48 ` Richard Biener
@ 2023-11-29 10:27   ` FX Coudert
  0 siblings, 0 replies; 4+ messages in thread
From: FX Coudert @ 2023-11-29 10:27 UTC (permalink / raw)
  To: Richard Biener; +Cc: GCC Patches, Iain Sandoe

Thanks Richard,
Pushed as https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=d65eb8a6bbeae7533dd41cb307b427f3f8585d9b

FX

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] testsuite, x86: Handle a broken assembler.
@ 2023-10-29  7:19 Iain Sandoe
  0 siblings, 0 replies; 4+ messages in thread
From: Iain Sandoe @ 2023-10-29  7:19 UTC (permalink / raw)
  To: gcc-patches; +Cc: ubizjak

Tested on x86_64-darwin and x86_64-linux,
OK for trunk?
thanks
Iain

--- 8< ---

Earlier assembler support for complex fp16 on x86_64 Darin is broken. This
adds an additional test to the existing target-supports that fails for the
broken assemblers but works for the newer, fixed, ones.

gcc/testsuite/ChangeLog:

	* lib/target-supports.exp: Test an asm line that fails on broken
	Darwin assembler versions.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
---
 gcc/testsuite/lib/target-supports.exp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index f0b692a2e19..61ab063afbe 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -10062,6 +10062,7 @@ proc check_effective_target_avx512fp16 { } {
 	void foo (void)
 	{
 	  asm volatile ("vmovw %edi, %xmm0");
+	  asm volatile ("vfcmulcph %xmm1, %xmm2, %xmm3{%k1}");
 	}
     } "-O2 -mavx512fp16" ]
 }
-- 
2.39.2 (Apple Git-143)


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-11-29 10:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-27  8:10 [PATCH] testsuite, x86: Handle a broken assembler FX Coudert
2023-11-27  8:48 ` Richard Biener
2023-11-29 10:27   ` FX Coudert
  -- strict thread matches above, loose matches on Subject: below --
2023-10-29  7:19 Iain Sandoe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).