From patchwork Mon Sep 9 15:17:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Greenhalgh X-Patchwork-Id: 273584 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "www.sourceware.org", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 3C0A92C0098 for ; Tue, 10 Sep 2013 01:18:09 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type; q=dns; s=default; b=olN4A7srS8iw1Uf3 IOHbiE92VlsI2t4XupFohOKDR5cFNwyP73Itbl0qSFnXXQWZUBHxj0uovR3MGbu/ fQDHKNquQ/+PaXKcPMT8DESL9Wub8EUtCmmVprq9nNYXtnktPICnjcGqG4cia5O2 m9rM2E4PQKSgv93t8aA+xT9SbiA= 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:from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type; s=default; bh=idBQGoq+S+zoyooVc5h6I8 KZIN0=; b=RUFweCiDzOhM7p5HVcH0sfClL/oCW7am+VUMjlhkWO6JMJ+aAWDeL8 nmnIIoYcip3AnMvP6cILQnbKDot2jJZaw9wrPTg786t1KidPxUwEXxKraG/boB8D Z1DBjQO0bfCf1kpy9CRchozW7WWDaRboX0iR4HZJ5shzNwHDXb23c= Received: (qmail 18240 invoked by alias); 9 Sep 2013 15:18:01 -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 18226 invoked by uid 89); 9 Sep 2013 15:18:00 -0000 Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 09 Sep 2013 15:18:00 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.0 required=5.0 tests=AWL, BAYES_00, KHOP_THREADED, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_NO, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-HELO: service87.mimecast.com Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Mon, 09 Sep 2013 16:17:56 +0100 Received: from e106375-lin.cambridge.arm.com ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.0); Mon, 9 Sep 2013 16:17:55 +0100 From: James Greenhalgh To: gcc-patches@gcc.gnu.org Cc: marcus.shawcroft@arm.com, richard.earnshaw@arm.com Subject: [AArch64] obvious - Fix parameter to vrsqrte_f64 Date: Mon, 9 Sep 2013 16:17:50 +0100 Message-Id: <1378739870-8727-1-git-send-email-james.greenhalgh@arm.com> In-Reply-To: <52273E9E.5000103@arm.com> References: <52273E9E.5000103@arm.com> MIME-Version: 1.0 X-MC-Unique: 113090916175600201 X-IsSubscribed: yes Hi, vrsqrte_f64 is currently defined to take a float64x2_t, but it should take a float64x1_t. I've committed the attached, obvious fix as revision 202407. James --- 2013-09-09 James Greenhalgh * config/aarch64/arm_neon.h (vrsqrte_f64): Fix parameter type. diff --git a/gcc/config/aarch64/arm_neon.h b/gcc/config/aarch64/arm_neon.h index ac94516..23b1116 100644 --- a/gcc/config/aarch64/arm_neon.h +++ b/gcc/config/aarch64/arm_neon.h @@ -12764,11 +12764,11 @@ vrsqrte_f32 (float32x2_t a) return result; } -__extension__ static __inline float64x2_t __attribute__ ((__always_inline__)) -vrsqrte_f64 (float64x2_t a) +__extension__ static __inline float64x1_t __attribute__ ((__always_inline__)) +vrsqrte_f64 (float64x1_t a) { - float64x2_t result; - __asm__ ("frsqrte %0.2d,%1.2d" + float64x1_t result; + __asm__ ("frsqrte %d0,%d1" : "=w"(result) : "w"(a) : /* No clobbers */);