https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79173
--- Comment #19 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:ec52d228d6db7f77188ad099a8c0ff65dead3241 commit r14-1836-gec52d228d6db7f77188ad099a8c0ff65dead3241 Author: Jakub Jelinek <ja...@redhat.com> Date: Thu Jun 15 09:08:37 2023 +0200 i386: Add peephole2 patterns to improve subtract with borrow with memory destination [PR79173] This patch adds subborrow<mode> alternative so that it can have memory destination and adds various peephole2s which help to match it. 2023-06-15 Jakub Jelinek <ja...@redhat.com> PR middle-end/79173 * config/i386/i386.md (subborrow<mode>): Add alternative with memory destination and add for it define_peephole2 TARGET_READ_MODIFY_WRITE/-Os patterns to prefer using memory destination in these patterns.