diff options
Diffstat (limited to 'sim/erc32/float.c')
-rw-r--r-- | sim/erc32/float.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/sim/erc32/float.c b/sim/erc32/float.c index c1a46f8..1b8f0fc 100644 --- a/sim/erc32/float.c +++ b/sim/erc32/float.c @@ -91,9 +91,16 @@ uint32 fsr; fsr >>= 30; switch (fsr) { case 0: - case 2: break; - case 1: fsr = 3; - case 3: fsr = 1; + case 2: + break; + + case 1: + fsr = 3; + break; + + case 3: + fsr = 1; + break; } rawfsr = _get_cw(); rawfsr |= (fsr << 10) | 0x3ff; |