diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-08-13 15:25:06 +0800 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-01-01 13:26:34 -0500 |
commit | d3eb0aa2872de6257df7a21ba2cf798f1005001d (patch) | |
tree | 15f9be0c6e70af96db0f63a7f04da0381dfe3fca /sim/mips/dsp.igen | |
parent | efd811591c125aa948d3e56a9cce7c084f047dcb (diff) | |
download | gdb-d3eb0aa2872de6257df7a21ba2cf798f1005001d.zip gdb-d3eb0aa2872de6257df7a21ba2cf798f1005001d.tar.gz gdb-d3eb0aa2872de6257df7a21ba2cf798f1005001d.tar.bz2 |
sim: mips: clean up bad style/whitespace
This doesn't fix all the problems, but grabs a bunch of the more
obvious ones.
Diffstat (limited to 'sim/mips/dsp.igen')
-rw-r--r-- | sim/mips/dsp.igen | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sim/mips/dsp.igen b/sim/mips/dsp.igen index ea580cd..bc103e4 100644 --- a/sim/mips/dsp.igen +++ b/sim/mips/dsp.igen @@ -190,7 +190,7 @@ if (sat == 1) { if (setcond == 2) - h0 = 0x7fff; + h0 = 0x7fff; else if (setcond == 1) h0 = 0x8000; } @@ -239,11 +239,11 @@ } } if (setcond == 2) - result = 0x7fffffff; + result = 0x7fffffff; else if (setcond == 1) result = 0x80000000; else - result = v1 << shift; + result = v1 << shift; GPR[rd] = EXTEND32 (result); } @@ -1833,7 +1833,7 @@ result = 0x7fffffff; else if (setcond == 2) result = 0x80000000; - else + else { if (shift != 0) result = ((result >> (shift - 1)) + 1) >> 1; |