From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zf44r-0006n6-4C for qemu-devel@nongnu.org; Thu, 24 Sep 2015 06:48:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zf44n-0008DQ-UH for qemu-devel@nongnu.org; Thu, 24 Sep 2015 06:48:37 -0400 Received: from nm29-vm1.bullet.mail.bf1.yahoo.com ([98.139.213.144]:45285) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zf44n-0008DM-Hq for qemu-devel@nongnu.org; Thu, 24 Sep 2015 06:48:33 -0400 Date: Thu, 24 Sep 2015 10:48:31 +0000 (UTC) From: sridhar kulkarni Message-ID: <857828706.259573.1443091711785.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_259572_1607611453.1443091711782" Subject: Re: [Qemu-devel] qemu-system-arm system support for big endian BE8 Reply-To: sridhar kulkarni List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite , Peter Maydell Cc: Paolo Bonzini , QEMU Developers , Alistair Francis ------=_Part_259572_1607611453.1443091711782 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable The issue is mostly related to my application under test. When the applicat= ion calls a function the PC is getting set up to a wrong address, and then = qemu crashes by displaying "floating point exception(core dumped)" message.= =20 I am able to move ahead by resolving the issue. But interestingly whenever = my app crashes it always displays the same "floating point exception" messa= ge. But I don't see any floating operations at the point code crashes. I do= n't see any dump of the processor registers also. It's always just a one li= ne message as I described above. RegardsSridhar =20 On Thursday, September 24, 2015 8:23 AM, Peter Crosthwaite wrote: =20 On Wed, Sep 23, 2015 at 8:41 AM, Peter Maydell = wrote: > On 23 September 2015 at 03:48, sridhar kulkarni = wrote: >> Hi Peter, >> >> I was able to progress well using the BE8 work in the branch that you >> pointed out. I am experiencing floating point issue. The qemu just exits= , by >> putting a message that "floating point exception(core dumped)". I suppos= e >> QEMU do support floating point operations. I heard about hard floating p= oint >> and soft floating point support. Is there any configuration option in QE= MU >> for floating point? > > QEMU's floating point support for ARM is good and known to work. > If QEMU exits with a coredump then that is either: >=C2=A0 * your test binary is dumping core due to a bug in your test >=C2=A0 =C2=A0 (assuming you're using linux-user mode) >=C2=A0 * a bug in QEMU (unlikely but not impossible) > > If you can provide a reproducible test case we can have a look at it. > Yes, so the thing stopping me upstreaming this was a reasonable test. Can I have a look at your reproducer? Regards, Peter > thanks > -- PMM ------=_Part_259572_1607611453.1443091711782 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
The issue is most= ly related to my application under test. When the application calls a funct= ion the PC is getting set up to a wrong address, and then qemu crashes by d= isplaying "floating point exception(core dumped)" message.
I am able to move ahead b= y resolving the issue. But interestingly whenever my app crashes it always = displays the same "floating point exception" message. But I don't see any f= loating operations at the point code crashes. I don't see any dump of the p= rocessor registers also. It's always just a one line message as I described= above.

Regards
Sridhar



On Thursday, September 24, 2015= 8:23 AM, Peter Crosthwaite <crosthwaitepeter@gmail.com> wrote:
<= /font>


On Wed, Sep 23, 2015= at 8:41 AM, Peter Maydell <peter.maydell@li= naro.org> wrote:
> On 23 September 2015 at 03:4= 8, sridhar kulkarni <sridhar_kulk@yahoo.com&= gt; wrote:
>> Hi Peter,
>><= br clear=3D"none">>> I was able to progress well using the BE8 work i= n the branch that you
>> pointed out. I am experien= cing floating point issue. The qemu just exits, by
>&g= t; putting a message that "floating point exception(core dumped)". I suppos= e
>> QEMU do support floating point operations. I h= eard about hard floating point
>> and soft floating= point support. Is there any configuration option in QEMU
>> for floating point?
>
>= QEMU's floating point support for ARM is good and known to work.
> If QEMU exits with a coredump then that is either:
>  * your test binary is dumping core due to a bug in you= r test
>    (assuming you're using linux-use= r mode)
>  * a bug in QEMU (unlikely but not impo= ssible)
>
> If you can provide a = reproducible test case we can have a look at it.
>

Yes, so the thing stopping me upstreaming= this was a reasonable test.
Can I have a look at your re= producer?

Regards,

Peter

> thanks
> -- PMM
<= br clear=3D"none">


<= /html> ------=_Part_259572_1607611453.1443091711782--