summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-06-12 16:45:06 +0000
committerGabe Black <gblack@eecs.umich.edu>2007-06-12 16:45:06 +0000
commit548b121c1c33a870beb7379de29c14e9c2e8cf82 (patch)
treef144668e66d2f0ff4661f220efe9f4b69ef3cc65 /src/arch/x86/isa
parentea3f7c9531f7dc3272733fe722df0b28e73183f9 (diff)
downloadgem5-548b121c1c33a870beb7379de29c14e9c2e8cf82.tar.xz
Flesh out the bitfields for prefixes.
--HG-- extra : convert_revision : 0956b3d3532cba3856deda914d7cc708377b701b
Diffstat (limited to 'src/arch/x86/isa')
-rw-r--r--src/arch/x86/isa/bitfields.isa14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/arch/x86/isa/bitfields.isa b/src/arch/x86/isa/bitfields.isa
index c7ed02f2c..82fa4f25b 100644
--- a/src/arch/x86/isa/bitfields.isa
+++ b/src/arch/x86/isa/bitfields.isa
@@ -58,9 +58,21 @@
// Bitfield definitions.
//
-//Prefixes
+//REX prefix
def bitfield REX rex;
+def bitfield REX_W rex.w;
+def bitfield REX_R rex.r;
+def bitfield REX_X rex.x;
+def bitfield REX_B rex.b;
+
+//Legacy prefixes
def bitfield LEGACY legacy;
+def bitfield LEGACY_REPNE legacy.repne;
+def bitfield LEGACY_REP legacy.rep;
+def bitfield LEGACY_LOCK legacy.lock;
+def bitfield LEGACY_ADDR legacy.addr;
+def bitfield LEGACY_OP legacy.op;
+def bitfield LEGACY_SEG legacy.seg;
// Pieces of the opcode
def bitfield OPCODE_NUM opcode.num;