From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 48012 invoked by alias); 27 Jul 2016 13:34:02 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 47959 invoked by uid 89); 27 Jul 2016 13:34:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=arm-specific, ARMspecific, ARM-specific, armspecific X-HELO: mail-lf0-f65.google.com Received: from mail-lf0-f65.google.com (HELO mail-lf0-f65.google.com) (209.85.215.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 27 Jul 2016 13:33:51 +0000 Received: by mail-lf0-f65.google.com with SMTP id l69so2073618lfg.1 for ; Wed, 27 Jul 2016 06:33:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=GSX/Vu63H8mYNMqzyKD54aw9ScOUtvbL2GjE+YPy2G0=; b=FLyzRhhePHX/OaPEu81w81nsJl5LFqFxcOuFvRnrqN1KlgcQW9OOPLrbfWHiyKpUJ4 rTRZNTaTvV8i3Yp2qg8HaBXwyfZdVgfpXcu/xEAysdNcfXP1dNWN3eredUD9YYGjLkfH 4niQXVpAJuUnlFViLp8Tmv4ojiQjGkQGftWsTssUA05vS0h2GDMFjVK2kXI40F30fEnW YtxnMdRpuzPc0sZT425BdKwbOPifABck4CxwTpzkUolrt3omdBIarPWuo8n0Q0FjT3Gy +Blp5vbRqWf/fpg/D9+MtndoiVX7mW4cDPyMfTYwpkY9fWbCmF5O05dMbBil5QhGDQeu rQ0g== X-Gm-Message-State: AEkoouvE/x/KbsIjz5NlPNthD60X9hy/R6WzgdgqO1iqVdz+Lg3a4Xdx8fTtMtkFfYU50Kk+wHSNeIaUn3121A== X-Received: by 10.25.25.12 with SMTP id 12mr12668609lfz.149.1469626428151; Wed, 27 Jul 2016 06:33:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.20.71 with HTTP; Wed, 27 Jul 2016 06:33:47 -0700 (PDT) In-Reply-To: <573B29B6.3060804@foss.arm.com> References: <573B28A3.9030603@foss.arm.com> <573B29B6.3060804@foss.arm.com> From: Ramana Radhakrishnan Date: Wed, 27 Jul 2016 13:34:00 -0000 Message-ID: Subject: Re: [PATCH 2/17][Testsuite] Add a selector for ARM FP16 alternative format support. To: Matthew Wahab Cc: gcc-patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-07/txt/msg01780.txt.bz2 On Tue, May 17, 2016 at 3:24 PM, Matthew Wahab wrote: > The ARMv8.2-A FP16 extension only supports the IEEE format for FP16 > data. It is not compatible with the option -mfp16-format=none nor with > the option -mfp16-format=alternative (selecting the ARM alternative FP16 > format). Using either with the FP16 extension will trigger a compiler > error. > > This patch adds the selector arm_fp16_alternative_ok to the testsuite's > target-support code to allow tests to require support for the > alternative format. It also adds selector arm_fp16_none_ok to check > whether -mfp16-format=none is a valid option for the target. The patch > also updates existing tests to make use of the new selectors. > > Tested the series for arm-none-linux-gnueabihf with native bootstrap and > make check and for arm-none-eabi and armeb-none-eabi with make check on an > ARMv8.2-A emulator. > > Ok for trunk? > Matthew > > 2016-05-17 Matthew Wahab > > * doc/sourcebuild.texi (ARM-specific attributes): Add entries for > arm_fp16_alternative_ok and arm_fp16_none_ok. > > testsuite/ > 2016-05-17 Matthew Wahab > > * g++.dg/ext/arm-fp16/arm-fp16-ops-3.C: Use > arm_fp16_alternative_ok. > * g++.dg/ext/arm-fp16/arm-fp16-ops-4.C: Likewise. > * gcc.dg/torture/arm-fp16-int-convert-alt.c: Likewise. > * gcc/testsuite/gcc.dg/torture/arm-fp16-ops-3.c: Likewise. > * gcc/testsuite/gcc.dg/torture/arm-fp16-ops-4.c: Likewise. > * gcc.target/arm/fp16-compile-alt-1.c: Likewise. > * gcc.target/arm/fp16-compile-alt-10.c: Likewise. > * gcc.target/arm/fp16-compile-alt-11.c: Likewise. > * gcc.target/arm/fp16-compile-alt-12.c: Likewise. > * gcc.target/arm/fp16-compile-alt-2.c: Likewise. > * gcc.target/arm/fp16-compile-alt-3.c: Likewise. > * gcc.target/arm/fp16-compile-alt-4.c: Likewise. > * gcc.target/arm/fp16-compile-alt-5.c: Likewise. > * gcc.target/arm/fp16-compile-alt-6.c: Likewise. > * gcc.target/arm/fp16-compile-alt-7.c: Likewise. > * gcc.target/arm/fp16-compile-alt-8.c: Likewise. > * gcc.target/arm/fp16-compile-alt-9.c: Likewise. > * gcc.target/arm/fp16-compile-none-1.c: Use arm_fp16_none_ok. > * gcc.target/arm/fp16-compile-none-2.c: Likewise. > * gcc.target/arm/fp16-rounding-alt-1.c: Use > arm_fp16_alternative_ok. > * lib/target-supports.exp > (check_effective_target_arm_fp16_alternative_ok_nocache): New. > (check_effective_target_arm_fp16_alternative_ok): New. > (check_effective_target_arm_fp16_none_ok_nocache): New. > (check_effective_target_arm_fp16_none_ok): New. > OK. Thanks, ramana