|
GCC Middle and Back End API Reference
|

Go to the source code of this file.
Data Structures | |
| struct | ce_if_block |
| struct | noce_multiple_sets_info |
| struct | noce_if_info |
Functions | |
| unsigned int | noce_parallel_seq_cost (rtx_insn *, bool) |
Estimate the cost of SEQ using the target issue rate. Unit-cost register operations are grouped by RAW dependency level. The cost of each level is its instruction count divided by the issue rate, rounded up. Fall back to serial cost if any instruction cannot be modeled. In an instrumented build of all SPEC CPU2017 Integer rate benchmarks for RISC-V, the analysis handled 16,947 of 30,120 candidates (56.26%). It reduced the cost for 15,024 of the handled candidates (88.65%). The parallel-to-serial cost ratios for the handled candidates were: 0.8 < ratio <= 1.0 11.54 percent 0.6 < ratio <= 0.8 47.31 percent 0.4 < ratio <= 0.6 40.24 percent 0.2 < ratio <= 0.4 0.91 percent 0.0 < ratio <= 0.2 0.00 percent.
References CEIL, COSTS_N_INSNS, i, MAX, MIN, NEXT_INSN(), noce_dependency_level(), noce_parallel_costed_insn_p(), noce_parallel_seq_cost(), NONDEBUG_INSN_P, seq_cost(), and targetm.
Referenced by default_noce_conversion_profitable_p(), and noce_parallel_seq_cost().