about summary refs log tree commit diff
path: root/sysdeps/alpha/fpu/s_ccoshf.c
diff options
context:
space:
mode:
authorPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-06-27 17:11:46 -0500
committerPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-08-19 11:28:55 -0500
commit01ee387015a2075c45a4e1ad45d39e50b5a6d40b (patch)
treec8d2a88b0900c294d5e82fe869908d46b3ca838f /sysdeps/alpha/fpu/s_ccoshf.c
parent281f5073e5a6d2cd3733acd9c773c8c6340468c4 (diff)
downloadglibc-01ee387015a2075c45a4e1ad45d39e50b5a6d40b.tar.gz
glibc-01ee387015a2075c45a4e1ad45d39e50b5a6d40b.tar.xz
glibc-01ee387015a2075c45a4e1ad45d39e50b5a6d40b.zip
Convert _Complex cosine functions to generated code
This is fairly straight fowards.  m68k overrides are
updated to use the framework, and thus are simplified
a bit.
Diffstat (limited to 'sysdeps/alpha/fpu/s_ccoshf.c')
-rw-r--r--sysdeps/alpha/fpu/s_ccoshf.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/sysdeps/alpha/fpu/s_ccoshf.c b/sysdeps/alpha/fpu/s_ccoshf.c
index 16f49de6d4..e5de040e52 100644
--- a/sysdeps/alpha/fpu/s_ccoshf.c
+++ b/sysdeps/alpha/fpu/s_ccoshf.c
@@ -24,14 +24,18 @@
 
 #undef __ccoshf
 #undef ccoshf
-#define __ccoshf internal_ccoshf
 
 static _Complex float internal_ccoshf (_Complex float x);
 
-#include <math/s_ccoshf.c>
-#include "cfloat-compat.h"
+#define M_DECL_FUNC(f) internal_ccoshf
+#include <math-type-macros-float.h>
 
-#undef __ccoshf
+/* Disable any aliasing from base template.  */
+#undef declare_mgen_alias
+#define declare_mgen_alias(__to, __from)
+
+#include <math/s_ccosh_template.c>
+#include "cfloat-compat.h"
 
 c1_cfloat_rettype
 __c1_ccoshf (c1_cfloat_decl (x))