From patchwork Wed Aug 22 13:16:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Szabolcs Nagy X-Patchwork-Id: 960960 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-484186-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="go7mwMFL"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="aYwZqEWt"; 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 41wSkD10dNz9s5b for ; Wed, 22 Aug 2018 23:16:50 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:cc:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=DGvHVUEAmzO7aV/jl4fdyq6y+PXj3bPGvDRvSRpPrLrIZAjT5W CPpMJ1ojfJdLxkGWnwhSqRsw45f3tSADXcMN0P7CXH3+D5nD+56Xszc0sWNjByln k+Oe5kdf8gD0NT4CHpCekKeNcyMPaCICl/b3Qf3KGuQQAgGVdkT7RonZo= 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:cc:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=hrqfQaVfmTM0m14vSr1dUHX285s=; b=go7mwMFLqZbBYDNh7XS0 /qBsvygfp8zRyrNmKMLOuPsSs33ubImJtUCIk93ApuDfZ60Owiz7h2Q56ImI4YL2 c6efKqO1WE1v5OdIWUIObOjCQqGjoVvEYWDYt3TM36tvitLR4ESKkek2BeIj2qLZ 4MWI4JZbbeOT8Mrrovw4Lvg= Received: (qmail 122768 invoked by alias); 22 Aug 2018 13:16:43 -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 122685 invoked by uid 89); 22 Aug 2018 13:16:35 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-24.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.3.2 spammy= X-HELO: EUR04-VI1-obe.outbound.protection.outlook.com Received: from mail-eopbgr80045.outbound.protection.outlook.com (HELO EUR04-VI1-obe.outbound.protection.outlook.com) (40.107.8.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 22 Aug 2018 13:16:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=knCc7cxw79w1POAYCUeqR3eUoo3Jn3uVH4dlnEmaJVo=; b=aYwZqEWtzZFxD4v4IstQCb44EczcRkuuMryei+7oCb1GAmOXiAZ/yvs5cEVKSCH0qcAT5DYhZNp+8GL/5dkKMs0sNzcmqYJyqnkg8koItQxwrBxtcoXovbkAdIuAq4bixW+iUwCwavF2NjD8PPYhJ5Ij9cZlTjNAkQpXbqrUin8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Szabolcs.Nagy@arm.com; Received: from [10.2.206.57] (217.140.106.54) by VI1PR08MB3296.eurprd08.prod.outlook.com (2603:10a6:803:3e::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1080.14; Wed, 22 Aug 2018 13:16:28 +0000 Cc: nd@arm.com, Janne Blomqvist To: GCC Patches , Fortran List From: Szabolcs Nagy Subject: [PATCH] Change AArch64 specific FMAX/FMIN tests into generic MAX_EXPR/MIN_EXPR tests Message-ID: <7cb9c213-c2ef-553b-a436-72feedd05fcc@arm.com> Date: Wed, 22 Aug 2018 14:16:26 +0100 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Received-SPF: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-IsSubscribed: yes gfortran now always uses MAX_EXPR/MIN_EXPR for MAX/MIN intrinsics, so the AArch64 specific FMAX/FMIN tests are no longer valid. 2018-08-22 Szabolcs Nagy * gfortran.dg/max_fmax_aarch64.f90: Rename to... * gfortran.dg/max_expr.f90: ...this. * gfortran.dg/min_fmin_aarch64.f90: Rename to... * gfortran.dg/min_expr.f90: ...this. diff --git a/gcc/testsuite/gfortran.dg/max_fmax_aarch64.f90 b/gcc/testsuite/gfortran.dg/max_expr.f90 similarity index 74% rename from gcc/testsuite/gfortran.dg/max_fmax_aarch64.f90 rename to gcc/testsuite/gfortran.dg/max_expr.f90 index b818241a1f9..c00ad62f744 100644 --- a/gcc/testsuite/gfortran.dg/max_fmax_aarch64.f90 +++ b/gcc/testsuite/gfortran.dg/max_expr.f90 @@ -1,4 +1,4 @@ -! { dg-do compile { target aarch64*-*-* } } +! { dg-do compile } ! { dg-options "-O2 -fdump-tree-optimized" } subroutine foo (a, b, c, d, e, f, g, h) @@ -12,4 +12,4 @@ subroutine foof (a, b, c, d, e, f, g, h) end subroutine -! { dg-final { scan-tree-dump-times "\.FMAX " 14 "optimized" } } +! { dg-final { scan-tree-dump-times "MAX_EXPR " 14 "optimized" } } diff --git a/gcc/testsuite/gfortran.dg/min_fmin_aarch64.f90 b/gcc/testsuite/gfortran.dg/min_expr.f90 similarity index 74% rename from gcc/testsuite/gfortran.dg/min_fmin_aarch64.f90 rename to gcc/testsuite/gfortran.dg/min_expr.f90 index 009869b497d..5f32d5073c9 100644 --- a/gcc/testsuite/gfortran.dg/min_fmin_aarch64.f90 +++ b/gcc/testsuite/gfortran.dg/min_expr.f90 @@ -1,4 +1,4 @@ -! { dg-do compile { target aarch64*-*-* } } +! { dg-do compile } ! { dg-options "-O2 -fdump-tree-optimized" } subroutine foo (a, b, c, d, e, f, g, h) @@ -12,4 +12,4 @@ subroutine foof (a, b, c, d, e, f, g, h) a = min (a, b, c, d, e, f, g, h) end subroutine -! { dg-final { scan-tree-dump-times "\.FMIN " 14 "optimized" } } +! { dg-final { scan-tree-dump-times "MIN_EXPR " 14 "optimized" } }