[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1071149] Re: target-mips: special3 instruction dinsm t
From: |
Aurelien Jarno |
Subject: |
[Qemu-devel] [Bug 1071149] Re: target-mips: special3 instruction dinsm translation error |
Date: |
Thu, 25 Oct 2012 09:51:38 -0000 |
Indeed the (lsb > msb) case is wrong and should be removed. I'll post a
patch about that later this week.
** Changed in: qemu
Status: Invalid => Confirmed
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1071149
Title:
target-mips: special3 instruction dinsm translation error
Status in QEMU:
Confirmed
Bug description:
Function decode_opc() in translate.c calls function gen_bitops(),
which has such prototype:
/* special3 bitfield operations */
static void gen_bitops (DisasContext *ctx, uint32_t opc, int rt,
int rs, int lsb, int msb)
The code for DINSM instruction is:
case OPC_DINSM ... OPC_DINS:
check_insn(env, ctx, ISA_MIPS64R2);
check_mips_64(ctx);
gen_bitops(ctx, op1, rt, rs, sa, rd);
break;
But rd ≠ msb according to MIPS64R2 standard, rd = msb - 32.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1071149/+subscriptions
- [Qemu-devel] [PATCH v1 0/8] Sysbus EHCI + Zynq USB., Peter Crosthwaite, 2012/10/25
- [Qemu-devel] [PATCH v1 1/8] usb/ehci: parameterise the register region offsets, Peter Crosthwaite, 2012/10/25
- [Qemu-devel] [PATCH v1 2/8] usb/ehci: Abstract away PCI DMA API, Peter Crosthwaite, 2012/10/25
- [Qemu-devel] [PATCH v1 3/8] usb/ehci: seperate out PCIisms, Peter Crosthwaite, 2012/10/25
- [Qemu-devel] [PATCH v1 4/8] usb/ehci: Add usb-ehci-sysbus, Peter Crosthwaite, 2012/10/25
- [Qemu-devel] [PATCH v1 8/8] usb/ehci: Put RAM in undefined MMIO regions, Peter Crosthwaite, 2012/10/25
- [Qemu-devel] [PATCH v1 7/8] usb/ehci: Debug mode compile fixes, Peter Crosthwaite, 2012/10/25
- [Qemu-devel] [PATCH v1 6/8] usb/ehci: Guard definition of EHCI_DEBUG, Peter Crosthwaite, 2012/10/25
- [Qemu-devel] [PATCH v1 5/8] xilinx_zynq: add USB controllers, Peter Crosthwaite, 2012/10/25