aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
AgeCommit message (Expand)AuthorFilesLines
1994-07-30Fix typo.Richard Kenner1-2/+2
1994-07-30(fold_truthop): Apply masks to constants.Richard Kenner1-0/+2
1994-07-21(fold): Don't fold X-X to 0 if X is floating pointJim Wilson1-2/+2
1994-07-13(decode_field_reference): Merge operand of a BIT_AND_EXPR with theRichard Kenner1-17/+21
1994-07-13Remove last change.Richard Kenner1-18/+0
1994-07-12(fold, case MULT_EXPR): If arg is an unsigned CEIL_DIV_EXPR, convertRichard Kenner1-0/+18
1994-06-29(div_and_round_double): Make it globally accessible.Torbjorn Granlund1-2/+2
1994-06-15Revert last patch: (fold, case *_DIV_EXPR): Optimize (x / C << y)...Torbjorn Granlund1-47/+0
1994-06-15(encode, decode): Use 4 HOST_WIDE_INTs for encoded value with HOST_BITS_PER_W...Torbjorn Granlund1-338/+192
1994-06-14Cast pointer operands to bzero, bcopy, and bcmp to (char *).Richard Kenner1-5/+6
1994-04-25(fold-convert): Use assignment, instead of initializing, aggregateRichard Kenner1-4/+9
1994-04-18(const_binop): If arg is NaN, just return itRichard Kenner1-18/+27
1994-04-09(fold): Avoid exponential work when simplifying conditionalRichard Kenner1-1/+2
1994-04-08Fix typo in comment of last change.Richard Kenner1-1/+1
1994-04-08(fold, case GT_EXPR): Simplify X < (1 << Y) into X >> Y == 0.Richard Kenner1-0/+24
1994-03-30(strip_compound_expr): New function.Richard Kenner1-6/+50
1994-03-25(fold, case *_DIV_EXPR): Correct result when product of constantsRichard Kenner1-15/+29
1994-03-19(const_binop): Avoid initialized aggregate local variables, forRichard Kenner1-2/+4
1994-03-14(fold, associate): If -ffast-math, associate FP mults.Richard Kenner1-11/+70
1994-03-14(fold): Call tree_int_cst_sgn.Richard Kenner1-7/+7
1994-03-13(force_fit_value): Operate on REAL_CST as well.Richard Kenner1-37/+53
1994-03-09(fold, case MULT_EXPR): Simplify MULT_EXPR of an EXACT_DIV_EXPR withRichard Kenner1-0/+8
1994-02-02(const_binop, COMPLEX_TYPE, case RDIV_EXPR): If complex integer, useRichard Kenner1-12/+20
1994-01-31(operand_equal_for_comparison_p): Declare correct_width as unsigned.Richard Kenner1-1/+1
1994-01-11(fold, truth_andor): Don't apply distributive law when it would change evalua...Richard Kenner1-42/+50
1994-01-03(truth_value_p): New function.Richard Kenner1-8/+51
1993-12-29(fold, case PLUS_EXPR): Add a missing test of flag_fast_math.Richard Kenner1-1/+2
1993-12-27(fold): Simplify more FP ops if -ffast-math.Richard Kenner1-11/+17
1993-12-25(fold...Richard Kenner1-0/+22
1993-12-08(fold, case *_{DIV,MOD}_EXPR): When using distributive law, take careRichard Kenner1-5/+13
1993-11-15(twoval_comparison_p): Do nothing for SAVE_EXPR, at least for now.Richard Stallman1-0/+6
1993-10-19(invert_truthvalue): Handle SAVE_EXPR.Richard Stallman1-1/+3
1993-10-13(optimize_bit_field_compare, decode_field_reference): Don't doRichard Kenner1-3/+3
1993-09-30(fold, case PLUS_EXPR, MINUS_EXPR): Properly handle case when ARG1Richard Kenner1-5/+8
1993-09-17(invert_truthvalue): Allow arbitrary BOOLEAN_TYPE arguments.Per Bothner1-4/+6
1993-09-07(fold): Don't try to process an RTL_EXPR.Richard Kenner1-0/+4
1993-08-23(twoval_comparison_p): Add new arg, SAVE_P; all callers changed.Richard Kenner1-14/+32
1993-08-19(fold): Handle EQ_EXPR and NE_EXPR where both args are comparisons orRichard Kenner1-4/+15
1993-08-16(fold...Richard Kenner1-8/+4
1993-07-30(fold...Richard Kenner1-0/+16
1993-07-27(optimize_bit_field_compare): Preserve volatility of bitfield.Richard Kenner1-0/+5
1993-07-26(fold, case EQ_EXPR): Remove code that converts mod to unsigned mod;Richard Kenner1-0/+5
1993-07-18(fold): Handle CONJ_EXPR.Richard Stallman1-0/+24
1993-07-06(fold, COND_EXPR case): All simplified results must go through pedantic_non_l...Jim Wilson1-19/+44
1993-07-06(invert_truthvalue): Check for ERROR_MARK input.Jim Wilson1-0/+3
1993-07-05(fold, case EQ_EXPR, LE_EXPR): If comparing results of signed MOD withRichard Kenner1-0/+19
1993-07-02(const_binop, fold_convert, fold):Paul Eggert1-15/+27
1993-07-01(fold, case GE_EXPR, LT_EXPR): Don't assume result of comparison isRichard Kenner1-4/+6
1993-06-27(fold, case TRUTH_XOR_EXPR): End with `return', not `break'.Richard Kenner1-1/+1
1993-06-26(fold, case PLUS_EXPR, MINUS_EXPR): Apply distributive law to multiplication.Richard Kenner1-36/+122