From: Uros Bizjak Date: Fri, 27 Oct 2017 21:52:26 +0000 (+0200) Subject: i386-protos.h (ix86_fp_compare_mode): Remove prototype. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b5176e0ab5c2a6367f4e3b367700cff5048cfa67;p=gcc.git i386-protos.h (ix86_fp_compare_mode): Remove prototype. * config/i386/i386-protos.h (ix86_fp_compare_mode): Remove prototype. From-SVN: r254184 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1286c91b590..b403f065410 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 aaed0b747cf..bb6f4a53e72 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 8a2e2dac6b7..80c8ce7ecb9 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 be9be85a3f2..c3f442eb8ac 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: