ARM: Don't always update CPSR.

This commit is contained in:
Gabe Black
2009-07-08 23:02:19 -07:00
parent 17f0943398
commit 826a3582ea
2 changed files with 2 additions and 2 deletions

View File

@@ -354,7 +354,8 @@ def template StoreCompleteAcc {{
{
Fault fault = NoFault;
%(op_dest_decl)s;
%(op_decl)s;
%(op_rd)s;
if (%(predicate_test)s)
{

View File

@@ -35,7 +35,6 @@ def ArmGenericCodeSubs(code):
# Substitute in the shifted portion of operations
new_code = re.sub(r'Rm_Imm', 'shift_rm_imm(Rm, shift_size, shift, Cpsr<29:>)', code)
new_code = re.sub(r'Rm_Rs', 'shift_rm_rs(Rm, Rs, shift, Cpsr<29:>)', new_code)
new_code = re.sub(r'^', 'Cpsr = Cpsr;', new_code)
return new_code
def LoadStoreBase(name, Name, ea_code, memacc_code, mem_flags, inst_flags,