diff options
author | Jakub Jelinek <jakub@redhat.com> | 2018-04-25 15:11:03 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2018-04-25 15:11:03 +0200 |
commit | 971424e418f4ab1272fa006c85dcf658d375463a (patch) | |
tree | 74addb1c04c76b18081045f357dd5d90267e0f5b /gcc | |
parent | b15b6fc56478c6243e5776d04c23565ebba87e68 (diff) | |
download | gcc-971424e418f4ab1272fa006c85dcf658d375463a.zip gcc-971424e418f4ab1272fa006c85dcf658d375463a.tar.gz gcc-971424e418f4ab1272fa006c85dcf658d375463a.tar.bz2 |
i386.md (*x86_mov<mode>cc_0_m1): Use type "alu1" rather than "alu"...
* config/i386/i386.md (*x86_mov<mode>cc_0_m1): Use type "alu1" rather
than "alu", remove explicit "memory" and "imm_disp" attributes.
(*x86_mov<mode>cc_0_m1_se, *x86_mov<mode>cc_0_m1_neg): Likewise.
From-SVN: r259650
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/i386/i386.md | 14 |
2 files changed, 7 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e2f6e9c..8640e2e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2018-04-25 Jakub Jelinek <jakub@redhat.com> + * config/i386/i386.md (*x86_mov<mode>cc_0_m1): Use type "alu1" rather + than "alu", remove explicit "memory" and "imm_disp" attributes. + (*x86_mov<mode>cc_0_m1_se, *x86_mov<mode>cc_0_m1_neg): Likewise. + PR middle-end/85414 * simplify-rtx.c (simplify_unary_operation_1) <case SIGN_EXTEND, case ZERO_EXTEND>: Pass SUBREG_REG (op) rather than op to diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index ad9ccf9..1db95f0 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -17900,14 +17900,10 @@ (clobber (reg:CC FLAGS_REG))] "" "sbb{<imodesuffix>}\t%0, %0" - ; Since we don't have the proper number of operands for an alu insn, - ; fill in all the blanks. - [(set_attr "type" "alu") + [(set_attr "type" "alu1") (set_attr "modrm_class" "op0") (set_attr "use_carry" "1") (set_attr "pent_pair" "pu") - (set_attr "memory" "none") - (set_attr "imm_disp" "false") (set_attr "mode" "<MODE>") (set_attr "length_immediate" "0")]) @@ -17920,12 +17916,10 @@ (clobber (reg:CC FLAGS_REG))] "" "sbb{<imodesuffix>}\t%0, %0" - [(set_attr "type" "alu") + [(set_attr "type" "alu1") (set_attr "modrm_class" "op0") (set_attr "use_carry" "1") (set_attr "pent_pair" "pu") - (set_attr "memory" "none") - (set_attr "imm_disp" "false") (set_attr "mode" "<MODE>") (set_attr "length_immediate" "0")]) @@ -17936,12 +17930,10 @@ (clobber (reg:CC FLAGS_REG))] "" "sbb{<imodesuffix>}\t%0, %0" - [(set_attr "type" "alu") + [(set_attr "type" "alu1") (set_attr "modrm_class" "op0") (set_attr "use_carry" "1") (set_attr "pent_pair" "pu") - (set_attr "memory" "none") - (set_attr "imm_disp" "false") (set_attr "mode" "<MODE>") (set_attr "length_immediate" "0")]) |