Commit e85d2109 authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds

[PATCH] boolean logic error in fpu emulation.

parent 77b07e8e
...@@ -1058,7 +1058,7 @@ static void do_fprem(FPU_REG *st0_ptr, u_char st0_tag, int round) ...@@ -1058,7 +1058,7 @@ static void do_fprem(FPU_REG *st0_ptr, u_char st0_tag, int round)
return; return;
goto fprem_valid; 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(); FPU_stack_underflow();
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment