On 11/18/23 22:41, Maciej W. Rozycki wrote:
Provide RTL expansion of conditional-add operations for generic targets
using a suitable sequence of base integer machine instructions according
to cost evaluation by if-conversion. Use existing `-mmovcc' command
line option to enable this transformation.
gcc/
* config/riscv/riscv.md (add<mode>cc): New expander.
Is this an improvement over what if-convert creates for a conditional
add or is the goal to expose the sequence earlier in the pipeline rather
than waiting for ifcvt?
Either way this is fine, just questioning slightly if really improves
things. I don't see any way it'd be hurting.
jeff