aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2006-03-30 12:11:16 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2006-03-30 12:11:16 +0000
commit7d3a3b01c3f43635a798a0e03765aef9fdf17e9e (patch)
tree1f3a7815ffe634bd001cb95eeac2b85a5f17f19b /gcc/config
parent5cd88d6857dffe4f10c834c773c300881ec20e32 (diff)
downloadgcc-7d3a3b01c3f43635a798a0e03765aef9fdf17e9e.zip
gcc-7d3a3b01c3f43635a798a0e03765aef9fdf17e9e.tar.gz
gcc-7d3a3b01c3f43635a798a0e03765aef9fdf17e9e.tar.bz2
Makefile.am: Do not build dbl-64 variants.
2006-03-30 Richard Guenther <rguenther@suse.de> * i386/Makefile.am: Do not build dbl-64 variants. * i386/Makefile.in: Regenerate. * dbl-64: Remove. * config/i386/i386.c: Remove builtins for SSE2 ABI intrinsic variants with double arguments. * gcc.target/i386/sselibm-1.c: Adjust for libgcc-math partial removal. * gcc.target/i386/sselibm-2.c: Likewise. * gcc.target/i386/sselibm-3.c: Likewise. * gcc.target/i386/sselibm-4.c: Likewise. * gcc.target/i386/sselibm-5.c: Likewise. From-SVN: r112530
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/i386/i386.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 5ba4a52..da4b135 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -15349,7 +15349,7 @@ ix86_init_mmx_sse_builtins (void)
static void
ix86_init_sse_abi_builtins (void)
{
- tree dbl, flt, dbl2, flt2;
+ tree flt, flt2;
/* Bail out in case the template definitions are not available. */
if (! built_in_decls [BUILT_IN_SIN]
@@ -15359,18 +15359,10 @@ ix86_init_sse_abi_builtins (void)
return;
/* Build the function types as variants of the existing ones. */
- dbl = build_variant_type_copy (TREE_TYPE (built_in_decls [BUILT_IN_SIN]));
- TYPE_ATTRIBUTES (dbl)
- = tree_cons (get_identifier ("sseregparm"),
- NULL_TREE, TYPE_ATTRIBUTES (dbl));
flt = build_variant_type_copy (TREE_TYPE (built_in_decls [BUILT_IN_SINF]));
TYPE_ATTRIBUTES (flt)
= tree_cons (get_identifier ("sseregparm"),
NULL_TREE, TYPE_ATTRIBUTES (flt));
- dbl2 = build_variant_type_copy (TREE_TYPE (built_in_decls [BUILT_IN_ATAN2]));
- TYPE_ATTRIBUTES (dbl2)
- = tree_cons (get_identifier ("sseregparm"),
- NULL_TREE, TYPE_ATTRIBUTES (dbl2));
flt2 = build_variant_type_copy (TREE_TYPE (built_in_decls [BUILT_IN_ATAN2F]));
TYPE_ATTRIBUTES (flt2)
= tree_cons (get_identifier ("sseregparm"),
@@ -15383,25 +15375,15 @@ ix86_init_sse_abi_builtins (void)
BUILT_IN_NORMAL, \
"__libm_sse2_" # name, NULL_TREE)
- def_builtin (ACOS, acos, dbl);
def_builtin (ACOSF, acosf, flt);
- def_builtin (ASIN, asin, dbl);
def_builtin (ASINF, asinf, flt);
- def_builtin (ATAN, atan, dbl);
def_builtin (ATANF, atanf, flt);
- def_builtin (ATAN2, atan2, dbl2);
def_builtin (ATAN2F, atan2f, flt2);
- def_builtin (COS, cos, dbl);
def_builtin (COSF, cosf, flt);
- def_builtin (EXP, exp, dbl);
def_builtin (EXPF, expf, flt);
- def_builtin (LOG10, log10, dbl);
def_builtin (LOG10F, log10f, flt);
- def_builtin (LOG, log, dbl);
def_builtin (LOGF, logf, flt);
- def_builtin (SIN, sin, dbl);
def_builtin (SINF, sinf, flt);
- def_builtin (TAN, tan, dbl);
def_builtin (TANF, tanf, flt);
#undef def_builtin