Hi,
On 7/7/18 4:41 PM, Fredrik Noring wrote:
[...]
> --- a/target/mips/mips-defs.h
> +++ b/target/mips/mips-defs.h
> @@ -52,6 +52,7 @@
> #define ASE_MSA 0x0100
>
> /* Chip specific instructions. */
> +#define INSN_R5900 0x1000
We have 4 bits to store the
On 08/01/2018 09:39 AM, Fredrik Noring wrote:
> Can QEMU be instructed to emulate
> the FPU only for Linux user space programs as opposed to hardware emulation?
Yes, that can be done. I would suggest something like
/*
* Hardware traps to the operating system for emulation.
* For user-only,
Thank you for your review, Maciej,
> > The MIPS R5900 is normally taken to be MIPS3, but it has MOVN, MOVZ and PREF
> > defined in MIPS4 which is why ISA_MIPS4 is chosen for this patch.
>
> It also has several instructions removed, so I don't think you can really
> just mark it MIPS IV without
On Sat, 7 Jul 2018, Fredrik Noring wrote:
> The MIPS R5900 is normally taken to be MIPS3, but it has MOVN, MOVZ and PREF
> defined in MIPS4 which is why ISA_MIPS4 is chosen for this patch.
It also has several instructions removed, so I don't think you can really
just mark it MIPS IV without
Hello Fredrik,
> Gesendet: Samstag, 07. Juli 2018 um 21:41 Uhr
> Von: "Fredrik Noring"
> An: qemu-devel@nongnu.org
> Cc: "Maciej W. Rozycki" , "Jürgen Urban"
>
> Betreff: [RFC] target/mips: Initial support for MIPS R5900
>
> Hi,
>
> This patch implements initial QEMU support for the MIPS
> I have tested the patch with Linux user mode emulation on a root filesystem
> compiled for R5900 and it worked without apparent issues, apart from:
>
> qemu: Unsupported syscall: 4352 (seccomp)
I have also observed the following QEMU crash:
qemu-mipsel: qemu/accel/tcg/cpu-exec.c:634:
Hi,
This patch implements initial QEMU support for the MIPS R5900. Primarily
code generated by GCC. The only special instruction needed for this, as far
as I can tell, is the three-operand multiply.
The MIPS R5900 is normally taken to be MIPS3, but it has MOVN, MOVZ and PREF
defined in MIPS4