diff options
Diffstat (limited to 'gcc/predict.c')
-rw-r--r-- | gcc/predict.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/predict.c b/gcc/predict.c index 57595ed..d598ef9 100644 --- a/gcc/predict.c +++ b/gcc/predict.c @@ -1,5 +1,5 @@ /* Branch prediction routines for the GNU compiler. - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright (C) 2000, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -183,11 +183,19 @@ estimate_probability (loops_info) goto emitnote; case EQ: + case UNEQ: prob = PROB_UNLIKELY; goto emitnote; case NE: + case LTGT: prob = PROB_LIKELY; goto emitnote; + case ORDERED: + prob = PROB_LIKELY; + goto emitnote; + case UNORDERED: + prob = PROB_UNLIKELY; + goto emitnote; case LE: case LT: if (XEXP (cond, 1) == const0_rtx) |