From: Uros Bizjak Date: Fri, 6 May 2016 14:34:58 +0000 (+0200) Subject: i386.md (int cmove peephole2s): Use general_reg_operand instead of register_and_not_a... X-Git-Tag: basepoints/gcc-8~7080 X-Git-Url: https://gcc.gnu.org/git/?a=commitdiff_plain;h=9c5e57dfb7524eaa0cc65efd5b71bf4b48b010a1;p=gcc.git i386.md (int cmove peephole2s): Use general_reg_operand instead of register_and_not_any_fp_reg_operand as... * config/i386/i386.md (int cmove peephole2s): Use general_reg_operand instead of register_and_not_any_fp_reg_operand as operand 0 predicate. * config/i386/predicates.md (register_and_not_any_fp_reg_operand): Remove unused predicate. (register_and_not_fp_reg_operand): Ditto. From-SVN: r235975 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6593023843ef..4e40912d8663 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2016-05-06 Uros Bizjak + + * config/i386/i386.md (int cmove peephole2s): Use general_reg_operand + instead of register_and_not_any_fp_reg_operand as operand 0 predicate. + * config/i386/predicates.md (register_and_not_any_fp_reg_operand): + Remove unused predicate. + (register_and_not_fp_reg_operand): Ditto. + 2016-05-06 Martin Liska * tree-if-conv.c (ifcvt_split_critical_edges): Use auto_vec @@ -2756,6 +2764,7 @@ (avx512f__): Ditto. (avx512f__256): Ditto. (*sse4_1_extractps): Use lowpart_subreg. + * config/i386/i386.md (x87 floatsplitter): Use gen_lowpart. 2016-04-18 Rainer Orth diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 0bf01ab1fadf..8bebba7be021 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -5272,7 +5272,7 @@ emit_insn (gen_vec_interleave_lowv4si (operands[3], operands[3], operands[4])); - operands[3] = gen_rtx_REG (DImode, REGNO (operands[3])); + operands[3] = gen_lowpart (DImode, operands[3]); }) (define_split @@ -17211,7 +17211,7 @@ (set_attr "mode" "DF,DF,DI,DI,DI,DI")]) (define_split - [(set (match_operand:DF 0 "register_and_not_any_fp_reg_operand") + [(set (match_operand:DF 0 "general_reg_operand") (if_then_else:DF (match_operator 1 "fcmov_comparison_operator" [(reg FLAGS_REG) (const_int 0)]) (match_operand:DF 2 "nonimmediate_operand") @@ -17267,7 +17267,7 @@ ;; Don't do conditional moves with memory inputs (define_peephole2 [(match_scratch:MODEF 4 "r") - (set (match_operand:MODEF 0 "register_and_not_any_fp_reg_operand") + (set (match_operand:MODEF 0 "general_reg_operand") (if_then_else:MODEF (match_operator 1 "fcmov_comparison_operator" [(reg FLAGS_REG) (const_int 0)]) (match_operand:MODEF 2 "nonimmediate_operand")