aboutsummaryrefslogtreecommitdiff
path: root/gcc/match.pd
AgeCommit message (Expand)AuthorFilesLines
2020-07-28middle-end: Parity and popcount folding optimizations.Roger Sayle1-13/+39
2020-07-01match.pd: (x & y) - (x | y) - 1 -> ~(x ^ y) simplification [PR94882]Jeff Law1-0/+29
2020-06-19Fix PR94880: Failure to recognize andn patternPrzemyslaw Wirkus1-0/+5
2020-06-09match.pd: Optimize ffs comparisons against constants [PR95527]Jakub Jelinek1-0/+48
2020-06-03optimize tanh(x) / sinh (x) to 1/ cosh (x)Vitor Guidi1-0/+5
2020-05-12tree: Add vector_element_bits(_tree) [PR94980 1/3]Richard Sandiford1-1/+1
2020-05-08match.pd: A ^ ((A ^ B) & -(C cmp D)) -> (C cmp D) ? B : A simplification [PR9...Jakub Jelinek1-0/+12
2020-05-08match.pd: Canonicalize (X + (X >> (prec - 1))) ^ (X >> (prec - 1)) to abs (X)...Jakub Jelinek1-0/+9
2020-05-08match.pd: Optimize ffs of known non-zero arg into ctz + 1 [PR94956]Jakub Jelinek1-0/+10
2020-05-08match.pd: Simplify unsigned A - B - 1 >= A to B >= A [PR94913]Jakub Jelinek1-2/+9
2020-05-06match.pd: Optimize ~(~X +- Y) into (X -+ Y) [PR94921]Jakub Jelinek1-0/+8
2020-05-05match.pd: Canonicalize (x + (x << cst)) into (x * cst2) [PR94800]Jakub Jelinek1-0/+35
2020-05-05match.pd: Optimize (((type)A * B) >> prec) != 0 into __imag__ .MUL_OVERFLOW [...Jakub Jelinek1-0/+21
2020-05-04match.pd: Optimize (x < 0) != (y < 0) into (x ^ y) < 0 [PR94718]Jakub Jelinek1-0/+24
2020-05-04match.pd: Decrease number of nop conversions around bitwise ops [PR94718]Jakub Jelinek1-3/+19
2020-05-04match.pd: Move (X & C) eqne (Y & C) -> -> (X ^ Y) & C eqne 0 opt to match.pd ...Jakub Jelinek1-1/+6
2020-03-11fold undefined pointer offsettingRichard Biener1-0/+9
2020-02-15match.pd: Disallow side-effects in GENERIC for non-COND_EXPR to COND_EXPR sim...Jakub Jelinek1-3/+6
2020-02-04tree-optimization/93538 - add missing comparison folding caseRichard Biener1-11/+22
2020-01-10PR90838: Support ctz idiomsWilco Dijkstra1-0/+8
2020-01-07re PR tree-optimization/93118 (>>32<<32 is not always converted into &~0fffff...Jakub Jelinek1-2/+19
2020-01-01Update copyright years.Jakub Jelinek1-1/+1
2020-01-01re PR tree-optimization/93098 (ICE with negative shifter)Jakub Jelinek1-36/+43
2019-12-09re PR tree-optimization/92834 (misssed SLP vectorization in LightPixel)Jakub Jelinek1-0/+25
2019-12-06match.pd (nop_convert): Remove empty match.Richard Biener1-18/+15
2019-12-06re PR tree-optimization/92819 (Worse code generated on avx2 due to simplify_v...Richard Biener1-3/+10
2019-12-05re PR tree-optimization/92818 (Typo in vec_perm -> bit_insert pattern)Richard Biener1-1/+1
2019-12-04re PR tree-optimization/92734 (Missing match.pd simplification done by fold_b...Jakub Jelinek1-10/+16
2019-12-03re PR tree-optimization/92734 (Missing match.pd simplification done by fold_b...Jakub Jelinek1-10/+32
2019-12-02re PR tree-optimization/92712 (Performance regression with assumed values)Jakub Jelinek1-4/+28
2019-11-05re PR target/92280 (gcc.target/i386/pr83008.c FAILs)Richard Biener1-9/+13
2019-10-08re PR tree-optimization/90836 (Missing popcount pattern matching)Dmitrij Pochepko1-0/+58
2019-10-05re PR tree-optimization/91734 (gcc skip an if statement with "-O1 -ffast-math")Jakub Jelinek1-47/+98
2019-10-04match.pd (sinh (x) / cosh (x)): New simplification rule.Rafael Tsuha1-0/+5
2019-09-24re PR middle-end/91866 (Sign extend of an int is not recognized)Jakub Jelinek1-2/+17
2019-09-16Rewrite second part of or_comparisons_1 into match.pd.Martin Liska1-0/+38
2019-09-16Rewrite first part of or_comparisons_1 into match.pd.Martin Liska1-0/+28
2019-09-16Rewrite part of and_comparisons_1 into match.pd.Martin Liska1-0/+66
2019-09-16Fix PR88784, middle end is missing some optimizations about unsignedLi Jia He1-4/+78
2019-09-11re PR middle-end/91725 (ICE in get_nonzero_bits starting with r275587)Jakub Jelinek1-3/+5
2019-09-11revert: match.pd: Add flag_unsafe_math_optimizations check before deciding on...Richard Biener1-10/+2
2019-09-10re PR middle-end/91680 (Integer promotion quirk prevents efficient power of 2...Jakub Jelinek1-4/+20
2019-09-09match.pd: Add flag_unsafe_math_optimizations check before deciding on the wid...Barnaby Wilks1-2/+10
2019-09-03re PR tree-optimization/91504 (Inlining misses some logical operation folding)Kamlesh Kumar1-0/+5
2019-09-02re PR go/91617 (Many go test case failures after r275026)Jakub Jelinek1-2/+0
2019-08-26[PATCH 2/2] Add simplify rule for wrapped addition.Robin Dapp1-0/+31
2019-08-15Add support for conditional shiftsRichard Sandiford1-2/+4
2019-07-26Add rules to strip away unneeded type casts in expressionsTamar Christina1-31/+103
2019-07-24re PR middle-end/91166 ([SVE] Unfolded ZIPs of constants)Prathamesh Kulkarni1-1/+15
2019-07-03re PR tree-optimization/91069 (Miscompare of 453.povray since r272843)Richard Biener1-1/+1