summaryrefslogtreecommitdiff
path: root/arch/mips/isa/bitfields.def
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2006-02-03 23:04:06 -0500
committerKorey Sewell <ksewell@umich.edu>2006-02-03 23:04:06 -0500
commit035b443093cc969c79e67285b0f421a7f12edf33 (patch)
tree0651a09570db293ac6bb897fd104ea25ee229c36 /arch/mips/isa/bitfields.def
parent1e222c1502f8cf40535fed23b3f51c5f25a6c29f (diff)
downloadgem5-035b443093cc969c79e67285b0f421a7f12edf33.tar.xz
mainly added minor support for the basic arithmetic operations (add, mult, shift)
arch/mips/isa/bitfields.def: Add comment, move definition up in file arch/mips/isa/decoder.def: add basic arithmetic operations arch/mips/isa/formats/fp.format: change Integer -> FP words arch/mips/isa/formats/int.format: Add derived IntImm class arch/mips/isa/operands.def: change to MIPS sytle operands --HG-- rename : arch/mips/isa/formats/fpop.format => arch/mips/isa/formats/fp.format rename : arch/mips/isa/formats/integerop.format => arch/mips/isa/formats/int.format extra : convert_revision : a95da47bc981e56a9898421da4eeb9c442d1dc15
Diffstat (limited to 'arch/mips/isa/bitfields.def')
-rw-r--r--arch/mips/isa/bitfields.def8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/isa/bitfields.def b/arch/mips/isa/bitfields.def
index 0a9497899..2b5cd62f1 100644
--- a/arch/mips/isa/bitfields.def
+++ b/arch/mips/isa/bitfields.def
@@ -9,6 +9,7 @@ def bitfield OPCODE_LO <28:26>;
def bitfield FUNCTION_HI < 5: 3>;
def bitfield FUNCTION_LO < 2: 0>;
+// Integer operate format
def bitfield RT <20:16>;
def bitfield RT_HI <20:19>;
def bitfield RT_LO <18:16>;
@@ -19,8 +20,10 @@ def bitfield RS_LO <23:21>;
def bitfield RD <15:11>;
+def bitfield INTIMM <15: 0>; // integer immediate (literal)
+
// Floating-point operate format
-def bitfield FMT <25:21>;
+def bitfield FMT <25:21>;
def bitfield FT <20:16>;
def bitfield FS <15:11>;
def bitfield FD <10:6>;
@@ -34,9 +37,6 @@ def bitfield SA <10: 6>;
// Interrupts
def bitfield SC < 5: 5>;
-// Integer operate format(s>;
-def bitfield INTIMM <15: 0>; // integer immediate (literal)
-
// Branch format
def bitfield OFFSET <15: 0>; // displacement