aboutsummaryrefslogtreecommitdiff
path: root/gcc/targhooks.h
diff options
context:
space:
mode:
authorJames Greenhalgh <james.greenhalgh@arm.com>2016-11-23 17:14:07 +0000
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>2016-11-23 17:14:07 +0000
commit42e02b207fdf71f09020eef2bba3e25f5f57a946 (patch)
treec7ee3fc4890a00af4ef7dfacfa95f70282c9cdd3 /gcc/targhooks.h
parentaecc521b46ac451c0547d8693bfcfabfb3832401 (diff)
downloadgcc-42e02b207fdf71f09020eef2bba3e25f5f57a946.zip
gcc-42e02b207fdf71f09020eef2bba3e25f5f57a946.tar.gz
gcc-42e02b207fdf71f09020eef2bba3e25f5f57a946.tar.bz2
[Patch 1/17] Add a new target hook for describing excess precision intentions
gcc/ * target.def (excess_precision): New hook. * target.h (flt_eval_method): New. (excess_precision_type): Likewise. * targhooks.c (default_excess_precision): New. * targhooks.h (default_excess_precision): New. * doc/tm.texi.in (TARGET_C_EXCESS_PRECISION): New. * doc/tm.texi: Regenerate. From-SVN: r242771
Diffstat (limited to 'gcc/targhooks.h')
-rw-r--r--gcc/targhooks.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/targhooks.h b/gcc/targhooks.h
index 94f5e31..e00da60 100644
--- a/gcc/targhooks.h
+++ b/gcc/targhooks.h
@@ -263,4 +263,7 @@ extern bool default_optab_supported_p (int, machine_mode, machine_mode,
extern unsigned int default_max_noce_ifcvt_seq_cost (edge);
extern unsigned int default_min_arithmetic_precision (void);
+extern enum flt_eval_method
+default_excess_precision (enum excess_precision_type ATTRIBUTE_UNUSED);
+
#endif /* GCC_TARGHOOKS_H */