From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5794 invoked by alias); 28 Jul 2016 11:54:39 -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 5785 invoked by uid 89); 28 Jul 2016 11:54:38 -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=matthew.wahab@arm.com, matthew.wahab@foss.arm.com, matthewwahabfossarmcom, matthewwahabarmcom X-HELO: mail-lf0-f67.google.com Received: from mail-lf0-f67.google.com (HELO mail-lf0-f67.google.com) (209.85.215.67) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 28 Jul 2016 11:54:28 +0000 Received: by mail-lf0-f67.google.com with SMTP id f93so3552015lfi.0 for ; Thu, 28 Jul 2016 04:54:27 -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=lVBYqWMukTvJf7lD9x+pysqrkcaW8gcFbPHiL5lzPGo=; b=Sa+6dGwKFQ688hOSSOjiHehL6gr3Ck64A6dYHGfylK40yBW46s/L2neO301fxlBpON Ko1CYPL8iRwcq9pLdi30Hdc3qFvPjVUROG80Gl7A8JRQuh3WwIgnX5oXzPd5LSkv9hNh WnWYl4CzmRsspIRt+dVplZCc1VlduVtalmjuyKTkDdV5y54pK11Yuq2jbY3Gmw0WSmcl SgITMhmAGSE5gBj9ymTTGoZj37KhFui+ROodKuDNoAI9eHD4Bt2N6QFrD8j+Vk39njAn B8gXdtS4deKvPp0ue4CXTL3I23tJxXtcW4f07WhzpkFNRcryjBP1yHYJ97S80aAf3F8N E4YQ== X-Gm-Message-State: AEkooutuaUxkCjOklX2zNhwMIkNAaL8vHMeuwLSzTgjCVOrfKMb6XdaRGHBLJ3UBqyO+R7IxEcfN3eOfQ9ZI8g== X-Received: by 10.25.28.16 with SMTP id c16mr13396203lfc.79.1469706864694; Thu, 28 Jul 2016 04:54:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.25.231 with HTTP; Thu, 28 Jul 2016 04:54:24 -0700 (PDT) In-Reply-To: <573B2D2D.4030507@foss.arm.com> References: <573B28A3.9030603@foss.arm.com> <573B2D2D.4030507@foss.arm.com> From: Ramana Radhakrishnan Date: Thu, 28 Jul 2016 11:54:00 -0000 Message-ID: Subject: Re: [PATCH 10/17][ARM] Refactor support code for NEON builtins. To: Matthew Wahab Cc: gcc-patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-07/txt/msg01858.txt.bz2 On Tue, May 17, 2016 at 3:39 PM, Matthew Wahab wrote: > The ACLE intrinsics introduced to support the ARMv8.2 FP16 extensions > require that intrinsics for scalar (VFP) instructions are available > under different conditions from those for the NEON intrinsics. To > support this, changes to the builtins support code are needed to enable > the scalar intrinsics to be initialized and expanded independently of > the NEON intrinsics. > > This patch prepares for this by refactoring some of the builtin support > code so that it can be used for both the scalar and the NEON intrinsics. > > 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. Ramana > > Ok for trunk? > Matthew > > 2016-05-17 Matthew Wahab > > * config/arm/arm-builtins.c (ARM_BUILTIN_NEON_PATTERN_START): > Change offset calculation. > (arm_init_neon_builtin): New. > (arm_init_builtins): Move body of a loop to the standalone > function arm_init_neon_builtin. > (arm_expand_neon_builtin_1): New. Update comment. Function body > moved from arm_expand_neon_builtin with some white-space fixes. > (arm_expand_neon_builtin): Move code into the standalone function > arm_expand_neon_builtin_1. >