From: Gabe Black Date: Wed, 13 Jun 2007 18:08:06 +0000 (+0000) Subject: Fix the operand type tag parser to recognize multi character register names. X-Git-Tag: m5_2.0_beta4~354 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5fd567425d9c2624e46dde692d8973ee8008d669;p=gem5.git Fix the operand type tag parser to recognize multi character register names. --HG-- extra : convert_revision : e025620e29f2515d51240e96c4a05a4f74bdf72e --- 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[A-Z][A-Z]*)(?P[a-z][a-z]*)|(r(?P[A-Z0-9])(?P[a-z]*))") + parser = re.compile(r"(?P[A-Z][A-Z]*)(?P[a-z][a-z]*)|(r(?P[A-Z0-9]*)(?P[a-z]*))") def __init__(self, opTypeString): match = OpType.parser.search(opTypeString) if match == None: