X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f From: Kbwms AT aol DOT com Message-ID: <25.3ea5a06b.2ca9ff5a@aol.com> Date: Mon, 29 Sep 2003 17:34:18 EDT Subject: Re: Bug in modfl() in libc.a To: djgpp-workers AT delorie DOT com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="part1_25.3ea5a06b.2ca9ff5a_boundary" X-Mailer: 8.0 for Windows sub 6015 Reply-To: djgpp-workers AT delorie DOT com --part1_25.3ea5a06b.2ca9ff5a_boundary Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Esa Peuha: This patch produced the following: Hunk #1 failed @ 17 1 out of 1 hunk failed KB Williams In a message dated 9/29/2003 2:14:47 PM Eastern Standard Time, peuha AT cc DOT helsinki DOT fi writes: > Index: modfl.S > =================================================================== > RCS file: /cvs/djgpp/djgpp/src/libc/ansi/math/modfl.S,v > retrieving revision 1.1 > diff -c -r1.1 modfl.S > *** modfl.S 25 Nov 1994 19:59:40 -0000 1.1 > --- modfl.S 29 Sep 2003 10:08:25 -0000 > *************** > *** 17,22 **** > --- 17,40 ---- > fldcw -2(%ebp) > fld %st(0) > fstpt (%eax) > + fucom %st(1) > + fnstsw -2(%ebp) > + movw -2(%ebp),%dx > + andb $0x44,%dh > + xorb $0x40,%dh > + jnz 0f > + fxam > + fnstsw -2(%ebp) > + fstp %st(0) > + fstp %st(0) > + fldz > + movw -2(%ebp),%dx > + andb $0x02,%dh > + jz 1f > + fchs > + jmp 1f > + 0: > fsubrp %st,%st(1) > + 1: > leave > ret > > > > --part1_25.3ea5a06b.2ca9ff5a_boundary Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Esa Peuha:

This patch produced the following:

Hunk #1 failed @ 17
1 out of 1 hunk failed

KB Williams


In a message dated 9/29/2003 2:14:47 PM Eastern Standard Time, peuha AT cc DOT hels= inki.fi writes:

Index: modfl.S
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvs/djgpp/djgpp/src/libc/ansi/math/modfl.S,v
retrieving revision 1.1
diff -c -r1.1 modfl.S
*** modfl.S   25 Nov 1994 19:59:40 -0000   1.1
--- modfl.S   29 Sep 2003 10:08:25 -0000
***************
*** 17,22 ****
--- 17,40 ----
   fldcw -2(%ebp)
   fld %st(0)
   fstpt (%eax)
+   fucom %st(1)
+   fnstsw -2(%ebp)
+   movw -2(%ebp),%dx
+   andb $0x44,%dh
+   xorb $0x40,%dh
+   jnz 0f
+   fxam
+   fnstsw -2(%ebp)
+   fstp %st(0)
+   fstp %st(0)
+   fldz
+   movw -2(%ebp),%dx
+   andb $0x02,%dh
+   jz 1f
+   fchs
+   jmp 1f
+ 0:
   fsubrp %st,%st(1)
+ 1:
   leave
   ret





--part1_25.3ea5a06b.2ca9ff5a_boundary--