diff options
author | janis <janis@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-05 22:16:33 +0000 |
---|---|---|
committer | janis <janis@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-05 22:16:33 +0000 |
commit | 94324bd1e1b5da605f646acc3438ee9cf2410b5a (patch) | |
tree | 72280026eaa73c9852ddb3c7c02af486aa283ed6 /gcc/real.h | |
parent | fd6631fdaa78a44854e81f29fcc8d118b049a36d (diff) | |
download | gcc-94324bd1e1b5da605f646acc3438ee9cf2410b5a.tar.gz |
gcc/
* optabs.c (expand_float): Convert unsigned integer as signed only
if it provides sufficient accuracy; add mode argument to real_2expN.
(expand_fix): Fix comment typos; extend binary float into mode
wider than destination for converion to unsigned integer; add mode
argument to real_2expN.
* real.c (real_2expN): Add mode argument to special-case decimal
float values.
* real.h (real_2expN): Ditto.
* fixed-value.c (check_real_for_fixed_mode): Add mode argument to
real_2expN.
(fixed_from_string): Ditto.
(fixed_to_decimal): Ditto.
(fixed_convert_from_real): Ditto.
(real_convert_from_fixed): Ditto.
* config/rs6000/rs6000.md (FP): Include DD and TD modes.
* config/rs6000/dfp.md (extendddtd2, adddd3, addtd3, subdd3, subtd3,
muldd3, multd3, divdd3, divtd3, cmpdd_internal1, cmptd_internal1,
floatditd2, ftruncdd2, fixdddi2, ftrunctd2, fixddi2): New.
gcc/testsuite/
* gcc.target/powerpc/dfp-dd.c: New test.
* gcc.target/powerpc/dfp-td.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128156 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/real.h')
-rw-r--r-- | gcc/real.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/real.h b/gcc/real.h index e24a0df8a64..1eaabed28c0 100644 --- a/gcc/real.h +++ b/gcc/real.h @@ -248,7 +248,7 @@ extern bool real_nan (REAL_VALUE_TYPE *, const char *, int, enum machine_mode); extern void real_maxval (REAL_VALUE_TYPE *, int, enum machine_mode); -extern void real_2expN (REAL_VALUE_TYPE *, int); +extern void real_2expN (REAL_VALUE_TYPE *, int, enum machine_mode); extern unsigned int real_hash (const REAL_VALUE_TYPE *); |