diff options
author | Edgar E. Iglesias <edgar@axis.com> | 2011-07-05 12:56:41 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2012-06-14 15:29:11 +0200 |
commit | f756c7a723faa3a21dcb6bb6806e77f1628019f5 (patch) | |
tree | 8a2b0f2faba859e6e57152aa75bfa4a280d0ea09 /target-cris/translate_v10.c | |
parent | 7677e24f3db8466c7d6014a794b1e425bc7929ba (diff) | |
download | qemu-f756c7a723faa3a21dcb6bb6806e77f1628019f5.tar.gz qemu-f756c7a723faa3a21dcb6bb6806e77f1628019f5.tar.bz2 qemu-f756c7a723faa3a21dcb6bb6806e77f1628019f5.zip |
cris: Add break support for v10.
Still no retb
Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
Diffstat (limited to 'target-cris/translate_v10.c')
-rw-r--r-- | target-cris/translate_v10.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-cris/translate_v10.c b/target-cris/translate_v10.c index 4ada3ed09f..3629629d9d 100644 --- a/target-cris/translate_v10.c +++ b/target-cris/translate_v10.c @@ -1132,6 +1132,7 @@ static unsigned int dec10_ind(DisasContext *dc) LOG_DIS("break %d\n", dc->src); cris_evaluate_flags(dc); tcg_gen_movi_tl(env_pc, dc->pc + 2); + t_gen_mov_env_TN(trap_vector, tcg_const_tl(dc->src + 2)); t_gen_raise_exception(EXCP_BREAK); dc->is_jmp = DISAS_UPDATE; return insn_len; |