aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/sparc/sparc.c4
2 files changed, 4 insertions, 3 deletions
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 <davem@pierdol.cobaltmicro.com>
(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