[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v10 28/65] target/mips: Add emulation of DSP ASE for
From: |
Aleksandar Markovic |
Subject: |
[Qemu-devel] [PATCH v10 28/65] target/mips: Add emulation of DSP ASE for nanoMIPS - part 2 |
Date: |
Fri, 17 Aug 2018 16:03:16 +0200 |
From: Stefan Markovic <address@hidden>
Add emulation of DSP ASE instructions for nanoMIPS - part 2.
Reviewed-by: Aleksandar Markovic <address@hidden>
Signed-off-by: Aleksandar Markovic <address@hidden>
Signed-off-by: Stefan Markovic <address@hidden>
---
target/mips/translate.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/target/mips/translate.c b/target/mips/translate.c
index 8befade..e33bcf3 100644
--- a/target/mips/translate.c
+++ b/target/mips/translate.c
@@ -19311,6 +19311,16 @@ static int decode_nanomips_32_48_opc(CPUMIPSState
*env, DisasContext *ctx)
case NM_BC1NEZC:
gen_compute_branch_cp1_nm(ctx, OPC_BC1NEZ, rt, s);
break;
+ case NM_BPOSGE32C:
+ check_dspr2(ctx);
+ {
+ int32_t imm = extract32(ctx->opcode, 1, 13) |
+ extract32(ctx->opcode, 0, 1) << 13;
+
+ gen_compute_branch_nm(ctx, OPC_BPOSGE32, 4, -1, -2,
+ imm);
+ }
+ break;
default:
generate_exception_end(ctx, EXCP_RI);
break;
--
2.7.4
- [Qemu-devel] [PATCH v10 01/65] target/mips: Add preprocessor constants for nanoMIPS, (continued)
- [Qemu-devel] [PATCH v10 01/65] target/mips: Add preprocessor constants for nanoMIPS, Aleksandar Markovic, 2018/08/17
- [Qemu-devel] [PATCH v10 02/65] target/mips: Add nanoMIPS base instruction set opcodes, Aleksandar Markovic, 2018/08/17
- [Qemu-devel] [PATCH v10 03/65] target/mips: Add nanoMIPS DSP ASE opcodes, Aleksandar Markovic, 2018/08/17
- [Qemu-devel] [PATCH v10 05/65] target/mips: Add nanoMIPS decoding and extraction utilities, Aleksandar Markovic, 2018/08/17
- [Qemu-devel] [PATCH v10 06/65] target/mips: Add emulation of nanoMIPS 16-bit arithmetic instructions, Aleksandar Markovic, 2018/08/17
- [Qemu-devel] [PATCH v10 04/65] target/mips: Add placeholder and invocation of decode_nanomips_opc(), Aleksandar Markovic, 2018/08/17
- [Qemu-devel] [PATCH v10 11/65] target/mips: Add emulation of nanoMIPS 16-bit logic instructions, Aleksandar Markovic, 2018/08/17
- [Qemu-devel] [PATCH v10 14/65] target/mips: Add emulation of nanoMIPS instructions MOVE.P and MOVE.PREV, Aleksandar Markovic, 2018/08/17
- [Qemu-devel] [PATCH v10 10/65] target/mips: Add emulation of nanoMIPS 16-bit load and store instructions, Aleksandar Markovic, 2018/08/17
- [Qemu-devel] [PATCH v10 15/65] target/mips: Add emulation of nanoMIPS 48-bit instructions, Aleksandar Markovic, 2018/08/17
- [Qemu-devel] [PATCH v10 28/65] target/mips: Add emulation of DSP ASE for nanoMIPS - part 2,
Aleksandar Markovic <=
- [Qemu-devel] [PATCH v10 13/65] target/mips: Add emulation of some common nanoMIPS 32-bit instructions, Aleksandar Markovic, 2018/08/17
- [Qemu-devel] [PATCH v10 17/65] target/mips: Add emulation of misc nanoMIPS instructions (pool32a0), Aleksandar Markovic, 2018/08/17
- [Qemu-devel] [PATCH v10 09/65] target/mips: Add emulation of nanoMIPS 16-bit misc instructions, Aleksandar Markovic, 2018/08/17
- [Qemu-devel] [PATCH v10 07/65] target/mips: Add emulation of nanoMIPS 16-bit branch instructions, Aleksandar Markovic, 2018/08/17
- [Qemu-devel] [PATCH v10 08/65] target/mips: Add emulation of nanoMIPS 16-bit shift instructions, Aleksandar Markovic, 2018/08/17
- [Qemu-devel] [PATCH v10 12/65] target/mips: Add emulation of nanoMIPS 16-bit save and restore instructions, Aleksandar Markovic, 2018/08/17
- [Qemu-devel] [PATCH v10 18/65] target/mips: Add emulation of misc nanoMIPS instructions (pool32axf), Aleksandar Markovic, 2018/08/17
- [Qemu-devel] [PATCH v10 19/65] target/mips: Add emulation of misc nanoMIPS instructions (p_lsx), Aleksandar Markovic, 2018/08/17
- [Qemu-devel] [PATCH v10 29/65] target/mips: Add emulation of DSP ASE for nanoMIPS - part 3, Aleksandar Markovic, 2018/08/17
- [Qemu-devel] [PATCH v10 26/65] target/mips: Implement MT ASE support for nanoMIPS, Aleksandar Markovic, 2018/08/17