]> gcc.gnu.org Git - gcc.git/commit
i386: Add peephole2 patterns to improve subtract with borrow with memory destination...
authorJakub Jelinek <jakub@redhat.com>
Thu, 15 Jun 2023 07:08:37 +0000 (09:08 +0200)
committerJakub Jelinek <jakub@redhat.com>
Thu, 15 Jun 2023 07:08:37 +0000 (09:08 +0200)
commitec52d228d6db7f77188ad099a8c0ff65dead3241
tree0c29de752bf7eb40f185b56f438a28c977898435
parentb6ca11407d4f5d16ccfb580ea2d3d9aa08d7cd11
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  <jakub@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.
gcc/config/i386/i386.md
This page took 0.397664 seconds and 5 git commands to generate.