From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: Re: [PATCH 3/3] arm: vfp: Bounce undefined instructions in vectored mode Date: Fri, 19 Sep 2014 02:40:01 +0100 Message-ID: <20140919014001.GB20773@arm.com> References: <1411076592-6157-1-git-send-email-sboyd@codeaurora.org> <1411076592-6157-4-git-send-email-sboyd@codeaurora.org> <20140918225531.GG5182@n2100.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from cam-admin0.cambridge.arm.com ([217.140.96.50]:57120 "EHLO cam-admin0.cambridge.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750855AbaISBkf (ORCPT ); Thu, 18 Sep 2014 21:40:35 -0400 Content-Disposition: inline In-Reply-To: <20140918225531.GG5182@n2100.arm.linux.org.uk> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Russell King - ARM Linux Cc: Stephen Boyd , "linux-arm-kernel@lists.infradead.org" , "linux-arm-msm@vger.kernel.org" , Stepan Moskovchenko , "linux-kernel@vger.kernel.org" On Thu, Sep 18, 2014 at 11:55:31PM +0100, Russell King - ARM Linux wrote: > On Thu, Sep 18, 2014 at 02:43:12PM -0700, Stephen Boyd wrote: > > From: Stepan Moskovchenko > > > > Certain ARM CPU implementations (e.g. Cortex-A15) may not raise a > > floating- point exception whenever deprecated short-vector VFP > > instructions are executed. Instead these instructions are treated > > as UNALLOCATED. Change the VFP exception handling code to emulate > > short-vector instructions even if FPEXC exception bits are not > > set. > > Purely out of interest, how much use do these instructions have in > real programs? They're seldom used, but there are apps in the app store that use short vectors to play music. Will From mboxrd@z Thu Jan 1 00:00:00 1970 From: will.deacon@arm.com (Will Deacon) Date: Fri, 19 Sep 2014 02:40:01 +0100 Subject: [PATCH 3/3] arm: vfp: Bounce undefined instructions in vectored mode In-Reply-To: <20140918225531.GG5182@n2100.arm.linux.org.uk> References: <1411076592-6157-1-git-send-email-sboyd@codeaurora.org> <1411076592-6157-4-git-send-email-sboyd@codeaurora.org> <20140918225531.GG5182@n2100.arm.linux.org.uk> Message-ID: <20140919014001.GB20773@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Sep 18, 2014 at 11:55:31PM +0100, Russell King - ARM Linux wrote: > On Thu, Sep 18, 2014 at 02:43:12PM -0700, Stephen Boyd wrote: > > From: Stepan Moskovchenko > > > > Certain ARM CPU implementations (e.g. Cortex-A15) may not raise a > > floating- point exception whenever deprecated short-vector VFP > > instructions are executed. Instead these instructions are treated > > as UNALLOCATED. Change the VFP exception handling code to emulate > > short-vector instructions even if FPEXC exception bits are not > > set. > > Purely out of interest, how much use do these instructions have in > real programs? They're seldom used, but there are apps in the app store that use short vectors to play music. Will