From: Matti Aarnio <matti.aarnio@zmailer.org>
To: Rogier Wolff <Swen-Trap1@BitWizard.nl>
Cc: Artur Klauser <Artur.Klauser@computer.org>, linux-kernel@vger.kernel.org
Subject: Re: div64.h:do_div() bug
Date: Tue, 30 Sep 2003 13:14:38 +0300 [thread overview]
Message-ID: <20030930101438.GJ1058@mea-ext.zmailer.org> (raw)
In-Reply-To: <20030930095229.GA32421@bitwizard.nl>
On Tue, Sep 30, 2003 at 11:52:29AM +0200, Rogier Wolff wrote:
> On Mon, Sep 29, 2003 at 03:25:19PM +0200, Artur Klauser wrote:
> > I've found that a bug in asm-arm/div64.h:do_div() is preventing correct
> > conversion of timestamps in smbfs (and probably ntfs as well) from NT to
>
> Nope.
Nope yourself.
> > if (in.n64 != out.n64) {
> > printf("FAILURE: asm/div64.h:do_div() is broken for 64-bit dividends\n");
>
> do_div should be/is documented as not doing 64 bit dividents. It does
> 64/32 -> 32 divides, IIRC...
64/32 -> 64,32
The REMAINDER is 32 bit value.
> Roger.
/Matti Aarnio
next prev parent reply other threads:[~2003-09-30 10:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-29 13:25 Artur Klauser
2003-09-29 14:18 ` Matti Aarnio
2003-09-30 9:52 ` Rogier Wolff
2003-09-30 10:14 ` Matti Aarnio [this message]
2003-09-30 11:28 ` Matti Aarnio
2003-09-30 12:30 ` Andreas Schwab
2003-09-30 12:41 ` Artur Klauser
2003-09-30 12:53 ` div64.h:do_div() bug - SPARC, SH anbody? Artur Klauser
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=20030930101438.GJ1058@mea-ext.zmailer.org \
--to=matti.aarnio@zmailer.org \
--cc=Artur.Klauser@computer.org \
--cc=Swen-Trap1@BitWizard.nl \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®