summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa/specialize.isa
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-08-04 20:24:18 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-08-04 20:24:18 -0700
commit30e777a5d3829975266ecccac965d2297a5f4985 (patch)
tree2363a13c29576b5e3fb027736a817686faaaba67 /src/arch/x86/isa/specialize.isa
parent802f13e6bdbbc2d6af5a7669a18c0893e5347de6 (diff)
downloadgem5-30e777a5d3829975266ecccac965d2297a5f4985.tar.xz
X86: Implement microops and instructions that manipulate the flags register.
--HG-- extra : convert_revision : 566841577bf4a98cac0b65292fe0f7daf89a9203
Diffstat (limited to 'src/arch/x86/isa/specialize.isa')
-rw-r--r--src/arch/x86/isa/specialize.isa4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/x86/isa/specialize.isa b/src/arch/x86/isa/specialize.isa
index 690061de7..59e9577d9 100644
--- a/src/arch/x86/isa/specialize.isa
+++ b/src/arch/x86/isa/specialize.isa
@@ -176,6 +176,10 @@ let {{
# Non register modrm settings should cause an error
env.addReg(ModRMRMIndex)
Name += "_R"
+ elif opType.tag in ("X", "Y"):
+ # This type of memory addressing is for string instructions.
+ # They'll use the right index and segment internally.
+ Name += "_M"
else:
raise Exception, "Unrecognized tag %s." % opType.tag