]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix changelog
authorAndrew Cagney <cagney@redhat.com>
Sun, 22 Jun 2003 13:29:17 +0000 (13:29 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 22 Jun 2003 13:29:17 +0000 (13:29 +0000)
sim/common/ChangeLog
sim/common/sim-fpu.c
sim/common/sim-fpu.h

index 16296da9409f09182d12b4ceaf438de02d70f9cf..83b4556f0216c2176c1f18d1b58e73d96add8060 100644 (file)
@@ -1,5 +1,6 @@
-2003-06-17  Doug Evans  <dje@sebabeach.org>
+2003-06-17  Frank Ch. Eigler  <fche@redhat.com>
 
+       From Doug Evans <dje@sebabeach.org>:
        * cgen-trace.h (sim_disasm_read_memory): Update args to be compatible
        with disassemble_info:read_memory_func.
        * cgen-trace.c (sim_disasm_read_memory): Ditto.
index 14505f64c4b9cfe1d005dca9233679b350e0eaf6..845248adb590e9b5619348ad511855c15535a69c 100644 (file)
@@ -2,7 +2,7 @@
    of the floating point routines in libgcc1.c for targets without
    hardware floating point.  */
 
-/* Copyright (C) 1994,1997-1998 Free Software Foundation, Inc.
+/* Copyright 1994, 1997, 1998, 2003 Free Software Foundation, Inc.
 
 This file is free software; you can redistribute it and/or modify it
 under the terms of the GNU General Public License as published by the
@@ -2188,6 +2188,22 @@ sim_fpu_exp (const sim_fpu *d)
 }
 
 
+INLINE_SIM_FPU (unsigned64)
+sim_fpu_fraction (const sim_fpu *d)
+{
+  return d->fraction;
+}
+
+
+INLINE_SIM_FPU (unsigned64)
+sim_fpu_guard (const sim_fpu *d, int is_double)
+{
+  unsigned64 rv;
+  unsigned64 guardmask = LSMASK64 (NR_GUARDS - 1, 0);
+  rv = (d->fraction & guardmask) >> NR_PAD;
+  return rv;
+}
+
 
 INLINE_SIM_FPU (int)
 sim_fpu_is (const sim_fpu *d)
index 72323f5247b7a6fd7b478816029bfc32268c3791..579fbaaf1525ecbd6a49c2dd5f85333d948abb33 100644 (file)
@@ -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.
@@ -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);