From b5176e0ab5c2a6367f4e3b367700cff5048cfa67 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Fri, 27 Oct 2017 23:52:26 +0200 Subject: [PATCH] i386-protos.h (ix86_fp_compare_mode): Remove prototype. * config/i386/i386-protos.h (ix86_fp_compare_mode): Remove prototype. From-SVN: r254184 --- gcc/ChangeLog | 4 ++++ gcc/config/i386/i386-protos.h | 2 -- gcc/config/i386/i386.c | 7 +++---- gcc/config/i386/predicates.md | 3 +-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1286c91..b403f06 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2017-10-27 Uros Bizjak + + * config/i386/i386-protos.h (ix86_fp_compare_mode): Remove prototype. + 2017-10-27 Michael Meissner * builtins.c (CASE_MATHFN_FLOATN): New helper macro to add cases diff --git a/gcc/config/i386/i386-protos.h b/gcc/config/i386/i386-protos.h index aaed0b7..bb6f4a5 100644 --- a/gcc/config/i386/i386-protos.h +++ b/gcc/config/i386/i386-protos.h @@ -158,8 +158,6 @@ extern int ix86_attr_length_immediate_default (rtx_insn *, bool); extern int ix86_attr_length_address_default (rtx_insn *); extern int ix86_attr_length_vex_default (rtx_insn *, bool, bool); -extern machine_mode ix86_fp_compare_mode (enum rtx_code); - extern rtx ix86_libcall_value (machine_mode); extern bool ix86_function_arg_regno_p (int); extern void ix86_asm_output_function_label (FILE *, const char *, tree); diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 8a2e2da..80c8ce7 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -43189,9 +43189,9 @@ ix86_encode_section_info (tree decl, rtx rtl, int first) enum rtx_code ix86_reverse_condition (enum rtx_code code, machine_mode mode) { - return (mode != CCFPmode - ? reverse_condition (code) - : reverse_condition_maybe_unordered (code)); + return (mode == CCFPmode + ? reverse_condition_maybe_unordered (code) + : reverse_condition (code)); } /* Output code to perform an x87 FP register move, from OPERANDS[1] @@ -47647,7 +47647,6 @@ ix86_expand_vecop_qihi (enum rtx_code code, rtx dest, rtx op1, rtx op2) op2_h = gen_reg_rtx (qimode); emit_insn (gen_il (op2_l, op2, op2)); emit_insn (gen_ih (op2_h, op2, op2)); - /* FALLTHRU */ op1_l = gen_reg_rtx (qimode); op1_h = gen_reg_rtx (qimode); diff --git a/gcc/config/i386/predicates.md b/gcc/config/i386/predicates.md index be9be85..c3f442e 100644 --- a/gcc/config/i386/predicates.md +++ b/gcc/config/i386/predicates.md @@ -1311,8 +1311,7 @@ switch (code) { case LTU: case GTU: case LEU: case GEU: - if (inmode == CCmode || inmode == CCFPmode - || inmode == CCCmode) + if (inmode == CCmode || inmode == CCFPmode || inmode == CCCmode) return true; return false; case ORDERED: case UNORDERED: -- 2.7.4