From patchwork Tue May 25 09:09:17 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tarun Kanti DebBarma X-Patchwork-Id: 102138 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4P99Kpc007982 for ; Tue, 25 May 2010 09:09:20 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754726Ab0EYJJS (ORCPT ); Tue, 25 May 2010 05:09:18 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:41608 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754082Ab0EYJJS convert rfc822-to-8bit (ORCPT ); Tue, 25 May 2010 05:09:18 -0400 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id o4P99Cig014851 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 25 May 2010 04:09:15 -0500 Received: from dbde70.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id o4P99CYf015320; Tue, 25 May 2010 14:39:12 +0530 (IST) Received: from dbde02.ent.ti.com ([172.24.170.145]) by dbde70.ent.ti.com ([172.24.170.148]) with mapi; Tue, 25 May 2010 14:39:12 +0530 From: "DebBarma, Tarun Kanti" To: "linux-omap@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Date: Tue, 25 May 2010 14:39:17 +0530 Subject: [PATCH] ARM:VFPv3:enable {d16-d31} access Thread-Topic: [PATCH] ARM:VFPv3:enable {d16-d31} access Thread-Index: Acr76QLFstnm1mEXRj+quxENBgz3jAAAMXkA Message-ID: <5A47E75E594F054BAF48C5E4FC4B92AB0322FA884E@dbde02.ent.ti.com> References: <1274818736-26597-1-git-send-email-tarun.kanti@ti.com> In-Reply-To: <1274818736-26597-1-git-send-email-tarun.kanti@ti.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 25 May 2010 09:09:20 +0000 (UTC) diff --git a/arch/arm/vfp/Makefile b/arch/arm/vfp/Makefile index 39f6d8e..75855c0 100644 --- a/arch/arm/vfp/Makefile +++ b/arch/arm/vfp/Makefile @@ -7,7 +7,7 @@ # EXTRA_CFLAGS := -DDEBUG # EXTRA_AFLAGS := -DDEBUG -KBUILD_AFLAGS :=$(KBUILD_AFLAGS:-msoft-float=-Wa,-mfpu=softvfp+vfp) +KBUILD_AFLAGS :=$(KBUILD_AFLAGS:-msoft-float=-Wa,-mfpu=vfp3 -mfloat-abi=softfp) LDFLAGS +=--no-warn-mismatch obj-y += vfp.o diff --git a/arch/arm/vfp/vfphw.S b/arch/arm/vfp/vfphw.S old mode 100644 new mode 100755 index 66dc2d0..b034076 --- a/arch/arm/vfp/vfphw.S +++ b/arch/arm/vfp/vfphw.S @@ -254,8 +254,8 @@ ENTRY(vfp_get_double) .endr #ifdef CONFIG_VFPv3 @ d16 - d31 registers - .irp dr,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 -1: mrrc p11, 3, r0, r1, c\dr @ fmrrd r0, r1, d\dr + .irp dr,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31 +1: fmrrd r0, r1, d\dr mov pc, lr .org 1b + 8 .endr @@ -276,8 +276,8 @@ ENTRY(vfp_put_double) .endr #ifdef CONFIG_VFPv3 @ d16 - d31 registers - .irp dr,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 -1: mcrr p11, 3, r1, r2, c\dr @ fmdrr r1, r2, d\dr + .irp dr,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31 +1: fmdrr d\dr, r1, r2 mov pc, lr .org 1b + 8 .endr