aboutsummaryrefslogtreecommitdiff
path: root/sim/v850/simops.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-09-19 02:20:02 +0000
committerAndrew Cagney <cagney@redhat.com>1997-09-19 02:20:02 +0000
commitbd4c35cc6dc11b11321550b8d4d873571cb0b92c (patch)
treeda146d3fed4c5591a19212440d9afd8bf787244c /sim/v850/simops.c
parent1379884be1c0d2a8083228a0bedeaf45a4b8874d (diff)
downloadgdb-bd4c35cc6dc11b11321550b8d4d873571cb0b92c.zip
gdb-bd4c35cc6dc11b11321550b8d4d873571cb0b92c.tar.gz
gdb-bd4c35cc6dc11b11321550b8d4d873571cb0b92c.tar.bz2
Fix cmov immed.
Diffstat (limited to 'sim/v850/simops.c')
-rw-r--r--sim/v850/simops.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/sim/v850/simops.c b/sim/v850/simops.c
index b55b430..c739d60 100644
--- a/sim/v850/simops.c
+++ b/sim/v850/simops.c
@@ -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;
@@ -2711,22 +2711,6 @@ OP_24007E0 (void)
/* 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 */
int
OP_107E0 (void)