From patchwork Tue Dec 8 12:45:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 1412666 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=CeBiTec.Uni-Bielefeld.DE header.i=@CeBiTec.Uni-Bielefeld.DE header.a=rsa-sha256 header.s=20200306 header.b=dqrmOEdW; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Cr0JS2z4vz9sWQ for ; Tue, 8 Dec 2020 23:45:11 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 114A2385702C; Tue, 8 Dec 2020 12:45:08 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp.CeBiTec.Uni-Bielefeld.DE (smtp.CeBiTec.Uni-Bielefeld.DE [129.70.160.84]) by sourceware.org (Postfix) with ESMTPS id 5EF4B3857819 for ; Tue, 8 Dec 2020 12:45:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5EF4B3857819 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: sourceware.org; spf=none smtp.mailfrom=ro@cebitec.uni-bielefeld.de Received: from localhost (localhost [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 331B3EB3A; Tue, 8 Dec 2020 13:45:04 +0100 (CET) X-Virus-Scanned: amavisd-new at CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (smtp.cebitec.uni-bielefeld.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nkgUCTfJzXeb; Tue, 8 Dec 2020 13:45:03 +0100 (CET) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p4fddb2f4.dip0.t-ipconnect.de [79.221.178.244]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id 6B960E8FB; Tue, 8 Dec 2020 13:45:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=CeBiTec.Uni-Bielefeld.DE; s=20200306; t=1607431503; bh=nopVTgrfGKlWJspCYFU2EJcBIJyEVf/RYOSgR9a9y1w=; h=From:To:Cc:Subject:Date:From; b=dqrmOEdWq3/Oj+nmP4eN6Rpj4icdHw2wd1Rqm17dm/I9Pq1TJcbE/wAQgRlD2TJ+T abU/bo/ykQRG72t9kg5bAzVX4ew1t83JCEoyhOkyj3MPYcbdU+f+lLDRkPRRYegor+ FSCWt6IFXXL5XJZj48v0oMWunq9mBKBxSiTFqWZHFe8efCg1oKp9OKWb7Z1VRg/Nab BKgssDCYmNYFj+hOmevIRXa/j8th5cNC16ovOfnMASpzNc+poTAnGdMl3Q8sUN1hTy 9U2lxWbvvE4UNY+QcStJTBuA9X6PcOnJ7jF7q83Kocwo2xkTyI5yFZ0Z31RICoYZsG Sx0DR/slsBYUw== From: Rainer Orth To: gcc-patches@gcc.gnu.org Subject: [COMMITTED] testsuite: i386: Require avx512vpopcntdq in two tests Date: Tue, 08 Dec 2020 13:45:01 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (usg-unix-v) MIME-Version: 1.0 X-Spam-Status: No, score=-3786.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP, UNWANTED_LANGUAGE_BODY autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Hongyu Wang Errors-To: gcc-patches-bounces@gcc.gnu.org Sender: "Gcc-patches" Two recent AVX512 tests FAIL on Solaris/x86 with /bin/as: FAIL: gcc.target/i386/avx512vpopcntdq-pr97770-2.c (test for excess errors) Excess errors: Assembler: avx512vpopcntdq-pr97770-2.c "/var/tmp//ccM4Gt1a.s", line 171 : Illegal mnemonic Near line: " vpopcntd (%eax), %zmm0" "/var/tmp//ccM4Gt1a.s", line 171 : Syntax error Near line: " vpopcntd (%eax), %zmm0" FAIL: gcc.target/i386/avx512vpopcntdqvl-pr97770-1.c (test for excess errors) similarly. Fixed as follows. Tested on i386-pc-solaris2.11 with as and gas and x86_64-pc-linux-gnu. Installed on master. Rainer # HG changeset patch # Parent bb5cf0aa086befe7ea1de833e2dcb5f53d638eb8 testsuite: i386: Require avx512vpopcntdq in two tests diff --git a/gcc/testsuite/gcc.target/i386/avx512vpopcntdq-pr97770-2.c b/gcc/testsuite/gcc.target/i386/avx512vpopcntdq-pr97770-2.c --- a/gcc/testsuite/gcc.target/i386/avx512vpopcntdq-pr97770-2.c +++ b/gcc/testsuite/gcc.target/i386/avx512vpopcntdq-pr97770-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-options "-O2 -mavx512vpopcntdq" } */ +/* { dg-require-effective-target avx512vpopcntdq } */ #define AVX512VPOPCNTDQ diff --git a/gcc/testsuite/gcc.target/i386/avx512vpopcntdqvl-pr97770-1.c b/gcc/testsuite/gcc.target/i386/avx512vpopcntdqvl-pr97770-1.c --- a/gcc/testsuite/gcc.target/i386/avx512vpopcntdqvl-pr97770-1.c +++ b/gcc/testsuite/gcc.target/i386/avx512vpopcntdqvl-pr97770-1.c @@ -1,5 +1,7 @@ /* { dg-do run } */ /* { dg-options "-O3 -mavx512vpopcntdq -mavx512vl" } */ +/* { dg-require-effective-target avx512vpopcntdq } */ +/* { dg-require-effective-target avx512vl } */ #define AVX512VL #define AVX512F_LEN 256