Message ID | 20231029071953.55803-1-iain@sandoe.co.uk |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:d641:0:b0:403:3b70:6f57 with SMTP id cy1csp1561802vqb; Sun, 29 Oct 2023 00:20:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHrkfFuoIM8ayPQw306OKSezexXZ5SJ8ZWyQIa5+D4M5uv1cc22SBQCihS7tdjq4cwPtCgv X-Received: by 2002:a05:6214:19c3:b0:670:63bc:a2ca with SMTP id j3-20020a05621419c300b0067063bca2camr4815942qvc.28.1698564020084; Sun, 29 Oct 2023 00:20:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698564020; cv=pass; d=google.com; s=arc-20160816; b=M4eaAhZEZPwQj5zebTubyXcSUQEcw/ghgakaOVSfNiypnjexkMvcFORLzdFdZsyqbA AnyNLG2X4uFtpOyVqANsR0Bt9ahST4yzaTO/2dtKFVBDflAWD4ha3QCgFhQRI42gX1Wl Yoil84kXgl3suVdR42v9xF92flBB8t0NFQSDgBHiposCO+rttIBp24+zUl5yvo2bPIHZ BfNSOErbiS+yRqoXp19ZpCF1MzJOCoOaLRucH3iioxUWj2F4v5Z2V2+lVPlVgZg6IpcS kfgHsufp6gHKzKRZwyMDsXFzbQ2n2Zajvf72tx34sbsPw0lDQPQ68Wu8heYLcK31no47 rZhA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:reply-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=LsqU/DtF7mvgOrDth6XlEhoK7G5u7CG8Qy9G75ZS98U=; fh=M9XNq6pp4cuYh4m9HuQL4m4KupZ49y5jyliIXWeb38Y=; b=NG8Hr1XF2wW+Cu/9HAzksmuhI6slFDi19jUhn0dCAhs4pYyK+0b3Gkd4+1GFnctfg6 7BnY6YNO3jURenY9q0ctde13JTINxzRkbSTWLUp/oSnbxUu/DgJhsWGsL44P0B5/ua0E b1/BCeDF65M+l7XHOAjNQ1Ut9xFw24MIJAbpel6MmueIybkn9ZkztWFNAJipwxsiloBf iyzlGaK0oufxkEg15XddcMPlzg4ZgriczxWPQOwC9Bw4h3jfRSehbWoTYV3i8ztQf89e fKnf0+2Kbc+z0D9tWC/UFPxbp0/59RBRmigN7PqoPHmiepbC3MpqUM9p0o169QOFEMR+ NVig== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jn5kMPEi; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id pm16-20020ad446d0000000b006709501a673si2533245qvb.199.2023.10.29.00.20.20 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 00:20:20 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jn5kMPEi; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D696938618E4 for <ouuuleilei@gmail.com>; Sun, 29 Oct 2023 07:20:19 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by sourceware.org (Postfix) with ESMTPS id 67D8D3858C74 for <gcc-patches@gcc.gnu.org>; Sun, 29 Oct 2023 07:19:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 67D8D3858C74 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 67D8D3858C74 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::32e ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698563997; cv=none; b=jWfatKxDwziKQuvLl5fJ4SXS2LTykwYWJOywaGg/PJQ0dq/caxvZIFI49wmN3/07o6WFSX5XDQkSoB2iQgazGg2J/pMF4Hdj9ys+owUON+YF8otIR7z7uSKc5YZjhK5k0K1YSBMZyuXiFUVTGGUbInus+iVlH2jjMU1WVlBtedE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698563997; c=relaxed/simple; bh=Ox8i0p1MYiXfryBDvHSypTCeBkGtwYGZL88LEqXD0Vo=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=JBOch5bsHEIS5b7AyZ87N+hvB9Uv/bpYZMh1pVxSx5XmG+5JfjrrOic2jJ3/i7Hg+E0rVsZ2qP58wrC+ScYe3T/O2F2gbXYg0X+0LF3klXfBCHdkj2YaRAj2JoK2UZpWMfHxOFdVF7+Ypvx6NtwyVjQOkLsd+tuB0k84/EqYTtI= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-40790b0a224so25534335e9.0 for <gcc-patches@gcc.gnu.org>; Sun, 29 Oct 2023 00:19:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698563995; x=1699168795; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:reply-to:message-id:date :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=LsqU/DtF7mvgOrDth6XlEhoK7G5u7CG8Qy9G75ZS98U=; b=jn5kMPEiauUzjAMGZm1DPHD730dPMAWOy+XPHQEf5Tlxdmt1ohiWmVCQaE2DC+DWxF pe2SE2fBNJMJQl4T3Hyxr9MqR8wJHpxNUi6uxBMj9WXDrcWGLKY9hMV0CDiPYFfSQxFf nII4f96n7XvWuqcAvQarjczQ/BpA2w+rV5n9sVALrA05T+t8zWaePYxxivochkE5SxUX 5esKYIH+qqWdm0M0LLavDFYvMnZqcjS3sxTgjKO0iHMSRaLQmac6mFVCbMfg5Mq1SARr PVp9PwR/XO8rsX2B03qKm6QXCy+VwrSjdzqx8MIYWQpo3n4QpWEjNWgUZPZMrVmYCfkU 0+dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698563995; x=1699168795; h=content-transfer-encoding:mime-version:reply-to:message-id:date :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=LsqU/DtF7mvgOrDth6XlEhoK7G5u7CG8Qy9G75ZS98U=; b=D9D6f0W1i7dPdAFHXUgd8cL3vrvWDb41TQaqPqjb7V4X78MI3naf5FcIbHHO0CxTXL tXAE0z11qYps3pqXdoa+p1zno0/60M6OONyPYGL2J4EYxLvo4UbPoL8rCQotT8RBcHu3 rG1p5ULJ293qBn3Y8jQNrk+C6b1SXEQXUUUqd7HE4YhQaTYYHGZ2VxCUiRPbHNBP9jHh 1q1CL+FM8WaB4oD+QCMpuQICtHqyrL3lALF/XTg9iLI26Lhv/KTPluAPP7tR8wVnQ2LD MBhWJAKlhvRdNVmFMOFMUD6RCx4p+ImY/nBWM9SOeS1+dIthQ9Qaw+a/ZZ4fLjGD5/G+ XrCw== X-Gm-Message-State: AOJu0Yy/goa7FIYGx7SAOILknmTbBbAEkKZuiNl9xxg6R4KN00tP/u+7 YsiC1ugzVq0YI7chBU9eViJgDEhLLBk= X-Received: by 2002:a05:600c:4f0f:b0:401:d803:624f with SMTP id l15-20020a05600c4f0f00b00401d803624fmr5689835wmq.4.1698563994911; Sun, 29 Oct 2023 00:19:54 -0700 (PDT) Received: from localhost.localdomain (host81-138-1-83.in-addr.btopenworld.com. [81.138.1.83]) by smtp.gmail.com with ESMTPSA id o2-20020a05600c378200b004083a105f27sm9168415wmr.26.2023.10.29.00.19.54 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sun, 29 Oct 2023 00:19:54 -0700 (PDT) From: Iain Sandoe <iains.gcc@gmail.com> X-Google-Original-From: Iain Sandoe <iain@sandoe.co.uk> To: gcc-patches@gcc.gnu.org Cc: ubizjak@gmail.com Subject: [PATCH] testsuite, x86: Handle a broken assembler. Date: Sun, 29 Oct 2023 07:19:53 +0000 Message-Id: <20231029071953.55803-1-iain@sandoe.co.uk> X-Mailer: git-send-email 2.39.2 (Apple Git-143) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Reply-To: iain@sandoe.co.uk Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781073465822883333 X-GMAIL-MSGID: 1781073465822883333 |
Series |
testsuite, x86: Handle a broken assembler.
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Iain Sandoe
Oct. 29, 2023, 7:19 a.m. UTC
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" ] }