Search
lxdream.org :: lxdream/src/sh4/sh4core.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4core.h
changeset 823:8a592668322f
prev759:f16975739abc
next841:808d64b05073
author nkeynes
date Sun Aug 24 01:40:58 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Mask fpscr correctly as well while we're in there
file annotate diff log raw
1.1 --- a/src/sh4/sh4core.h Mon Jul 21 01:01:39 2008 +0000
1.2 +++ b/src/sh4/sh4core.h Sun Aug 24 01:40:58 2008 +0000
1.3 @@ -271,6 +271,7 @@
1.4 #define FPSCR_ENABLE 0x00000F80
1.5 #define FPSCR_FLAG 0x0000007C
1.6 #define FPSCR_RM 0x00000003 /* Rounding mode (0=nearest, 1=to zero) */
1.7 +#define FPSCR_MASK 0x003FFFFF
1.8
1.9 #define IS_FPU_DOUBLEPREC() (sh4r.fpscr&FPSCR_PR)
1.10 #define IS_FPU_DOUBLESIZE() (sh4r.fpscr&FPSCR_SZ)
.