diff options
author | janis <janis@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-21 20:35:57 +0000 |
---|---|---|
committer | janis <janis@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-21 20:35:57 +0000 |
commit | 7ef78c0ee945d35db006506d14dc3107b8682da7 (patch) | |
tree | 4948a3e9be46d72766ccdee0bb2914089d321323 /libdecnumber | |
parent | e02b70bd6beff3cb99cb710b23aceb45185c83d4 (diff) | |
download | gcc-7ef78c0ee945d35db006506d14dc3107b8682da7.tar.gz |
decnumber/
* decLibrary.c (__dec_type_swap): Add prototype.
(__dfp_enable_traps, dfp_raise): Delete.
gcc/
* config/dfp-bit.h (CONTEXT_TRAPS, CONTEXT_ERRORS, DFP_RAISE): Delete.
* config/dfp-bit.c (dfp_unary_op, dfp_binary_op, dfp_compare_op,
DFP_TO_DFP, INT_TO_DFP, BFP_TO_DFP): Remove calls to DFP_RAISE.
testsuite/
* gcc.dg/dfp/snan.c: Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119068 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libdecnumber')
-rw-r--r-- | libdecnumber/ChangeLog | 3 | ||||
-rw-r--r-- | libdecnumber/decLibrary.c | 17 |
2 files changed, 4 insertions, 16 deletions
diff --git a/libdecnumber/ChangeLog b/libdecnumber/ChangeLog index 5810ffff2d2..0068a92bfad 100644 --- a/libdecnumber/ChangeLog +++ b/libdecnumber/ChangeLog @@ -1,5 +1,8 @@ 2006-11-21 Janis Johnson <janis187@us.ibm.com> + * decLibrary.c (__dec_type_swap): Add prototype. + (__dfp_enable_traps, dfp_raise): Delete. + * Makefile.in: Don't include decRound in library used by compiler. 2006-10-10 Brooks Moses <bmoses@stanford.edu> diff --git a/libdecnumber/decLibrary.c b/libdecnumber/decLibrary.c index 19468ac892e..f757ffa67d0 100644 --- a/libdecnumber/decLibrary.c +++ b/libdecnumber/decLibrary.c @@ -31,8 +31,7 @@ void __host_to_ieee_128 (_Decimal128, decimal128 *); extern int isinfd32 (_Decimal32); extern int isinfd64 (_Decimal64); extern int isinfd128 (_Decimal128); -extern void __dfp_enable_traps (void); -extern void __dfp_raise (int exception __attribute__ ((unused))); +uint32_t __dec_byte_swap (uint32_t); int isinfd32 (_Decimal32 arg) @@ -67,20 +66,6 @@ isinfd128 (_Decimal128 arg) return (decNumberIsInfinite (&dn)); } -int __dfp_traps; - -void -__dfp_enable_traps (void) -{ - __dfp_traps = 1; -} - -void -__dfp_raise (int exception __attribute__ ((unused))) -{ - raise (SIGFPE); -} - uint32_t __dec_byte_swap (uint32_t in) { |