ARM: Get rid of the unused ArmGenericCodeSubs.
authorGabe Black <gblack@eecs.umich.edu>
Wed, 2 Jun 2010 17:58:03 +0000 (12:58 -0500)
committerGabe Black <gblack@eecs.umich.edu>
Wed, 2 Jun 2010 17:58:03 +0000 (12:58 -0500)
src/arch/arm/isa/formats/util.isa

index 286ce5ce5083814a6b41f15c0b411810b70f9bc4..f43137a0438189e1de2cb63178d5d930a28ef417 100644 (file)
 
 let {{
 
-# Generic substitutions for Arm instructions
-def ArmGenericCodeSubs(code):
-    # Substitute in the shifted portion of operations
-    new_code = re.sub(r'Rm_Imm',
-            'shift_rm_imm(Rm, shift_size, shift, CondCodes<29:>)', code)
-    new_code = re.sub(r'Rm_Rs',
-            'shift_rm_rs(Rm, Rs, shift, CondCodes<29:>)', new_code)
-    return new_code
-}};
-
-
 output header {{
         std::string inst2string(MachInst machInst);
 }};