sim/erc32/ChangeLog:

2013-10-09  Sergio Durigan Junior  <sergiodj@redhat.com>

	PR sim/16018:
	* float.c (set_fsr): Add missing "break" statements.  Reindent
	code.
This commit is contained in:
Sergio Durigan Junior 2013-10-09 21:42:11 +00:00
parent 9a757e4d20
commit 40776d1927
2 changed files with 16 additions and 3 deletions

View 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.

View 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;