From c305b1a752df2597b9ff093f60e4ae2ec3427f9f Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Sat, 29 Aug 1998 19:16:39 +0000 Subject: Fix thinko in ultra_cmove_results_ready_p. From-SVN: r22088 --- gcc/ChangeLog | 3 ++- gcc/config/sparc/sparc.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7a8db22..0cab3e2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -23,7 +23,8 @@ Fri Aug 28 19:00:44 1998 David S. Miller (sparc_emit_set_const64): Remove unused variable i. (sparc_splitdi_legitimate): Likewise for addr_part. (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_fpmode_conflict_exists): Likewise, remove unused variable this_type, and allow loads and stores of differing FP modes as diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 2edc1703..11c17f5 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -6310,9 +6310,9 @@ ultra_cmove_results_ready_p (insn) slot = 4; while (--slot >= 0) if (up->group[slot] == insn) - return 1; + return 0; - return 0; + return 1; } /* Walk backwards in pipeline history looking for FPU -- cgit v1.1