aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-fpu.c
AgeCommit message (Collapse)AuthorFilesLines
2013-01-01Update years in copyright notice for the GDB files.Joel Brobecker1-2/+1
Two modifications: 1. The addition of 2013 to the copyright year range for every file; 2. The use of a single year range, instead of potentially multiple year ranges, as approved by the FSF.
2012-01-02Update the copyright header of various files...Joel Brobecker1-1/+1
... to follow the correct syntax (according to the gospel of gnulib's update-copyright). In other words: - no comma after the last year; - FSF spelled exactly "Free Software Foundation, Inc.", with the comma and the period at the end. sim/common/ChangeLog: * dv-sockser.h, sim-assert.h, sim-fpu.c: Reformat the copyright header. sim/m32c/ChangeLog: * blinky.S, gloss.S, sample.S: Reformat copyright header. sim/mn10300/ChangeLog: * sim-main.h: Reformat copyright header. sim/ppc/ChangeLog: * dp-bit.c: Reformat copyright header. gdb/ChangeLog: * gdb/common/gdb_thread_db.h, gdb/dbxread.c, gdb/environ.c, gdb/gcore.h, gdb/rs6000-tdep.h, gdb/s390-nat.c, gdb/tic6x-tdep.c: Reformat the copyright header. gdb/gdbserver/ChangeLog: * terminal.h: Reformat copyright header. gdb/testsuite/ChangeLog: * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c, gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c, gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c, gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c, gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc, gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc, gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp, gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c, gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c, gdb.threads/thread_check.c: Reformat copyright header.
2011-03-15sim: common: trim trailing whitespaceMike Frysinger1-29/+29
2011-01-01run copyright.sh for 2011.Joel Brobecker1-1/+1
2010-04-23sim: fix fpu missing initializer warningsMike Frysinger1-2/+2
The current fpu code with externals enabled results in the warnings: common/sim-fpu.c:2437: warning: missing initializer common/sim-fpu.c:2437: warning: (near initialization for 'sim_fpu_zero.sign') common/sim-fpu.c:2440: warning: missing initializer common/sim-fpu.c:2440: warning: (near initialization for 'sim_fpu_qnan.sign') So tweak the old style initializers to avoid these. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-04-10sim: constify sim_fpu_print_statusMike Frysinger1-1/+1
I've committed the following patch as obvious. The local "prefix" variable is only assigned const strings, and only passed to printf() functions, so add "const" to avoid gcc warnings: common/sim-fpu.c: In function 'sim_fpu_print_status': common/sim-fpu.c:2508: warning: initialization discards qualifiers from pointer target type common/sim-fpu.c:2566: warning: assignment discards qualifiers from pointer target type Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-04-10sim: drop duplicate break statements in sim-fpuMike Frysinger1-6/+0
2010-01-01Update copyright notices to add year 2010.Joel Brobecker1-1/+1
2009-01-14 Update the copyright notice of some of the files I missedJoel Brobecker1-1/+2
in the previous copyright update.
2008-01-01 Updated copyright notices for most files.Daniel Jacobowitz1-1/+1
2007-08-24 Switch the license of all files explicitly copyright the FSFJoel Brobecker1-19/+10
to GPLv3.
2007-01-09Copyright updates for 2007.Daniel Jacobowitz1-1/+1
2006-08-29 * sim-fpu.c (pack_fpu): Handle QUIET_NAN correctly forThiemo Seufer1-0/+4
SIM_QUIET_NAN_NEGATED.
2005-07-08 * sim-fpu.c (sim_fpu_abs): Always clear the sign bit.Ian Lance Taylor1-8/+2
2005-07-08 * sim-fpu.c (pack_fpu): If SIM_QUIET_NAN_NEGATED is defined, use aIan Lance Taylor1-1/+12
different fraction for a quiet NaN. (unpack_fpu): Likewise.
2003-06-222003-06-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-28/+18
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.
2003-06-22Oops! Committed to much, reverting :-(Andrew Cagney1-18/+28
2003-06-22Fix changelogAndrew Cagney1-1/+17
2002-11-282002-11-27 Richard Sandiford <rsandifo@redhat.com>Chris Demetriou1-27/+1
* sim-fpu.c (sim_fpu_inv): Use sim_fpu_div.
2002-06-12002-06-09 Aldy Hernandez <aldyh@redhat.com>Aldy Hernandez1-0/+4
* sim-fpu.c (unpack_fpu): Initialize exponent for sim_fpu_class_zero. (i2fpu): Same. (sim_fpu_sqrt): Same.
2000-12-232000-12-15 Ben Elliston <bje@redhat.com>Ben Elliston1-31/+20
* sim-fpu.h (sim_fpu_printn_fpu): Declare. * sim-fpu.c (print_bits): Add digits parameter. Print only as many trailing digits as specified (-1 to print all digits). (sim_fpu_print_fpu): New wrapper around sim_fpu_printn_fpu. (sim_fpu_printn_fpu): Rename from sim_fpu_print_fpu; update calls to print_bits ().
2000-11-082000-11-09 Ben Elliston <bje@redhat.com>Ben Elliston1-2/+2
* sim-fpu.c (sim_fpu_one): Set exponent to 0. (sim_fpu_two): Set exponent to 1.
1999-09-22import gdb-1999-09-21Jason Molenda1-1/+1
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+2578
1999-04-16Initial creation of sourceware repositoryStan Shebs1-2566/+0
1998-04-16o CVT.S.W and CVT.W.S were reversedAndrew Cagney1-3/+40
o When unpacking an r5900 FP value, was not treating IEEE-NaN's as very large values. o When packing an r5900 FP result from an infinite precision intermediate value was saturating to IEEE-MAX instead of r5900-MAX o The least significant bit of the FP status register did not stick to one.
1998-04-04Cleanup INLINE support for simulators using common framework.Andrew Cagney1-7/+19
Make IGEN responsible for co-ordinating inlining of generated files. By default, aclocal.m4 disabled all inlining.
1998-02-25Extend TRACE macros to include more cases.Andrew Cagney1-6/+205
Add MAX/MIN floating point functions. Add max32, min32 floating point contstants.
1998-02-23 * sim-fpu.h (enum sim_fpu_class): Add sim_fpu_class_denorm.Andrew Cagney1-14/+33
(sim_fpu_fpto, sim_fpu_tofp): Define.
1998-02-20Implement sim_fpu_is() and sim_fpu_cmp(). Note problem with detectingAndrew Cagney1-428/+1922
denorms.
1997-08-30Passify GCC. Convert 0x0LL to something more portable in the FP code.Andrew Cagney1-27/+50
1997-05-17Treat infinities like normal numbers for purposes of comparisonsMichael Meissner1-6/+6
1997-05-15Remove some of the flake from the c80 floating point.Andrew Cagney1-38/+563
1997-05-15More floating point operations.Andrew Cagney1-14/+102
1997-05-05Add flakey floating-point support to the TI c80 simulator.Andrew Cagney1-0/+169