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/m16e.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/m16e.igen')
-rw-r--r-- | sim/mips/m16e.igen | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/sim/mips/m16e.igen b/sim/mips/m16e.igen index 0caf620..afd0e1f 100644 --- a/sim/mips/m16e.igen +++ b/sim/mips/m16e.igen @@ -2,11 +2,11 @@ // Simulator definition for the MIPS16e instructions. // Copyright (C) 2005-2022 Free Software Foundation, Inc. -// Contributed by Nigel Stephens (nigel@mips.com) and +// Contributed by Nigel Stephens (nigel@mips.com) and // David Ung (davidu@mips.com) of MIPS Technologies. // // This file is part of GDB, the GNU debugger. -// +// // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 3 of the License, or @@ -168,7 +168,7 @@ :function:::void:do_save:int xsregs, int aregs, int ras0s1, int framesize { - unsigned_word temp; + unsigned_word temp; int args, astatic; temp = GPR[29]; @@ -194,11 +194,11 @@ sim_engine_abort (SD, CPU, CIA, "save: aregs=%d causes unpredictable results\n", aregs); } if (args > 0) { - do_store (SD_, AccessLength_WORD, temp, 0, GPR[4]); + do_store (SD_, AccessLength_WORD, temp, 0, GPR[4]); if (args > 1) { - do_store (SD_,AccessLength_WORD, temp, 4 , GPR[5]); + do_store (SD_,AccessLength_WORD, temp, 4 , GPR[5]); if (args > 2) { - do_store (SD_,AccessLength_WORD, temp, 8 , GPR[6]); + do_store (SD_,AccessLength_WORD, temp, 8 , GPR[6]); if (args > 3) { do_store (SD_,AccessLength_WORD, temp, 12, GPR[7]); } @@ -207,29 +207,29 @@ } if (ras0s1 & 4) - do_store (SD_,AccessLength_WORD, temp -= 4, 0, GPR[31]); + do_store (SD_,AccessLength_WORD, temp -= 4, 0, GPR[31]); switch (xsregs) { case 7: - do_store (SD_,AccessLength_WORD, temp -= 4, 0, GPR[30]); + do_store (SD_,AccessLength_WORD, temp -= 4, 0, GPR[30]); case 6: - do_store (SD_,AccessLength_WORD, temp -= 4, 0, GPR[23]); + do_store (SD_,AccessLength_WORD, temp -= 4, 0, GPR[23]); case 5: - do_store (SD_,AccessLength_WORD, temp -= 4, 0, GPR[22]); + do_store (SD_,AccessLength_WORD, temp -= 4, 0, GPR[22]); case 4: - do_store (SD_,AccessLength_WORD, temp -= 4, 0, GPR[21]); + do_store (SD_,AccessLength_WORD, temp -= 4, 0, GPR[21]); case 3: - do_store (SD_,AccessLength_WORD, temp -= 4, 0, GPR[20]); + do_store (SD_,AccessLength_WORD, temp -= 4, 0, GPR[20]); case 2: - do_store (SD_,AccessLength_WORD, temp -= 4, 0, GPR[19]); + do_store (SD_,AccessLength_WORD, temp -= 4, 0, GPR[19]); case 1: - do_store (SD_,AccessLength_WORD, temp -= 4, 0, GPR[18]); + do_store (SD_,AccessLength_WORD, temp -= 4, 0, GPR[18]); } if (ras0s1 & 1) - do_store (SD_,AccessLength_WORD, temp -= 4, 0, GPR[17]); + do_store (SD_,AccessLength_WORD, temp -= 4, 0, GPR[17]); if (ras0s1 & 2) - do_store (SD_,AccessLength_WORD, temp -= 4, 0, GPR[16]); + do_store (SD_,AccessLength_WORD, temp -= 4, 0, GPR[16]); switch (aregs) { case 0: case 4: case 8: case 12: case 14: @@ -285,7 +285,7 @@ :function:::void:do_restore:int xsregs, int aregs, int ras0s1, int framesize *mips16e { - unsigned_word temp, temp2; + unsigned_word temp, temp2; int astatic; temp = GPR[29] + framesize; @@ -298,25 +298,25 @@ switch (xsregs) { case 7: - GPR[30] = EXTEND32 (do_load (SD_,AccessLength_WORD, temp -= 4, 0)); + GPR[30] = EXTEND32 (do_load (SD_,AccessLength_WORD, temp -= 4, 0)); case 6: - GPR[23] = EXTEND32 (do_load (SD_,AccessLength_WORD, temp -= 4, 0)); + GPR[23] = EXTEND32 (do_load (SD_,AccessLength_WORD, temp -= 4, 0)); case 5: - GPR[22] = EXTEND32 (do_load (SD_,AccessLength_WORD, temp -= 4, 0)); + GPR[22] = EXTEND32 (do_load (SD_,AccessLength_WORD, temp -= 4, 0)); case 4: - GPR[21] = EXTEND32 (do_load (SD_,AccessLength_WORD, temp -= 4, 0)); + GPR[21] = EXTEND32 (do_load (SD_,AccessLength_WORD, temp -= 4, 0)); case 3: - GPR[20] = EXTEND32 (do_load (SD_,AccessLength_WORD, temp -= 4, 0)); + GPR[20] = EXTEND32 (do_load (SD_,AccessLength_WORD, temp -= 4, 0)); case 2: - GPR[19] = EXTEND32 (do_load (SD_,AccessLength_WORD, temp -= 4, 0)); + GPR[19] = EXTEND32 (do_load (SD_,AccessLength_WORD, temp -= 4, 0)); case 1: - GPR[18] = EXTEND32 (do_load (SD_,AccessLength_WORD, temp -= 4, 0)); + GPR[18] = EXTEND32 (do_load (SD_,AccessLength_WORD, temp -= 4, 0)); } if (ras0s1 & 1) - GPR[17] = EXTEND32 (do_load (SD_,AccessLength_WORD, temp -= 4, 0)); + GPR[17] = EXTEND32 (do_load (SD_,AccessLength_WORD, temp -= 4, 0)); if (ras0s1 & 2) - GPR[16] = EXTEND32 (do_load (SD_,AccessLength_WORD, temp -= 4, 0)); + GPR[16] = EXTEND32 (do_load (SD_,AccessLength_WORD, temp -= 4, 0)); switch (aregs) { case 0: case 4: case 8: case 12: case 14: @@ -356,7 +356,7 @@ 01100,100,0,3.RAS,4.FS:I8:16::RESTORE "restore %s<RAS>,<SFRAME>" *mips16e -{ +{ do_restore (SD_,0,0,RAS,SFRAME); } |