From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 77944 invoked by alias); 4 Aug 2016 08:34:33 -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 77929 invoked by uid 89); 4 Aug 2016 08:34:32 -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=matthewwahabarmcom, matthew.wahab@arm.com 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; Thu, 04 Aug 2016 08:34:22 +0000 Received: by mail-lf0-f65.google.com with SMTP id 33so13957327lfw.3 for ; Thu, 04 Aug 2016 01:34:22 -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=4xkUMAgbLPlfeWMKasLubcLfZuOs53aPi07upUOSY7g=; b=T1kUVk/13/npjPFpzk3Xf4ezQeAcR/nkN3KS2IXjjU3skR9P8xpFl5wRmbNRfW0haB LIs5vgnm34caSPQ6Rn+bja0jhv4DMrXP52IsZvOxKzGLGBzQiiywpzii/Q4bZu+p+mu9 wVFSzNZHApzeTUcAdhn+kPcpncb8P206UtuQ6tZzxYZf4N9Wt/EAkIryoDFLJf6Ch/oi jmcpgMCN7Cm0LbIrhs57+5m9F0vGuhrXHgNEMIdMK7eH36oOk9JoRzJYLP0AIaYzu2AV sgPr9PvANXMhGfUnx6i6lf7+aHdyBI+QSrBEG/yTLKKiwBUPT2qdHiQL3QkeqRYD/Orr +baw== X-Gm-Message-State: AEkooutnN9qXvuCV6D+x7AB+ulyHBfd+21xxxVVILvr92umMz4N4zFVaZN57XzVk5KyJdWTwesQHXuBHGEOkeg== X-Received: by 10.46.32.198 with SMTP id g67mr20432808lji.31.1470299659255; Thu, 04 Aug 2016 01:34:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.25.231 with HTTP; Thu, 4 Aug 2016 01:34:18 -0700 (PDT) In-Reply-To: <577A6FE4.90205@foss.arm.com> References: <573B28A3.9030603@foss.arm.com> <573B2F4C.60204@foss.arm.com> <577A6FE4.90205@foss.arm.com> From: Ramana Radhakrishnan Date: Thu, 04 Aug 2016 08:34:00 -0000 Message-ID: Subject: Re: [PATCH 15/17][ARM] Add tests for ARMv8.2-A FP16 support. To: Matthew Wahab Cc: gcc-patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-08/txt/msg00286.txt.bz2 On Mon, Jul 4, 2016 at 3:17 PM, Matthew Wahab wrote: > On 17/05/16 15:48, Matthew Wahab wrote: >> Support for using the half-precision floating point operations added by >> the ARMv8.2-A FP16 extension is based on the macros and intrinsics added >> to the ACLE for the extension. >> >> This patch adds tests to check the compilers treatment of the ACLE >> macros and the code generated for the new intrinsics. It does not >> include the executable tests for the >> gcc.target/aarch64/advsimd-intrinsics testsuite. Those are added later >> in the patch series. > > Changes since the previous version are: > > - Fix the vsqrte/vrsqrte spelling mistake. > > - armv8_2-fp16-scalar-2.c: Set option -std=c11, needed to test that > vaddh_f16 (vmulh_f16 (a, b), c) generates a VMLA. (Options enabled > with the default -std=g11 mean that VFMA would be generated > otherwise.) > > 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 OK. regards Ramana > > testsuite/ > 2016-07-04 Matthew Wahab > > > * gcc.target/arm/armv8_2-fp16-neon-1.c: New. > * gcc.target/arm/armv8_2-fp16-scalar-1.c: New. > * gcc.target/arm/armv8_2-fp16-scalar-2.c: New. > * gcc.target/arm/attr-fp16-arith-1.c: Add a test of intrinsics > support. >