aboutsummaryrefslogtreecommitdiff
path: root/sim/v850/simops.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-09-19 00:50:19 +0000
committerAndrew Cagney <cagney@redhat.com>1997-09-19 00:50:19 +0000
commit60fe0e06a825b1e36c35534d53d2196f01a3d74d (patch)
tree6e66e7128e00cc54326612eef74cbd8d40e582db /sim/v850/simops.c
parent46ad7d6ccb1590b1a2fee9c1ab06a5e3f2622921 (diff)
downloadgdb-60fe0e06a825b1e36c35534d53d2196f01a3d74d.zip
gdb-60fe0e06a825b1e36c35534d53d2196f01a3d74d.tar.gz
gdb-60fe0e06a825b1e36c35534d53d2196f01a3d74d.tar.bz2
Fix cmov insn.
Diffstat (limited to 'sim/v850/simops.c')
-rw-r--r--sim/v850/simops.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/sim/v850/simops.c b/sim/v850/simops.c
index 8a360a3..b55b430 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. */
-static unsigned int
+unsigned int
condition_met (unsigned code)
{
unsigned int psw = PSW;
@@ -2898,21 +2898,6 @@ OP_70 (void)
/* end-sanitize-v850e */
/* start-sanitize-v850e */
-/* cmov reg1, reg2, reg3 */
-int
-OP_32007E0 (void)
-{
- trace_input ("cmov", OP_REG_REG_REG, 0);
-
- State.regs[ OP[2] >> 11 ] = condition_met (OP[0]) ? State.regs[ OP[0] ] : State.regs[ OP[1] ];
-
- trace_output (OP_REG_REG_REG);
-
- return 4;
-}
-
-/* end-sanitize-v850e */
-/* start-sanitize-v850e */
/* mul reg1, reg2, reg3 */
int
OP_22007E0 (void)