diff options
author | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-12 13:13:38 +0000 |
---|---|---|
committer | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-12 13:13:38 +0000 |
commit | 98bbec1e473511d08a36b0cf5796c7337c5d07f8 (patch) | |
tree | b25b470542b27fbf4f61b6021a4e127af758b12b /gcc/real.h | |
parent | 006e4b96b8725bbd645f8bf8a2463a6a931c1c19 (diff) | |
download | gcc-98bbec1e473511d08a36b0cf5796c7337c5d07f8.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139013 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/real.h')
-rw-r--r-- | gcc/real.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/real.h b/gcc/real.h index 633229969a7..39522b6332c 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; |