public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: davej@redhat.com
To: torvalds@osdl.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] boolean logic error in fpu emulation.
Date: Mon, 11 Aug 2003 16:59:02 +0100	[thread overview]
Message-ID: <E19mF4Y-0005Ed-00@tetrachloride> (raw)

diff -urpN --exclude-from=/home/davej/.exclude bk-linus/arch/i386/math-emu/fpu_trig.c linux-2.5/arch/i386/math-emu/fpu_trig.c
--- bk-linus/arch/i386/math-emu/fpu_trig.c	2003-04-10 06:01:09.000000000 +0100
+++ linux-2.5/arch/i386/math-emu/fpu_trig.c	2003-07-13 06:03:46.000000000 +0100
@@ -1058,7 +1058,7 @@ static void do_fprem(FPU_REG *st0_ptr, u
 	return;
       goto fprem_valid;
     }
-  else if ( (st0_tag == TAG_Empty) | (st1_tag == TAG_Empty) )
+  else if ( (st0_tag == TAG_Empty) || (st1_tag == TAG_Empty) )
     {
       FPU_stack_underflow();
       return;

                 reply	other threads:[~2003-08-11 16:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=E19mF4Y-0005Ed-00@tetrachloride \
    --to=davej@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.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