Re: [x86 PATCH] Refactor new ix86_expand_carry to set the carry flag.

2023-06-18 Thread Uros Bizjak via Gcc-patches
On Sun, Jun 18, 2023 at 1:10 PM Roger Sayle wrote: > > > This patch refactors the three places in the i386.md backend that we > set the carry flag into a new ix86_expand_carry helper function, that > allows Jakub's recently added uaddc5 and usubc5 expanders > to take advantage of the recently adde

[x86 PATCH] Refactor new ix86_expand_carry to set the carry flag.

2023-06-18 Thread Roger Sayle
This patch refactors the three places in the i386.md backend that we set the carry flag into a new ix86_expand_carry helper function, that allows Jakub's recently added uaddc5 and usubc5 expanders to take advantage of the recently added support for the stc instruction. This patch has been tested