aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-fpu.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-06-22 13:36:26 +0000
committerAndrew Cagney <cagney@redhat.com>2003-06-22 13:36:26 +0000
commit1f1b28179f4ddd66baa43256a12d2d03840d1690 (patch)
treeeb5278f504492bd32c9c980e1a5aa49a07983de0 /sim/common/sim-fpu.h
parent4056a1ef290ee8ec943d53888b14c5d29fd15bef (diff)
downloadfsf-binutils-gdb-1f1b28179f4ddd66baa43256a12d2d03840d1690.zip
fsf-binutils-gdb-1f1b28179f4ddd66baa43256a12d2d03840d1690.tar.gz
fsf-binutils-gdb-1f1b28179f4ddd66baa43256a12d2d03840d1690.tar.bz2
2003-06-22 Andrew Cagney <cagney@redhat.com>
From matthew green <mrg@redhat.com>: * sim-fpu.h: Update copyright. (sim_fpu_fraction, sim_fpu_guard): New prototypes. * sim-fpu.c: Update copyright. (sim_fpu_fraction, sim_fpu_guard): New inline functions.
Diffstat (limited to 'sim/common/sim-fpu.h')
-rw-r--r--sim/common/sim-fpu.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sim/common/sim-fpu.h b/sim/common/sim-fpu.h
index 755e194..579fbaa 100644
--- a/sim/common/sim-fpu.h
+++ b/sim/common/sim-fpu.h
@@ -1,5 +1,7 @@
/* Simulator Floating-point support.
- Copyright (C) 1997, 1998, 2002 Free Software Foundation, Inc.
+
+ Copyright 1997, 1998, 2002, 2003 Free Software Foundation, Inc.
+
Contributed by Cygnus Support.
This file is part of GDB, the GNU debugger.
@@ -42,7 +44,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
For unpacked structures (passed by value and reference), the code
quality of GCC-2.7 (on x86) for each alternative was compared.
- Needless to say the results, while better then for a packed 64 bit
+ Needless to say the results, while better than for a packed 64 bit
object, were still poor (GCC had only limited support for the
optimization of references to structure members). Regardless, the
struct-by-ref alternative achieved better results when compiled
@@ -316,6 +318,8 @@ INLINE_SIM_FPU (int) sim_fpu_is_denorm (const sim_fpu *s); /* !zero */
INLINE_SIM_FPU (int) sim_fpu_sign (const sim_fpu *s);
INLINE_SIM_FPU (int) sim_fpu_exp (const sim_fpu *s);
+INLINE_SIM_FPU (unsigned64) sim_fpu_fraction (const sim_fpu *s);
+INLINE_SIM_FPU (unsigned64) sim_fpu_guard (const sim_fpu *s, int is_double);