forked from Imagelibrary/binutils-gdb
Fix cmov immed.
This commit is contained in:
@@ -305,7 +305,7 @@ trace_output (result)
|
||||
|
||||
|
||||
/* Returns 1 if the specific condition is met, returns 0 otherwise. */
|
||||
unsigned int
|
||||
int
|
||||
condition_met (unsigned code)
|
||||
{
|
||||
unsigned int psw = PSW;
|
||||
@@ -2709,22 +2709,6 @@ OP_24007E0 (void)
|
||||
return 4;
|
||||
}
|
||||
|
||||
/* end-sanitize-v850e */
|
||||
/* start-sanitize-v850e */
|
||||
/* cmov imm5, reg2, reg3 */
|
||||
int
|
||||
OP_30007E0 (void)
|
||||
{
|
||||
trace_input ("cmov", OP_IMM_REG_REG, 0);
|
||||
|
||||
State.regs[ OP[2] >> 11 ] = condition_met (OP[0]) ? SEXT5( OP[0] ) : State.regs[ OP[1] ];
|
||||
|
||||
trace_output (OP_IMM_REG_REG);
|
||||
|
||||
return 4;
|
||||
|
||||
}
|
||||
|
||||
/* end-sanitize-v850e */
|
||||
/* start-sanitize-v850e */
|
||||
/* ld.hu */
|
||||
|
||||
Reference in New Issue
Block a user