Commit c305b1a7 by David S. Miller Committed by David S. Miller

Fix thinko in ultra_cmove_results_ready_p.

From-SVN: r22088
parent 57fc6638
...@@ -23,7 +23,8 @@ Fri Aug 28 19:00:44 1998 David S. Miller <davem@pierdol.cobaltmicro.com> ...@@ -23,7 +23,8 @@ Fri Aug 28 19:00:44 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
(sparc_emit_set_const64): Remove unused variable i. (sparc_emit_set_const64): Remove unused variable i.
(sparc_splitdi_legitimate): Likewise for addr_part. (sparc_splitdi_legitimate): Likewise for addr_part.
(ultra_code_from_mask): Likewise for mask. (ultra_code_from_mask): Likewise for mask.
(ultra_cmove_results_ready_p): Fixup entry modulo calc. (ultra_cmove_results_ready_p): Fixup entry modulo calc. and
reverse return values so it matches usage and comments.
(ultra_flush_pipeline): Likewise. (ultra_flush_pipeline): Likewise.
(ultra_fpmode_conflict_exists): Likewise, remove unused variable (ultra_fpmode_conflict_exists): Likewise, remove unused variable
this_type, and allow loads and stores of differing FP modes as this_type, and allow loads and stores of differing FP modes as
......
...@@ -6310,9 +6310,9 @@ ultra_cmove_results_ready_p (insn) ...@@ -6310,9 +6310,9 @@ ultra_cmove_results_ready_p (insn)
slot = 4; slot = 4;
while (--slot >= 0) while (--slot >= 0)
if (up->group[slot] == insn) if (up->group[slot] == insn)
return 1; return 0;
return 0; return 1;
} }
/* Walk backwards in pipeline history looking for FPU /* Walk backwards in pipeline history looking for FPU
......
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