ARM: Define the setend instruction.
This commit is contained in:
parent
fb23297914
commit
4683cd1655
1 changed files with 12 additions and 0 deletions
|
@ -534,4 +534,16 @@ let {{
|
||||||
header_output += BasicDeclare.subst(leavexIop)
|
header_output += BasicDeclare.subst(leavexIop)
|
||||||
decoder_output += BasicConstructor.subst(leavexIop)
|
decoder_output += BasicConstructor.subst(leavexIop)
|
||||||
exec_output += PredOpExecute.subst(leavexIop)
|
exec_output += PredOpExecute.subst(leavexIop)
|
||||||
|
|
||||||
|
setendCode = '''
|
||||||
|
CPSR cpsr = Cpsr;
|
||||||
|
cpsr.e = imm;
|
||||||
|
Cpsr = cpsr;
|
||||||
|
'''
|
||||||
|
setendIop = InstObjParams("setend", "Setend", "ImmOp",
|
||||||
|
{ "code": setendCode,
|
||||||
|
"predicate_test": predicateTest }, [])
|
||||||
|
header_output += ImmOpDeclare.subst(setendIop)
|
||||||
|
decoder_output += ImmOpConstructor.subst(setendIop)
|
||||||
|
exec_output += PredOpExecute.subst(setendIop)
|
||||||
}};
|
}};
|
||||||
|
|
Loading…
Reference in a new issue