diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-09-17 08:14:23 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-09-17 08:14:23 +0000 |
commit | a72f8fb439a16152c6c03d1e07c4fbec9c6a85dc (patch) | |
tree | 0668a8fbabd7aabcbb86f31be8f8e5a9638880ed /sim/v850/simops.c | |
parent | 175c6fd37579ff6cd9dd44055cfa60087c1b515f (diff) | |
download | gdb-a72f8fb439a16152c6c03d1e07c4fbec9c6a85dc.zip gdb-a72f8fb439a16152c6c03d1e07c4fbec9c6a85dc.tar.gz gdb-a72f8fb439a16152c6c03d1e07c4fbec9c6a85dc.tar.bz2 |
Clean up more tracing.
FIX interrupt delivery - was zapping PSW before it had been saved.
FIX interrupt return, was one instruction out.
Diffstat (limited to 'sim/v850/simops.c')
-rw-r--r-- | sim/v850/simops.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/sim/v850/simops.c b/sim/v850/simops.c index 60dc170..8a360a3 100644 --- a/sim/v850/simops.c +++ b/sim/v850/simops.c @@ -1330,19 +1330,6 @@ OP_160 () return 2; } -/* mov reg, reg */ -int -OP_0 () -{ - trace_input ("mov", OP_REG_REG_MOVE, 0); - - State.regs[ OP[1] ] = State.regs[ OP[0] ]; - - trace_output (OP_REG_REG_MOVE); - - return 2; -} - /* mov sign_extend(imm5), reg */ int OP_200 () @@ -1826,28 +1813,6 @@ OP_12007E0 () return 0; } -/* reti */ -int -OP_14007E0 () -{ - trace_input ("reti", OP_NONE, 0); - trace_output (OP_NONE); - - /* Restore for NMI if only NP on, otherwise is interrupt or exception. */ - if ((PSW & (PSW_NP | PSW_EP)) == PSW_NP) - { - PC = FEPC - 4; - PSW = FEPSW; - } - else - { - PC = EIPC - 4; - PSW = EIPSW; - } - - return 0; -} - /* trap */ int OP_10007E0 () |