aboutsummaryrefslogtreecommitdiff
path: root/gcc/real.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-08-12 13:13:38 +0000
committerUlrich Weigand <uweigand@gcc.gnu.org>2008-08-12 13:13:38 +0000
commit88f091f5aec9a1d5a9deebe5cd743dcab2760d84 (patch)
treeb25b470542b27fbf4f61b6021a4e127af758b12b /gcc/real.h
parent4230d0fe3258a221706f791c04683bffb982e4f3 (diff)
downloadgcc-88f091f5aec9a1d5a9deebe5cd743dcab2760d84.zip
gcc-88f091f5aec9a1d5a9deebe5cd743dcab2760d84.tar.gz
gcc-88f091f5aec9a1d5a9deebe5cd743dcab2760d84.tar.bz2
real.c (spu_single_format): New variable.
ChangeLog: * real.c (spu_single_format): New variable. * real.h (spu_single_format): Declare. * config/spu/spu.c (spu_override_options): Install SFmode format. (spu_split_immediate): Use integer mode to operate on pieces of floating-point values in all cases. * config/spu/spu.md (UNSPEC_FLOAT_EXTEND, UNSPEC_FLOAT_TRUNCATE): New. ("extendsfdf2"): Use UNSPEC_FLOAT_EXTEND instead of FLOAT_EXTEND. ("truncdfsf2"): Use UNSPEC_FLOAT_TRUNCATE instead of FLOAT_TRUNCATE. testsuite/ChangeLog: * gcc.c-torture/execute/ieee/inf-2.c (testf): Skip on the SPU. Co-Authored-By: Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> From-SVN: r139013
Diffstat (limited to 'gcc/real.h')
-rw-r--r--gcc/real.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/real.h b/gcc/real.h
index 6332299..39522b6 100644
--- a/gcc/real.h
+++ b/gcc/real.h
@@ -259,6 +259,7 @@ extern unsigned int real_hash (const REAL_VALUE_TYPE *);
extern const struct real_format ieee_single_format;
extern const struct real_format mips_single_format;
extern const struct real_format motorola_single_format;
+extern const struct real_format spu_single_format;
extern const struct real_format ieee_double_format;
extern const struct real_format mips_double_format;
extern const struct real_format motorola_double_format;