qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Laurent Desnogues" <laurent.desnogues@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: SH4: Implement FD bit
Date: Thu, 11 Dec 2008 21:57:34 +0100	[thread overview]
Message-ID: <761ea48b0812111257n3c8713a3r13224f3e9ace20b@mail.gmail.com> (raw)
In-Reply-To: <1229026342.3898.24.camel@cocoduo.atr>

On Thu, Dec 11, 2008 at 9:12 PM, Lionel Landwerlin
<lionel.landwerlin@openwide.fr> wrote:
> According to you, should the FD bit be "up" by default in user mode emulation ?
>
> By putting the FD bit "down" in cpu_sh4_reset(target-sh4/translate.c), I'm able to restore initial
> behavior of user mode emulation (that means, qemu does not exits very early before libc initialization
> (see the traces before)).
>
> Maybe putting down the FD bit should be done in a user mode part only... I'm wondering...

It doesn't look unacceptable to have some features enabled
in user mode that are not set at reset, since typically the OS
will enable these features either as its boot process or
depending on a process requirements.

BTW ins't the need for floating-point instructions contained
in some ELF SH4 flags?


Laurent

  reply	other threads:[~2008-12-11 20:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-01 17:22 [Qemu-devel] SH4: Implement FD bit Vladimir Prus
2008-12-07 22:47 ` Aurelien Jarno
2008-12-09 16:36   ` [Qemu-devel] " Vladimir Prus
2008-12-10  9:15     ` Aurelien Jarno
2008-12-10 11:04       ` [Qemu-devel] " Vladimir Prus
2008-12-10 17:31         ` Aurelien Jarno
2008-12-11 20:12     ` [Qemu-devel] " Lionel Landwerlin
2008-12-11 20:57       ` Laurent Desnogues [this message]
2008-12-11 22:02         ` Lionel Landwerlin
2008-12-11 22:21           ` Laurent Desnogues

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=761ea48b0812111257n3c8713a3r13224f3e9ace20b@mail.gmail.com \
    --to=laurent.desnogues@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).