summaryrefslogtreecommitdiff
path: root/gcc/ChangeLog
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2015-11-17 18:47:02 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2015-11-17 18:47:02 +0000
commite3240774da4f4334cd5ab34579770788a99d17f1 (patch)
treea5d1ace93e0252d5801b679ce67304637037962a /gcc/ChangeLog
parent62dbd209609a1382eb4f256f6c58a92413880dbe (diff)
downloadgcc-e3240774da4f4334cd5ab34579770788a99d17f1.tar.gz
Extend mathfn_built_in to handle combined_fn
This patch extends mathfn_built_in to handle combined_fn, but keeps the old built_in_function interface around since it's a common case. Tested on x86_64-linux-gnu, aarch64-linux-gnu and arm-linux-gnueabi. gcc/ * builtins.h (mathfn_built_in): Add a variant that takes a combined_fn. * builtins.c: Include case-cfn-macros.h. (CASE_MATHFN): Use CASE_CFN_*. (CASE_MATHFN_REENT): Use CFN_ codes. (mathfn_built_in_2, mathfn_built_in_1): Replace built_in_function argument with a combined_fn. (mathfn_built_in): Add a variant that takes a combined_fn. (expand_builtin_int_roundingfn_2): Update callers accordingly. (fold_builtin_sincos, fold_builtin_classify): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230483 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r--gcc/ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a540ae7f738..ac21b4b6cfc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,18 @@
2015-11-17 Richard Sandiford <richard.sandiford@arm.com>
+ * builtins.h (mathfn_built_in): Add a variant that takes
+ a combined_fn.
+ * builtins.c: Include case-cfn-macros.h.
+ (CASE_MATHFN): Use CASE_CFN_*.
+ (CASE_MATHFN_REENT): Use CFN_ codes.
+ (mathfn_built_in_2, mathfn_built_in_1): Replace built_in_function
+ argument with a combined_fn.
+ (mathfn_built_in): Add a variant that takes a combined_fn.
+ (expand_builtin_int_roundingfn_2): Update callers accordingly.
+ (fold_builtin_sincos, fold_builtin_classify): Likewise.
+
+2015-11-17 Richard Sandiford <richard.sandiford@arm.com>
+
* tree-vect-patterns.c: Include case-cfn-macros.h.
(vect_recog_pow_pattern): Use combined_fn instead of built-in codes.