qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [4705] Fix div[u]2.
Date: Mon, 09 Jun 2008 10:34:05 +0200	[thread overview]
Message-ID: <484CEAFD.9020906@bellard.org> (raw)
In-Reply-To: <E1K5aWQ-0003Lh-Ac@cvs.savannah.gnu.org>

malc wrote:
> Revision: 4705
>           http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4705
> Author:   malc
> Date:     2008-06-09 06:06:25 +0000 (Mon, 09 Jun 2008)
> 
> Log Message:
> -----------
> Fix div[u]2.
> 
> Previous code assummed 32 by 32 bit divmod operation, and survived
> x86_64 test only by sheer luck. MIPS wasn't so forgiving.

Are you sure it is needed ? div[u]2 support in currently optional in 
TCG. On some hosts such as PowerPC, implementing div[u] directly is 
simpler. rem[u] can be implemented generically then.

Fabrice.

  reply	other threads:[~2008-06-09  8:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-09  6:06 [Qemu-devel] [4705] Fix div[u]2 malc
2008-06-09  8:34 ` Fabrice Bellard [this message]
2008-06-09 20:02   ` malc
2008-06-09 20:21     ` Fabrice Bellard
2008-06-09 23:47       ` malc
2008-06-09 16:44 ` C.W. Betts

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=484CEAFD.9020906@bellard.org \
    --to=fabrice@bellard.org \
    --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).