[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 01/35] target/mips: Raise a RI when given fs is
From: |
Aleksandar Markovic |
Subject: |
Re: [Qemu-devel] [PATCH 01/35] target/mips: Raise a RI when given fs is n/a from CTC1 |
Date: |
Fri, 22 Jun 2018 13:45:05 +0000 |
> From: Yongbok Kim <address@hidden>
>
> Fix to raise a Reserved Instruction exception when given fs is not
> available from CTC1.
>
> Signed-off-by: Yongbok Kim <address@hidden>
Reviewed-by: Aleksandar Markovic <address@hidden>
> ---
> target/mips/op_helper.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/target/mips/op_helper.c b/target/mips/op_helper.c
> index 9025f42..41d3634 100644
> --- a/target/mips/op_helper.c
> +++ b/target/mips/op_helper.c
> @@ -2627,6 +2627,9 @@ void helper_ctc1(CPUMIPSState *env, target_ulong arg1,
> uint32_t fs, uint32_t rt)
> (env->active_fpu.fcr31 & ~(env->active_fpu.fcr31_rw_bitmask));
> break;
> default:
> + if (env->insn_flags & ISA_MIPS32R6) {
> + do_raise_exception(env, EXCP_RI, GETPC());
> + }
> return;
> }
> restore_fp_status(env);
> --
> 1.9.1
- [Qemu-devel] [PATCH 00/35] nanoMIPS, Yongbok Kim, 2018/06/20
- [Qemu-devel] [PATCH 01/35] target/mips: Raise a RI when given fs is n/a from CTC1, Yongbok Kim, 2018/06/20
- Re: [Qemu-devel] [PATCH 01/35] target/mips: Raise a RI when given fs is n/a from CTC1,
Aleksandar Markovic <=
- [Qemu-devel] [PATCH 02/35] target/mips: Fix microMIPS on reset, Yongbok Kim, 2018/06/20
- [Qemu-devel] [PATCH 03/35] target/mips: Add nanoMIPS OPCODE table, Yongbok Kim, 2018/06/20
- [Qemu-devel] [PATCH 04/35] target/mips: Add decode_nanomips_opc(), Yongbok Kim, 2018/06/20
- [Qemu-devel] [PATCH 05/35] target/mips: Add nanoMIPS 16bit ld/st instructions, Yongbok Kim, 2018/06/20
- [Qemu-devel] [PATCH 06/35] target/mips: Add nanoMIPS pool16c instructions, Yongbok Kim, 2018/06/20