aboutsummaryrefslogtreecommitdiff
path: root/gcc/match.pd
AgeCommit message (Expand)AuthorFilesLines
2015-07-01fold-const.c (fold_comparison): Move X - Y CMP 0 -> X CMP Y...Richard Biener1-0/+63
2015-07-01fold-const.c (fold_binary_loc): Move ~X ^ X -> -1 and (X & Y) ^ Y -> ~X & Y t...Richard Biener1-0/+10
2015-06-30match.pd (~x | x): Don't use tree_nop_conversion_p.Marek Polacek1-2/+1
2015-06-30match.pd (X - (X / Y) * Y): Use convert1 and convert2.Marek Polacek1-2/+2
2015-06-30fold-const.c (fold_binary_loc): Move ~x & ~y -> ~(x | y) and ~x | ~y -> ~(x &...Richard Biener1-0/+41
2015-06-30fold-const.c (fold_unary_loc): Move abs(abs(x)) -> abs(x)...Richard Biener1-13/+60
2015-06-30fold-const.c (fold_binary_loc): Move ~X | X folding ...Marek Polacek1-0/+6
2015-06-29fold-const.c (fold_binary_loc): Move X - (X / Y) * Y -> X % Y to ...Marek Polacek1-0/+6
2015-06-29genmatch.c (add_operator): Treat ADDR_EXPR as atom.Richard Biener1-1/+16
2015-06-26fold-const.c (fold_binary_loc): Remove -A CMP -B -> A CMP B and -A CMP CST ->...Richard Biener1-0/+29
2015-06-26match.pd ((x | y) & ~(x & y) -> x ^ y, (x | y) & (~x ^ y) -> x & y): New patt...Marek Polacek1-0/+10
2015-06-26match.pd: Allow associating FLOAT_TYPE_P when flag_associative_math.Richard Biener1-4/+6
2015-06-25fold-const.c (fold_binary_loc): Move simplification of (X <<>> C1) & C2 ...Richard Biener1-0/+91
2015-06-25match.pd: Add patterns for vec_conds between 1 and 0.Richard Sandiford1-0/+20
2015-06-23match.pd ((x + y) - (x | y) -> x & y, (x + y) - (x & y) -> x | y): New patterns.Marek Polacek1-0/+14
2015-06-22match.pd ((x ^ y) ^ (x | y) -> x & y, (x & y) + (x ^ y) -> x | y, (x & y) | (...Marek Polacek1-0/+28
2015-06-11* match.pd ((x & y) ^ (x | y)): Don't check for single_use.Marek Polacek1-3/+2
2015-06-11match.pd ((x & y) ^ (x | y) -> x ^ y): New pattern.Marek Polacek1-0/+6
2015-06-11* match.pd: Use single_use throughout.Marek Polacek1-5/+4
2015-06-09re PR tree-optimization/66299 (more optimize opportunity)Marek Polacek1-0/+15
2015-06-09re PR tree-optimization/66423 (a % (1 << b) no longer gets folded to a & (1 <...Richard Biener1-2/+3
2015-05-26fold-const.c (fold_binary_loc): Move X % -Y -> X % Y and X % C -> X & (C - 1)...Richard Biener1-0/+24
2015-05-26match.pd (swapped_tcc_comparison): New operator list.Marc Glisse1-0/+20
2015-05-22re PR other/63387 (Optimize pairs of isnan() calls into a single isunordered())Marc Glisse1-2/+8
2015-05-22match.pd ((x | y) & ~x -> y & ~x, (x & y) | ~x -> y | ~x): New simplifications.Marc Glisse1-4/+12
2015-05-21re PR tree-optimization/66233 (internal compiler error: in expand_fix, at opt...Jakub Jelinek1-9/+5
2015-05-21re PR c++/66211 (Rvalue conversion in ternary operator causes internal compil...Richard Biener1-1/+2
2015-05-19re PR rtl-optimization/66187 (wrong code at -O1, -O2 and -O3 on x86_64-linux-...Jakub Jelinek1-1/+3
2015-05-15re PR tree-optimization/64454 (optimize (x%5)%5)Marc Glisse1-3/+18
2015-05-14generic-match-head.c (types_match): Handle non-types.Marc Glisse1-5/+5
2015-05-07match.pd (bit_and (plus/minus (convert @0) (convert @1) mask): New simplifier...Jeff Law1-13/+41
2015-05-04Revert:Jeff Law1-41/+13
2015-05-04match.pd (bit_and (plus/minus (convert @0) (convert @1) mask): New simplifier...Jeff Law1-13/+41
2015-05-01match.pd: New simplification patterns.Rasmus Villemoes1-0/+14
2015-04-14re PR other/63387 (Optimize pairs of isnan() calls into a single isunordered())Marc Glisse1-0/+9
2015-02-13re PR rtl-optimization/47477 (Sub-optimal mov at end of method)Jeff Law1-0/+41
2015-01-05Update copyright years.Jakub Jelinek1-1/+1
2014-12-17re PR middle-end/63568 (Missed optimization (a & ~mask) | (b & mask) = a ^ ((...Marek Polacek1-0/+7
2014-12-16re PR middle-end/64309 (if (1 & (1 << n)) not simplified to if (n == 0))Marek Polacek1-0/+7
2014-12-15re PR tree-optimization/64295 (ICE: SIGSEGV (infinite recursion) with -fround...Richard Biener1-1/+1
2014-12-10real.h (HONOR_NANS): Replace macro with 3 overloaded declarations.Marc Glisse1-7/+6
2014-12-03re PR tree-optimization/14541 ([tree-ssa] built-in math functions are not ful...Richard Biener1-0/+87
2014-12-02match.pd: When combining divisions exclude the degenerate case involving INT_...Richard Biener1-1/+3
2014-12-02match.pd: Restrict division combining to trunc_div and exact_div.Richard Biener1-2/+3
2014-12-01re PR tree-optimization/15346 ([tree-ssa] combine two successive divisions)Richard Biener1-0/+13
2014-12-01re PR tree-optimization/64126 (FAIL: gcc.dg/pr37289.c scan-tree-dump original...Richard Biener1-2/+16
2014-11-20re PR tree-optimization/63962 ([x86] Code pessimization after r217213)Richard Biener1-2/+3
2014-11-18tree.c (element_mode, [...]): New functions.Marc Glisse1-55/+52
2014-11-17re PR tree-optimization/63898 (r217560 caused segfault building 462.libquantu...Richard Biener1-1/+2
2014-11-14match.pd: Implement more binary patterns exercised by fold_stmt.Richard Biener1-9/+218