From patchwork Sun Nov 17 16:30:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 1196404 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=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-513828-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="SyFJ0kn0"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.b="ZLPuTY5E"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47GHdM4Xryz9sP4 for ; Mon, 18 Nov 2019 03:30:45 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=EJBeZBUae4S0aJ/BGscsW6nh2VRoxuIthRZorPsgkayH6aAhFm bNWtTCT4MOORvCdl6dCCBAZDSMVFRQmqTBBlyJ+82i+C6qijKLmFjrOYKjeYbuT2 kr3w9EM3wjkMpYelYhS4p3QjqhH5kzEAztyREKwHpkOB0lurYGqVJgUlQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=GUUdIaYxEXhbchDbDEPe8U+CKrg=; b=SyFJ0kn0mDMlInzBSvqj CKc2Yg7Pjvt1BFsMpZzPA7UqZ8NFU7yxX0WwYi2AFLUh+ayz4zvRHChu7kQwd3Gr fVn1At9x/V2F7Ndf8nngSPOTyHnk9LoKqXWYESWkB5ktdCbrfQ/H7oJhlCUUeJC9 HM+RXsFBIOZunMaCTrV4ADQ= Received: (qmail 92247 invoked by alias); 17 Nov 2019 16:30:37 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 92168 invoked by uid 89); 17 Nov 2019 16:30:33 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-14.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3 autolearn=ham version=3.3.1 spammy=95, cplxlower1, __mulsc3, complex-6.c X-HELO: us-smtp-delivery-1.mimecast.com Received: from us-smtp-2.mimecast.com (HELO us-smtp-delivery-1.mimecast.com) (207.211.31.81) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 17 Nov 2019 16:30:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574008230; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: openpgp:openpgp:autocrypt:autocrypt; bh=im+RrJEoXNk1lPMo8WTIYSBFgs7+Yx4R84kyvOPIgx8=; b=ZLPuTY5EO3Fp1WprEOEkMLoAaONw8ywqNnyEQkuhm+gsBTzfoCA9MTGlA+TjDydYAA/Wua dUTYpHS1JppnG5gmiLh699pUgPEeqGqSBT7nqu1qmR/zKM1G6qb+5iF1Q+lSzh9MBCEnAs s3wPqV5dhdvDIv1OZvfP8EHk24pDuiY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-221-yLIafndcPd2jTSuSAEeDvA-1; Sun, 17 Nov 2019 11:30:27 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 071481005514 for ; Sun, 17 Nov 2019 16:30:27 +0000 (UTC) Received: from localhost.localdomain (ovpn-112-33.rdu2.redhat.com [10.10.112.33]) by smtp.corp.redhat.com (Postfix) with ESMTP id 814F660468 for ; Sun, 17 Nov 2019 16:30:26 +0000 (UTC) To: gcc-patches From: Jeff Law Subject: [committed] Fix complex-6 for rx target Openpgp: preference=signencrypt Message-ID: <6ccc3b75-bd42-e339-b717-eaad47f9f3c2@redhat.com> Date: Sun, 17 Nov 2019 09:30:25 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-IsSubscribed: yes Jakub's recent changes to fix 92449 regresses complex-6 on the rx port because it defaults to !HONOR_NANs which compromises this test. ISTM the best thing to do is just avoid the two dump scans for the rx target. I haven't seen another port trip over this so I didn't create an effective-target test. Installing on the trunk momentarily. Jeff * gcc.dg/complex-6.c: Do not run dump scan tests for rx target. diff --git a/gcc/testsuite/gcc.dg/complex-6.c b/gcc/testsuite/gcc.dg/complex-6.c index e70322bf6f3..a7eae1e2513 100644 --- a/gcc/testsuite/gcc.dg/complex-6.c +++ b/gcc/testsuite/gcc.dg/complex-6.c @@ -9,5 +9,5 @@ foo (__complex float a, __complex float b) return a * b; } -/* { dg-final { scan-tree-dump-times "unord" 1 "cplxlower1" } } */ -/* { dg-final { scan-tree-dump-times "__mulsc3" 1 "cplxlower1" } } */ +/* { dg-final { scan-tree-dump-times "unord" 1 "cplxlower1" { target { ! rx*-*-* } } } } */ +/* { dg-final { scan-tree-dump-times "__mulsc3" 1 "cplxlower1" { target { ! rx*-*-* } } } } */