summaryrefslogtreecommitdiff
path: root/arch/alpha/isa_desc
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2005-09-24 18:17:51 -0400
committerSteve Reinhardt <stever@eecs.umich.edu>2005-09-24 18:17:51 -0400
commit310f6087570e0e533a7bac4d94ef39aea7f66c8d (patch)
treea70a3b488685377d1fc68640df5ce00a95d03bd1 /arch/alpha/isa_desc
parentd60de7122da3a90a0204853f633d34d93dcc622f (diff)
downloadgem5-310f6087570e0e533a7bac4d94ef39aea7f66c8d.tar.xz
Clean up indentation in isa_desc.
arch/alpha/isa_desc: Little bit of re-ordering and indentation clean-up. --HG-- extra : convert_revision : e538ff89d8b507c3e1aa68a032578fcaa645d7ee
Diffstat (limited to 'arch/alpha/isa_desc')
-rw-r--r--arch/alpha/isa_desc53
1 files changed, 26 insertions, 27 deletions
diff --git a/arch/alpha/isa_desc b/arch/alpha/isa_desc
index a5b674c11..e80da6091 100644
--- a/arch/alpha/isa_desc
+++ b/arch/alpha/isa_desc
@@ -2660,6 +2660,28 @@ decode OPCODE default Unknown::unknown() {
}
}
+ format HwMoveIPR {
+ 0x19: hw_mfpr({{
+ // this instruction is only valid in PAL mode
+ if (!xc->inPalMode()) {
+ fault = Unimplemented_Opcode_Fault;
+ }
+ else {
+ Ra = xc->readIpr(ipr_index, fault);
+ }
+ }});
+ 0x1d: hw_mtpr({{
+ // this instruction is only valid in PAL mode
+ if (!xc->inPalMode()) {
+ fault = Unimplemented_Opcode_Fault;
+ }
+ else {
+ xc->setIpr(ipr_index, Ra);
+ if (traceData) { traceData->setData(Ra); }
+ }
+ }});
+ }
+
format BasicOperate {
0x1e: hw_rei({{ xc->hwrei(); }}, IsSerializing);
@@ -2700,35 +2722,12 @@ decode OPCODE default Unknown::unknown() {
AlphaPseudo::readfile(xc->xcBase());
}}, IsNonSpeculative);
0x51: m5break({{
- AlphaPseudo::debugbreak(xc->xcBase());
- }}, IsNonSpeculative);
+ AlphaPseudo::debugbreak(xc->xcBase());
+ }}, IsNonSpeculative);
0x52: m5switchcpu({{
- AlphaPseudo::switchcpu(xc->xcBase());
- }}, IsNonSpeculative);
-
+ AlphaPseudo::switchcpu(xc->xcBase());
+ }}, IsNonSpeculative);
}
}
-
- format HwMoveIPR {
- 0x19: hw_mfpr({{
- // this instruction is only valid in PAL mode
- if (!xc->inPalMode()) {
- fault = Unimplemented_Opcode_Fault;
- }
- else {
- Ra = xc->readIpr(ipr_index, fault);
- }
- }});
- 0x1d: hw_mtpr({{
- // this instruction is only valid in PAL mode
- if (!xc->inPalMode()) {
- fault = Unimplemented_Opcode_Fault;
- }
- else {
- xc->setIpr(ipr_index, Ra);
- if (traceData) { traceData->setData(Ra); }
- }
- }});
- }
#endif
}