summaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
Commit message (Expand)AuthorAgeFilesLines
* (div_and_round_double): Make it globally accessible.tege1994-06-291-2/+2
* Revert last patch: (fold, case *_DIV_EXPR): Optimize (x / C << y)...tege1994-06-151-47/+0
* (encode, decode): Use 4 HOST_WIDE_INTs for encodedtege1994-06-151-338/+192
* Cast pointer operands to bzero, bcopy, and bcmp to (char *).kenner1994-06-141-5/+6
* (fold-convert): Use assignment, instead of initializing, aggregatekenner1994-04-251-4/+9
* (const_binop): If arg is NaN, just return itkenner1994-04-181-18/+27
* (fold): Avoid exponential work when simplifying conditionalkenner1994-04-091-1/+2
* Fix typo in comment of last change.kenner1994-04-081-1/+1
* (fold, case GT_EXPR): Simplify X < (1 << Y) into X >> Y == 0.kenner1994-04-081-0/+24
* (strip_compound_expr): New function.kenner1994-03-301-6/+50
* (fold, case *_DIV_EXPR): Correct result when product of constantskenner1994-03-251-15/+29
* (const_binop): Avoid initialized aggregate local variables, forkenner1994-03-191-2/+4
* (fold, associate): If -ffast-math, associate FP mults.kenner1994-03-141-11/+70
* (fold): Call tree_int_cst_sgn.kenner1994-03-141-7/+7
* (force_fit_value): Operate on REAL_CST as well.kenner1994-03-131-37/+53
* (fold, case MULT_EXPR): Simplify MULT_EXPR of an EXACT_DIV_EXPR withkenner1994-03-091-0/+8
* (const_binop, COMPLEX_TYPE, case RDIV_EXPR): If complex integer, usekenner1994-02-021-12/+20
* (operand_equal_for_comparison_p): Declare correct_width as unsigned.kenner1994-01-311-1/+1
* (fold, truth_andor): Don't apply distributive law when it would changekenner1994-01-121-42/+50
* (truth_value_p): New function.kenner1994-01-031-8/+51
* (fold, case PLUS_EXPR): Add a missing test of flag_fast_math.kenner1993-12-291-1/+2
* (fold): Simplify more FP ops if -ffast-math.kenner1993-12-271-11/+17
* (fold, case EQ_EXPR, NE_EXPR): If COMPLEX_TYPE and at least one arg iskenner1993-12-251-0/+22
* (fold, case *_{DIV,MOD}_EXPR): When using distributive law, take carekenner1993-12-081-5/+13
* (twoval_comparison_p): Do nothing for SAVE_EXPR, at least for now.rms1993-11-151-0/+6
* (invert_truthvalue): Handle SAVE_EXPR.rms1993-10-191-1/+3
* (optimize_bit_field_compare, decode_field_reference): Don't dokenner1993-10-131-3/+3
* (fold, case PLUS_EXPR, MINUS_EXPR): Properly handle case when ARG1kenner1993-09-301-5/+8
* (invert_truthvalue): Allow arbitrary BOOLEAN_TYPE arguments.bothner1993-09-181-4/+6
* (fold): Don't try to process an RTL_EXPR.kenner1993-09-071-0/+4
* (twoval_comparison_p): Add new arg, SAVE_P; all callers changed.kenner1993-08-231-14/+32
* (fold): Handle EQ_EXPR and NE_EXPR where both args are comparisons orkenner1993-08-191-4/+15
* (fold, case EQ_EXPR): Re-enable converting signed MOD operations tokenner1993-08-161-8/+4
* (fold, case NOP_EXPR): Delete a pair of conversions back to thekenner1993-07-301-0/+16
* (optimize_bit_field_compare): Preserve volatility of bitfield.kenner1993-07-271-0/+5
* (fold, case EQ_EXPR): Remove code that converts mod to unsigned mod;kenner1993-07-271-0/+5
* (fold): Handle CONJ_EXPR.rms1993-07-181-0/+24
* (fold, COND_EXPR case): All simplified resultswilson1993-07-061-19/+44
* (invert_truthvalue): Check for ERROR_MARK input.wilson1993-07-061-0/+3
* (fold, case EQ_EXPR, LE_EXPR): If comparing results of signed MOD withkenner1993-07-051-0/+19
* (const_binop, fold_convert, fold):eggert1993-07-021-15/+27
* (fold, case GE_EXPR, LT_EXPR): Don't assume result of comparison iskenner1993-07-011-4/+6
* (fold, case TRUTH_XOR_EXPR): End with `return', not `break'.kenner1993-06-271-1/+1
* (fold, case PLUS_EXPR, MINUS_EXPR): Apply distributive law to multiplication.kenner1993-06-261-36/+122
* Add prototypes for static functions.kenner1993-06-261-14/+37
* (fold_truthop): Treat a BIT_AND_EXPR with a constant of one as if it werekenner1993-06-261-8/+66
* (decode_field_reference): Don't do anything for non-integral fields.kenner1993-05-061-0/+6
* (optimize_bit_field_compare): Add missing arg to const_binop.kenner1993-05-051-2/+2
* (fold): Signedness matters for comparisons and right shifts.kenner1993-04-261-2/+11
* Use INTEGRAL_TYPE_P and FLOAT_TYPE_P.kenner1993-04-261-30/+25