public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-10346] testsuite, x86: Handle a broken assembler
@ 2024-04-19 13:13 Iain D Sandoe
  0 siblings, 0 replies; only message in thread
From: Iain D Sandoe @ 2024-04-19 13:13 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:390448a2873befde7fecb2828211ee585f46d212

commit r12-10346-g390448a2873befde7fecb2828211ee585f46d212
Author: Iain Sandoe <iains.gcc@gmail.com>
Date:   Sun Oct 29 07:19:53 2023 +0000

    testsuite, x86: Handle a broken assembler
    
    Earlier assembler support for complex fp16 on x86_64 Darwin 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.
    
    (cherry picked from commit d65eb8a6bbeae7533dd41cb307b427f3f8585d9b)

Diff:
---
 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 1eaa034f5f4..e0076ed8f69 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -9355,6 +9355,7 @@ proc check_effective_target_avx512fp16 { } {
 	void foo (void)
 	{
 	  asm volatile ("vmovw %edi, %xmm0");
+	  asm volatile ("vfcmulcph %xmm1, %xmm2, %xmm3{%k1}");
 	}
     } "-O2 -mavx512fp16" ]
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-19 13:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-19 13:13 [gcc r12-10346] testsuite, x86: Handle a broken assembler Iain D 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).