aboutsummaryrefslogtreecommitdiff
path: root/gcc/simplify-rtx.cc
AgeCommit message (Expand)AuthorFilesLines
2024-12-14[PATCH v3] match.pd: Add pattern to simplify `(a - 1) & -a` to `0`Jovan Vukic1-0/+41
2024-11-30[PATCH v3] zero_extend(not) -> xor optimization [PR112398]Alexey Merzlyakov1-0/+23
2024-11-14Revert "Reapply "[PATCH v2] RISC-V: zero_extend(not) -> xor optimization [PR1...Jeff Law1-22/+0
2024-11-12Reapply "[PATCH v2] RISC-V: zero_extend(not) -> xor optimization [PR112398]"Jeff Law1-0/+22
2024-11-12Revert "[PATCH v2] RISC-V: zero_extend(not) -> xor optimization [PR112398]"Jeff Law1-22/+0
2024-11-06[PATCH v2] RISC-V: zero_extend(not) -> xor optimization [PR112398]Alexey Merzlyakov1-0/+22
2024-11-04PR 117048: simplify-rtx: Simplify (X << C1) [+,^] (X >> C2) into ROTATEKyrylo Tkachov1-48/+156
2024-11-04Revert "PR 117048: simplify-rtx: Simplify (X << C1) [+,^] (X >> C2) into ROTATE"Kyrylo Tkachov1-156/+48
2024-11-04simplify-rtx: Simplify ROTATE:HI (X:HI, 8) into BSWAP:HI (X)Kyrylo Tkachov1-0/+8
2024-11-04PR 117048: simplify-rtx: Simplify (X << C1) [+,^] (X >> C2) into ROTATEKyrylo Tkachov1-48/+156
2024-10-25simplify-rtx: Handle `a != 0 ? -a : 0` [PR58195]Andrew Pinski1-0/+22
2024-10-25gcc: Remove trailing whitespaceJakub Jelinek1-8/+8
2024-10-14simplify-rtx: Fix incorrect folding of shift and AND [PR117012]Tamar Christina1-2/+2
2024-10-11PR 117048: simplify-rtx: Extend (x << C1) | (X >> C2) --> ROTATE transformati...Kyrylo Tkachov1-6/+10
2024-09-29[PATCH v2] RISC-V: Improve code generation for select of consecutive constantsJovan Vukic1-0/+12
2024-07-31[PR rtl-optimization/116136] Fix previously latent SUBREG simplification bugJeff Law1-2/+3
2024-07-19Treat boolean vector elements as 0/-1 [PR115406]Richard Sandiford1-1/+2
2024-06-13aarch64: Fix invalid nested subregs [PR115464]Richard Sandiford1-0/+5
2024-06-12Fix ICE in rtl check due to CONST_WIDE_INT in CONST_VECTOR_DUPLICATE_Pliuhongt1-2/+4
2024-06-06Simplify (AND (ASHIFTRT A imm) mask) to (LSHIFTRT A imm) for vector mode.liuhongt1-0/+25
2024-06-05Don't simplify NAN/INF or out-of-range constant for FIX/UNSIGNED_FIX.liuhongt1-4/+19
2024-05-25[committed] [v2] More logical op simplifications in simplify-rtx.ccJeff Law1-0/+29
2024-05-09Constant fold {-1,-1} << 1 in simplify-rtx.ccRoger Sayle1-0/+54
2024-03-04PR target/114187: Fix ?Fmode SUBREG simplification in simplify_subreg.Roger Sayle1-1/+1
2024-01-31simplify-rtx: Fix up last argument to simplify_gen_unary [PR113656]Jakub Jelinek1-1/+1
2024-01-03Update copyright years.Jakub Jelinek1-1/+1
2023-11-17Only allow (copysign x, NEG_CONST) -> (fneg (fabs x)) simplification for cons...Andrew Pinski1-1/+1
2023-11-13Fix (fcopysign x, NEGATIVE_CONST) -> (fneg (fabs x)) simplification [PR112483]Xi Ruoyao1-1/+1
2023-10-11Optimize (ne:SI (subreg:QI (ashift:SI x 7) 0) 0) as (and:SI x 1).Roger Sayle1-0/+17
2023-10-02Fix profiledbootstrap poly_int fallout [PR111642]Richard Sandiford1-0/+1
2023-09-20RISC-V: Support simplifying x/(-1) to neg for vector.Yanzhang Wang1-2/+2
2023-08-16[PATCH] RISC-V: Support simplify (-1-x) for vector.Yanzhang Wang1-1/+1
2023-07-05Change MODE_BITSIZE to MODE_PRECISION for MODE_VECTOR_BOOL.Robin Dapp1-5/+5
2023-06-23Improved SUBREG simplifications in simplify-rtx.cc's simplify_subreg.Roger Sayle1-0/+32
2023-06-19Do not allow "x + 0.0" to "x" optimization with -fsignaling-nansToru Kisuki1-1/+2
2023-06-19simplify-rtx: Simplify VEC_CONCAT of SUBREG and VEC_CONCAT from same vectorKyrylo Tkachov1-0/+11
2023-06-12simplify-rtx: Implement constant folding of SS_TRUNCATE, US_TRUNCATEKyrylo Tkachov1-0/+14
2023-06-07Add RTX codes for BITREVERSE and COPYSIGN.Roger Sayle1-2/+47
2023-05-31Refactor wi::bswap as a function (instead of a method).Roger Sayle1-1/+1
2023-05-30Replace a HWI_COMPUTABLE_MODE_P with wide-int in simplify-rtx.cc.Roger Sayle1-7/+8
2023-05-30PR target/107172: Avoid "unusual" MODE_CC comparisons in simplify-rtx.ccRoger Sayle1-0/+6
2023-04-19RISC-V: Align IOR optimization MODE_CLASS condition to AND.Pan Li1-2/+2
2023-04-17RISC-V: Optimze the reverse conditions of rotate shiftFeng Wang1-8/+41
2023-04-14combine: Fix AND handling for WORD_REGISTER_OPERATIONS targets [PR109040]Jakub Jelinek1-1/+7
2023-03-02simplify-rtx: Use byte in simplify_subreg rather than assume 0 offsetAndre Vieira1-5/+5
2023-02-27Fix RTL simplifications of FFS, POPCOUNT and PARITY.Roger Sayle1-7/+22
2023-02-17simplify-rtx: Fix VOIDmode operand handling in simplify_subreg [PR108805]Uros Bizjak1-1/+1
2023-02-02arm: Remove unnecessary zero-extending of MVE predicates before use [PR 107674]Andre Vieira1-0/+16
2023-01-02Update copyright years.Jakub Jelinek1-1/+1
2022-08-22middle-end: Fix issue of poly_uint16 (1, 1) in self testzhongjuzhe1-1/+1