82,83c82
< if(store)
< {
---
> if (store) {
88,89c87
< if(_srcRegIdx[!store ? 0 : 1] != 0)
< {
---
> if (_srcRegIdx[!store ? 0 : 1] != 0) {
95,96c93
< if(load)
< {
---
> if (load) {
112,113c109
< if(save)
< {
---
> if (save) {
118,119c114
< if(_srcRegIdx[!save ? 0 : 1] != 0)
< {
---
> if (_srcRegIdx[!save ? 0 : 1] != 0) {
123c118
< if(imm >= 0)
---
> if (imm >= 0)
127,128c122
< if(load)
< {
---
> if (load) {
137c131
< //This template provides the execute functions for a load
---
> // This template provides the execute functions for a load
150,151c144
< if(fault == NoFault)
< {
---
> if (fault == NoFault) {
155,156c148
< if(fault == NoFault)
< {
---
> if (fault == NoFault) {
159,162c151,153
< if(fault == NoFault)
< {
< //Write the resulting state to the execution context
< %(op_wb)s;
---
> if (fault == NoFault) {
> // Write the resulting state to the execution context
> %(op_wb)s;
181,182c172
< if(fault == NoFault)
< {
---
> if (fault == NoFault) {
199,200c189
< if(fault == NoFault)
< {
---
> if (fault == NoFault) {
207c196
< //This template provides the execute functions for a store
---
> // This template provides the execute functions for a store
213,214c202,203
< //This is to support the conditional store in cas instructions.
< //It should be optomized out in all the others
---
> // This is to support the conditional store in cas instructions.
> // It should be optomized out in all the others
223,224c212
< if(fault == NoFault)
< {
---
> if (fault == NoFault) {
227,228c215
< if(storeCond && fault == NoFault)
< {
---
> if (storeCond && fault == NoFault) {
233,236c220,222
< if(fault == NoFault)
< {
< //Write the resulting state to the execution context
< %(op_wb)s;
---
> if (fault == NoFault) {
> // Write the resulting state to the execution context
> %(op_wb)s;
257,258c243
< if(fault == NoFault)
< {
---
> if (fault == NoFault) {
261,262c246
< if(storeCond && fault == NoFault)
< {
---
> if (storeCond && fault == NoFault) {
279c263
< //This delcares the initiateAcc function in memory operations
---
> // This delcares the initiateAcc function in memory operations
284c268
< //This declares the completeAcc function in memory operations
---
> // This declares the completeAcc function in memory operations
289c273
< //Here are some code snippets which check for various fault conditions
---
> // Here are some code snippets which check for various fault conditions
297c281
< if(RD & 0xe)
---
> if (RD & 0xe)
299c283
< else if(EA & 0x3f)
---
> else if (EA & 0x3f)
303c287
< if(RD & 0x1)
---
> if (RD & 0x1)
305c289
< else if(EA & 0xf)
---
> else if (EA & 0xf)
313,314c297,298
< !AsiIsUnPriv((ASI)EXT_ASI)) ||
< (!bits(Hpstate,2,2) && AsiIsHPriv((ASI)EXT_ASI)))
---
> !asiIsUnPriv((ASI)EXT_ASI)) ||
> (!bits(Hpstate,2,2) && asiIsHPriv((ASI)EXT_ASI)))
316c300
< else if (AsiIsAsIfUser((ASI)EXT_ASI) && !bits(Pstate,2,2))
---
> else if (asiIsAsIfUser((ASI)EXT_ASI) && !bits(Pstate,2,2))
327,328c311,312
< //A simple function to generate the name of the macro op of a certain
< //instruction at a certain micropc
---
> // A simple function to generate the name of the macro op of a certain
> // instruction at a certain micropc
334,338c318,322
< //This function properly generates the execute functions for one of the
< //templates above. This is needed because in one case, ea computation,
< //fault checks and the actual code all occur in the same function,
< //and in the other they're distributed across two. Also note that for
< //execute functions, the name of the base class doesn't matter.
---
> // This function properly generates the execute functions for one of the
> // templates above. This is needed because in one case, ea computation,
> // fault checks and the actual code all occur in the same function,
> // and in the other they're distributed across two. Also note that for
> // execute functions, the name of the base class doesn't matter.