Re: [PATCH 7/9] ifcvt: Emit two cmov variants and choose the less expensive one.

2019-10-27 Thread Richard Sandiford
Robin Dapp writes: > This patch duplicates the previous noce_emit_cmove logic. First it > passes the canonical comparison emits the sequence and costs it. > Then, a second, separate sequence is created by passing the cc compare > we extracted before. The costs of both sequences are compared and

[PATCH 7/9] ifcvt: Emit two cmov variants and choose the less expensive one.

2019-08-02 Thread Robin Dapp
This patch duplicates the previous noce_emit_cmove logic. First it passes the canonical comparison emits the sequence and costs it. Then, a second, separate sequence is created by passing the cc compare we extracted before. The costs of both sequences are compared and the cheaper one is emitted.