sim/erc32/ChangeLog:
authorSergio Durigan Junior <sergiodj@redhat.com>
Wed, 9 Oct 2013 21:42:11 +0000 (21:42 +0000)
committerSergio Durigan Junior <sergiodj@redhat.com>
Wed, 9 Oct 2013 21:42:11 +0000 (21:42 +0000)
2013-10-09  Sergio Durigan Junior  <sergiodj@redhat.com>

PR sim/16018:
* float.c (set_fsr): Add missing "break" statements.  Reindent
code.

sim/erc32/ChangeLog
sim/erc32/float.c

index 4fff0da1bf1e20bd6a51ec5c86a0472cd9d30ad2..d7266fd7c06422e8de8051361081b44d0287bf38 100644 (file)
@@ -1,3 +1,9 @@
+2013-10-09  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       PR sim/16018:
+       * float.c (set_fsr): Add missing "break" statements.  Reindent
+       code.
+
 2013-09-23  Alan Modra  <amodra@gmail.com>
 
        * configure: Regenerate.
index c1a46f8aea1a149b0a95cdfb8518fb3f12d932a9..1b8f0fc76cfe89c2f4b5b08cee8c8108b3e79000 100644 (file)
@@ -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;