Per quick email exchange with Palmer. Given the triviality, I'm just
pushing it.
jeff
commit 9f14f1978260148d4d6208dfd73df1858e623758
Author: Jeff Law <j...@ventanamicro.com>
Date: Tue May 7 15:34:16 2024 -0600
[committed][RISC-V] Turn on overlap_op_by_pieces for generic-ooo tuning
Per quick email exchange with Palmer. Given the triviality, I'm just
pushing
it.
gcc/
* config/riscv/riscv.cc (generic_ooo_tune_info): Turn on
overlap_op_by_pieces.
diff --git a/gcc/config/riscv/riscv.cc b/gcc/config/riscv/riscv.cc
index a9b57d41184..62207b6b227 100644
--- a/gcc/config/riscv/riscv.cc
+++ b/gcc/config/riscv/riscv.cc
@@ -536,7 +536,7 @@ static const struct riscv_tune_param generic_ooo_tune_info
= {
4, /* fmv_cost */
false, /* slow_unaligned_access */
false, /* use_divmod_expansion */
- false, /* overlap_op_by_pieces */
+ true, /* overlap_op_by_pieces
*/
RISCV_FUSE_NOTHING, /* fusible_ops */
&generic_vector_cost, /* vector cost */
};