From 5c88ea9456b266f202ee0a690b41f9a4e9558457 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Mon, 5 Oct 2015 11:35:07 +0000 Subject: Remove remaining uses of REAL_ARITHMETIC This patch replaces all remaining uses of the old target macro REAL_ARITHMETIC with calls to the (now generic) real_arithmetic function. Bootstrapped & regression-tested on x86_64-linux-gnu. Also tested by building one target per CPU directory and checking that there were no new warnings and no changes in testsuite output at -O2. gcc/ada/ * gcc-interface/trans.c (convert_with_check): Use real_arithmetic instead of REAL_ARITHMETIC. gcc/ * doc/tm.texi.in (REAL_ARITHMETIC): Delete. * doc/tm.texi: Regenerate. * real.h (REAL_ARITHMETIC): Delete. * config/i386/i386.c (ix86_expand_lround, ix86_expand_round) (ix86_expand_round_sse4): Use real_arithmetic instead of REAL_ARITHMETIC. * config/i386/sse.md (round2): Likewise. * rtl.h (rtx_to_tree_code): Likewise (in comment). * explow.c (rtx_to_tree_code): Likewise (in comment). * match.pd: Likewise. * simplify-rtx.c (simplify_binary_operation_1): Likewise. * tree-ssa-math-opts.c (representable_as_half_series_p): Likewise. (expand_pow_as_sqrts): Likewise. * tree-pretty-print.c (dump_generic_node): Remove code that was conditional on REAL_ARITHMETIC being undefined. From-SVN: r228476 --- gcc/real.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'gcc/real.h') diff --git a/gcc/real.h b/gcc/real.h index be429b5..3fff0c5 100644 --- a/gcc/real.h +++ b/gcc/real.h @@ -331,9 +331,6 @@ extern const struct real_format arm_half_format; /* ====================================================================== */ /* Crap. */ -#define REAL_ARITHMETIC(value, code, d1, d2) \ - real_arithmetic (&(value), code, &(d1), &(d2)) - /* Determine whether a floating-point value X is infinite. */ #define REAL_VALUE_ISINF(x) real_isinf (&(x)) -- cgit v1.1