i386: Use plus_constant instead of gen_rtx_PLUS
commitc3185b64529529941ec99a9a26bc5552677ee7c7
authorUros Bizjak <ubizjak@gmail.com>
Sun, 3 May 2020 18:52:06 +0000 (3 20:52 +0200)
committerUros Bizjak <ubizjak@gmail.com>
Sun, 3 May 2020 18:52:06 +0000 (3 20:52 +0200)
tree99db0210dca9dcb89a2448eee0dc35929f5e33d6
parent22b6b5d6cfb76deb68ca5bc0bcae8b4245df946d
i386: Use plus_constant instead of gen_rtx_PLUS

Replace gen_rtx_PLUS with a GEN_INT with plus_constant.

2020-05-03  Uroš Bizjak  <ubizjak@gmail.com>

        * config/i386/i386-expand.c (ix86_expand_int_movcc):
Use plus_constant instead of gen_rtx_PLUS with GEN_INT.
(emit_memmov): Ditto.
(emit_memset): Ditto.
(ix86_expand_strlensi_unroll_1): Ditto.
(release_scratch_register_on_entry): Ditto.
(gen_frame_set): Ditto.
(ix86_emit_restore_reg_using_pop): Ditto.
(ix86_emit_outlined_ms2sysv_restore): Ditto.
(ix86_expand_epilogue): Ditto.
(ix86_expand_split_stack_prologue): Ditto.
* config/i386/i386.md (push immediate splitter): Ditto.
(strmov): Ditto.
(strset): Ditto.
gcc/ChangeLog
gcc/config/i386/i386-expand.c
gcc/config/i386/i386.c
gcc/config/i386/i386.md