122c122,123
< inline int64_t sign_ext(uint64_t data, int origWidth)
---
> inline int64_t
> sign_ext(uint64_t data, int origWidth)
133,148c134,149
< "nev", //Never
< "e", //Equal
< "le", //Less or Equal
< "l", //Less
< "leu", //Less or Equal Unsigned
< "c", //Carry set
< "n", //Negative
< "o", //Overflow set
< "a", //Always
< "ne", //Not Equal
< "g", //Greater
< "ge", //Greater or Equal
< "gu", //Greater Unsigned
< "cc", //Carry clear
< "p", //Positive
< "oc" //Overflow Clear
---
> "nev", // Never
> "e", // Equal
> "le", // Less or Equal
> "l", // Less
> "leu", // Less or Equal Unsigned
> "c", // Carry set
> "n", // Negative
> "o", // Overflow set
> "a", // Always
> "ne", // Not Equal
> "g", // Greater
> "ge", // Greater or Equal
> "gu", // Greater Unsigned
> "cc", // Carry clear
> "p", // Positive
> "oc" // Overflow Clear
255c256
< if(num <= 0)
---
> if (num <= 0)
258,259c259
< for(int x = 1; x < num; x++)
< {
---
> for (int x = 1; x < num; x++) {
274c274
< if(_numSrcRegs > reg)
---
> if (_numSrcRegs > reg)
281c281
< if(_numDestRegs > reg)
---
> if (_numDestRegs > reg)
294,295c294,295
< //If we used a register from the next or previous window,
< //take out the offset.
---
> // If we used a register from the next or previous window,
> // take out the offset.
302c302
< else if(reg < MaxGlobal)
---
> else if (reg < MaxGlobal)
304c304
< else if(reg < MaxOutput)
---
> else if (reg < MaxOutput)
306c306
< else if(reg < MaxLocal)
---
> else if (reg < MaxLocal)
308c308
< else if(reg < MaxInput)
---
> else if (reg < MaxInput)
310c310
< else if(reg < MaxMicroReg)
---
> else if (reg < MaxMicroReg)
312c312
< //The fake int regs that are really control regs
---
> // The fake int regs that are really control regs
438,439c438,440
< std::string SparcStaticInst::generateDisassembly(Addr pc,
< const SymbolTable *symtab) const
---
> std::string
> SparcStaticInst::generateDisassembly(Addr pc,
> const SymbolTable *symtab) const
448,449c449
< if(_numSrcRegs > 0)
< {
---
> if (_numSrcRegs > 0)
451,453c451
< }
< if(_numSrcRegs > 1)
< {
---
> if (_numSrcRegs > 1) {
460,462c458,459
< if(_numDestRegs > 0)
< {
< if(_numSrcRegs > 0)
---
> if (_numDestRegs > 0) {
> if (_numSrcRegs > 0)
470c467,468
< bool passesFpCondition(uint32_t fcc, uint32_t condition)
---
> bool
> passesFpCondition(uint32_t fcc, uint32_t condition)
476,477c474
< switch(condition)
< {
---
> switch (condition) {
515c512,513
< bool passesCondition(uint32_t codes, uint32_t condition)
---
> bool
> passesCondition(uint32_t codes, uint32_t condition)
524,525c522
< switch(condition)
< {
---
> switch (condition) {
570c567,568
< inline Fault checkFpEnableFault(%(CPU_exec_context)s *xc)
---
> inline Fault
> checkFpEnableFault(%(CPU_exec_context)s *xc)
574c572
< xc->readMiscReg(MISCREG_FPRS) & 0x4)
---
> xc->readMiscReg(MISCREG_FPRS) & 0x4) {
576c574
< else
---
> } else {
577a576
> }
580c579,580
< inline Fault checkFpEnableFault(%(CPU_exec_context)s *xc)
---
> inline Fault
> checkFpEnableFault(%(CPU_exec_context)s *xc)