diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-29 22:21:15 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-29 22:21:15 +0000 |
commit | 5bd20ed7fffc3a1d689cbda59db2282b86bc6fda (patch) | |
tree | ed411a0171be280752268f99928f9850f792f319 /gcc/f/target.h | |
parent | 48d79b3b7e4ae6fa4a169fae9d0e41ddb2e71ede (diff) | |
download | gcc-5bd20ed7fffc3a1d689cbda59db2282b86bc6fda.tar.gz |
f:
* target.c (FFETARGET_ATOF_): Delete.
(ffetarget_real1, ffetarget_real2): Use real_from_string directly.
* target.h (FFETARGET_REAL_VALUE_FROM_INT_,
FFETARGET_REAL_VALUE_FROM_LONGLONG_): Use mode_for_size,
don't refer to SFmode or DFmode directly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71922 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/f/target.h')
-rw-r--r-- | gcc/f/target.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/f/target.h b/gcc/f/target.h index eff6ab9df40..8ec73addc85 100644 --- a/gcc/f/target.h +++ b/gcc/f/target.h @@ -579,13 +579,13 @@ void *ffetarget_memcpy_ (void *dst, void *src, size_t len); #define FFETARGET_REAL_VALUE_FROM_INT_(resr, lf, kt) \ REAL_VALUE_FROM_INT (resr, (HOST_WIDE_INT) lf, \ (HOST_WIDE_INT) ((lf < 0) ? -1 : 0), \ - ((kt == 1) ? SFmode : DFmode)) + mode_for_size (kt == 1 ? 32 : 64, MODE_FLOAT, 0)) #if HOST_BITS_PER_LONGLONG > HOST_BITS_PER_WIDE_INT #define FFETARGET_REAL_VALUE_FROM_LONGLONG_(resr, lf, kt) \ REAL_VALUE_FROM_INT (resr, (HOST_WIDE_INT) lf, \ (HOST_WIDE_INT) (lf >> HOST_BITS_PER_WIDE_INT), \ - ((kt == 1) ? SFmode : DFmode)) + mode_for_size (kt == 1 ? 32 : 64, MODE_FLOAT, 0)) #define FFETARGET_LONGLONG_FROM_INTS_(hi, lo) \ (((long long int) hi << HOST_BITS_PER_WIDE_INT) \ | (long long int) ((unsigned HOST_WIDE_INT) lo)) |