summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-06-13 18:08:06 +0000
committerGabe Black <gblack@eecs.umich.edu>2007-06-13 18:08:06 +0000
commit5fd567425d9c2624e46dde692d8973ee8008d669 (patch)
tree369b0191c194b47d7fc015f58933885eef08e993
parent715efab3b9ca9334f25601c5a46cfa3975157271 (diff)
downloadgem5-5fd567425d9c2624e46dde692d8973ee8008d669.tar.xz
Fix the operand type tag parser to recognize multi character register names.
--HG-- extra : convert_revision : e025620e29f2515d51240e96c4a05a4f74bdf72e
-rw-r--r--src/arch/x86/isa/specialize.isa2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/isa/specialize.isa b/src/arch/x86/isa/specialize.isa
index 8312fcdc5..37f523efc 100644
--- a/src/arch/x86/isa/specialize.isa
+++ b/src/arch/x86/isa/specialize.isa
@@ -85,7 +85,7 @@ let {{
let {{
class OpType(object):
- parser = re.compile(r"(?P<tag>[A-Z][A-Z]*)(?P<size>[a-z][a-z]*)|(r(?P<reg>[A-Z0-9])(?P<rsize>[a-z]*))")
+ parser = re.compile(r"(?P<tag>[A-Z][A-Z]*)(?P<size>[a-z][a-z]*)|(r(?P<reg>[A-Z0-9]*)(?P<rsize>[a-z]*))")
def __init__(self, opTypeString):
match = OpType.parser.search(opTypeString)
if match == None: