[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [Laurent.Kersten@alcatel.be] (fwd)
- To: rtl@rtlinux.org
- Subject: BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [Laurent.Kersten@alcatel.be] (fwd)
- From: Der Herr Hofrat <der.herr@hofr.at>
- Date: Fri, 18 May 2001 16:14:30 +0200 (CEST)
>From owner-rtl Fri May 18 01:36:32 2001
Received: from relay1.alcatel.be (alc119.alcatel.be [195.207.101.119])
by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f4I7aWr24929
for <rtl@fsmlabs.com>; Fri, 18 May 2001 01:36:32 -0600
Received: from bemail04.net.alcatel.be (localhost [127.0.0.1])
by relay1.alcatel.be (8.10.1/8.10.1) with SMTP id f4I7VlJ01619
for <rtl@fsmlabs.com>; Fri, 18 May 2001 09:31:48 +0200 (MET DST)
Received: by bemail04.net.alcatel.be(Lotus SMTP MTA v4.6.7 (934.1 12-30-1999)) id C1256A50.002959AA ; Fri, 18 May 2001 09:31:39 +0200
X-Lotus-FromDomain: ALCATEL
From: Laurent.Kersten@alcatel.be
To: rtl@fsmlabs.com
Message-ID: <C1256A50.002956A2.00@bemail04.net.alcatel.be>
Date: Fri, 18 May 2001 09:31:30 +0200
Subject: Re: [rtl] Bug in llimd in RTAI (version 1.5 and 1.6)
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
I tested it and it works perfectly
Thanks
Laurent
Paolo Mantegazza <mantegazza@aero.polimi.it> on 05/17/2001 03:05:30 PM
Please respond to rtl@fsmlabs.com
To: Laurent KERSTEN/BE/ALCATEL@ALCATEL, rtl@rtlinux.org
cc:
Subject: Re: [rtl] Bug in llimd in RTAI (version 1.5 and
1.6)
Laurent.Kersten@alcatel.be wrote:
>
> Hello,
>
> Whether I try to use llimd with a negative number as first argument, I got a crash (or an
> arithmetic exception if I use the function in a normal linux process).
>
> The following call crash : llimd ( -25 000 000,400 000 000, 1000 000)
> But the following seems OK : llimd ( 25 000 000,400 000 000, 1000 000)
>
> In a non RT task, the exception is generated by the first div instruction. According to Intel's
> documentation, it should trigger an exception when the result is too big for the target register, this seems not to be the case (as long as we don't treat the EDX:EAX pairs has an unsigned number but as a negative one, it should be no problem).
>
> Does anybody have a clue for that ?
The name is a misnomer, it should be ullmid. It so by design, it is up
to you to wrap it with a test for the sign. See nano2count and
count2nano in RTAI schedulers.
Ciao, Paolo..
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/