ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/uae_cpu/fpu/fpu_ieee.cpp
(Generate patch)

Comparing BasiliskII/src/uae_cpu/fpu/fpu_ieee.cpp (file contents):
Revision 1.8 by gbeauche, 2003-05-28T10:14:14Z vs.
Revision 1.10 by asvitkine, 2012-03-30T01:45:08Z

# Line 1 | Line 1
1   /*
2 < * UAE - The Un*x Amiga Emulator
2 > *  fpu/fpu_ieee.cpp
3   *
4 < * MC68881/MC68040 emulation
5 < *
6 < * Copyright 1996 Herman ten Brugge
4 > *  Basilisk II (C) 1997-2008 Christian Bauer
5   *
6 + *  MC68881/68040 fpu emulation
7   *
8 + *  Original UAE FPU, copyright 1996 Herman ten Brugge
9 + *  Rewrite for x86, copyright 1999-2000 Lauri Pesonen
10 + *  New framework, copyright 2000 Gwenole Beauchesne
11 + *  Adapted for JIT compilation (c) Bernd Meyer, 2000
12 + *  
13 + *  This program is free software; you can redistribute it and/or modify
14 + *  it under the terms of the GNU General Public License as published by
15 + *  the Free Software Foundation; either version 2 of the License, or
16 + *  (at your option) any later version.
17 + *
18 + *  This program is distributed in the hope that it will be useful,
19 + *  but WITHOUT ANY WARRANTY; without even the implied warranty of
20 + *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 + *  GNU General Public License for more details.
22 + *
23 + *  You should have received a copy of the GNU General Public License
24 + *  along with this program; if not, write to the Free Software
25 + *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
26 + */
27 +
28 + /*
29   * Following fixes by Lauri Pesonen, July 1999:
30   *
31   * FMOVEM list handling:
# Line 180 | Line 200 | PRIVATE inline fpu_register FFPU make_si
200   #if 1
201          // Use a single, otherwise some checks for NaN, Inf, Zero would have to
202          // be performed
203 <        fpu_single result;
203 >        fpu_single result = 0; // = 0 to workaround a compiler bug on SPARC
204          fp_declare_init_shape(srp, result, single);
205          srp->ieee.negative      = (value >> 31) & 1;
206          srp->ieee.exponent      = (value >> 23) & FP_SINGLE_EXP_MAX;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines