Search
lxdream.org :: lxdream/src/sh4/sh4.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4.h
changeset 669:ab344e42bca9
prev586:2a3ba82cf243
next674:377d987db8f2
author nkeynes
date Mon May 12 10:00:13 2008 +0000 (14 years ago)
permissions -rw-r--r--
last change Cleanup most of the -Wall warnings (getting a bit sloppy...)
Convert FP code to use fixed banks rather than indirect pointer
(3-4% faster this way now)
file annotate diff log raw
1.1 --- a/src/sh4/sh4.h Tue Jan 15 20:50:23 2008 +0000
1.2 +++ b/src/sh4/sh4.h Mon May 12 10:00:13 2008 +0000
1.3 @@ -66,8 +66,11 @@
1.4 uint32_t r[16];
1.5 uint32_t sr, pr, pc, fpscr;
1.6 uint32_t t, m, q, s; /* really boolean - 0 or 1 */
1.7 - int32_t fpul;
1.8 - float *fr_bank;
1.9 + union {
1.10 + int32_t i;
1.11 + float f;
1.12 + } fpul;
1.13 + float *pad;
1.14 float fr[2][16];
1.15 uint64_t mac;
1.16 uint32_t gbr, ssr, spc, sgr, dbr, vbr;
.