Re: [Qemu-devel] [PATCH v5 6/8] target/mips: Define the R5900 CPU

2018-10-21 Thread Maciej W. Rozycki
Hi Fredrik, > > The C790 is a follow-up to the R5900. The R5900 has an FPU that is not > > compliant to the IEEE 754 standard for floating-point arithmetic. It > > doesn't implement exceptions, infinities, NaNs or denormals. It doesn't > > implement the the double format either, but that is

Re: [Qemu-devel] [PATCH v5 6/8] target/mips: Define the R5900 CPU

2018-10-21 Thread Fredrik Noring
Hi Maciej, > The C790 is a follow-up to the R5900. The R5900 has an FPU that is not > compliant to the IEEE 754 standard for floating-point arithmetic. It > doesn't implement exceptions, infinities, NaNs or denormals. It doesn't > implement the the double format either, but that is really t

Re: [Qemu-devel] [PATCH v5 6/8] target/mips: Define the R5900 CPU

2018-09-28 Thread Philippe Mathieu-Daudé
On Thu, Sep 27, 2018 at 7:11 PM Fredrik Noring wrote: > > Thank you for your reviews, Philippe, > > > Fredrik: maybe you can simply name the C790 in the comment pointing to > > the DS documentation. > > Sure, I will do that for v6! I am also adding some of Maciej's notes on the > differences betwe

Re: [Qemu-devel] [PATCH v5 6/8] target/mips: Define the R5900 CPU

2018-09-27 Thread Fredrik Noring
Thank you for your reviews, Philippe, > Fredrik: maybe you can simply name the C790 in the comment pointing to > the DS documentation. Sure, I will do that for v6! I am also adding some of Maciej's notes on the differences between the C790 and the R5900, along with PRId 0X2E00 as noted by Jürgen:

Re: [Qemu-devel] [PATCH v5 6/8] target/mips: Define the R5900 CPU

2018-09-26 Thread Fredrik Noring
Hi Jürgen, Maciej, > The original website is down, but there is a backup: > http://ps2linux.no-ip.info/playstation2-linux.com/faq.html#Availability__When_Where_and_how_much > > There was also the question to release the documents for free. > http://ps2linux.no-ip.info/playstation2-linux.com/forum

Re: [Qemu-devel] [PATCH v5 6/8] target/mips: Define the R5900 CPU

2018-09-25 Thread Jürgen Urban
Hello Maciej, > Gesendet: Freitag, 21. September 2018 um 01:51 Uhr > Von: "Maciej W. Rozycki" > An: "Philippe Mathieu-Daudé" > Cc: "Fredrik Noring" , "Richard Henderson" > , "Aleksandar Markovic" > , "Aurelien Jarno" , "Petar > Jovanovic" , "Peter Maydell" > , "Jürgen Urban" , > qemu-devel@

Re: [Qemu-devel] [PATCH v5 6/8] target/mips: Define the R5900 CPU

2018-09-25 Thread Maciej W. Rozycki
On Tue, 25 Sep 2018, Philippe Mathieu-Daudé wrote: > >From the DS: > > The C790 core has the following features: > - Large on-chip caches > • Instruction cache: 32KB, 2-way set associative > • Data cache: 32KB, 2-way set-associative (with write-back proto

Re: [Qemu-devel] [PATCH v5 6/8] target/mips: Define the R5900 CPU

2018-09-25 Thread Philippe Mathieu-Daudé
On 9/25/18 10:25 AM, Maciej W. Rozycki wrote: > On Mon, 24 Sep 2018, Philippe Mathieu-Daudé wrote: >From the DS: The C790 core has the following features: - Large on-chip caches • Instruction cache: 32KB, 2-way set associative • Data cache: 32KB, 2-way set

Re: [Qemu-devel] [PATCH v5 6/8] target/mips: Define the R5900 CPU

2018-09-25 Thread Maciej W. Rozycki
On Mon, 24 Sep 2018, Philippe Mathieu-Daudé wrote: > >> >From the DS: > >> > >> The C790 core has the following features: > >>- Large on-chip caches > >> • Instruction cache: 32KB, 2-way set associative > >> • Data cache: 32KB, 2-way set-associative (with write-back protocol) > >> >

Re: [Qemu-devel] [PATCH v5 6/8] target/mips: Define the R5900 CPU

2018-09-24 Thread Philippe Mathieu-Daudé
Hi Maciej, Fredrik. On 9/21/18 1:51 AM, Maciej W. Rozycki wrote: > Hi Philippe, > >>> diff --git a/target/mips/translate_init.inc.c >>> b/target/mips/translate_init.inc.c >>> index b3320b9dc7..71fd83de06 100644 >>> --- a/target/mips/translate_init.inc.c >>> +++ b/target/mips/translate_init.inc.c

Re: [Qemu-devel] [PATCH v5 6/8] target/mips: Define the R5900 CPU

2018-09-24 Thread Philippe Mathieu-Daudé
Cc'ing Laurent for the linux-user FPU emulation part. On 9/15/18 11:50 AM, Fredrik Noring wrote: > The primary purpose of this change is to support programs compiled by > GCC for the R5900 target and thereby run R5900 Linux distributions, for > example Gentoo. In particular, this avoids issues wit

Re: [Qemu-devel] [PATCH v5 6/8] target/mips: Define the R5900 CPU

2018-09-20 Thread Maciej W. Rozycki
Hi Philippe, > > diff --git a/target/mips/translate_init.inc.c > > b/target/mips/translate_init.inc.c > > index b3320b9dc7..71fd83de06 100644 > > --- a/target/mips/translate_init.inc.c > > +++ b/target/mips/translate_init.inc.c > > @@ -410,6 +410,53 @@ const mips_def_t mips_defs[] = > >

Re: [Qemu-devel] [PATCH v5 6/8] target/mips: Define the R5900 CPU

2018-09-20 Thread Philippe Mathieu-Daudé
Hi Fredrik, On 9/15/18 11:50 AM, Fredrik Noring wrote: > The primary purpose of this change is to support programs compiled by > GCC for the R5900 target and thereby run R5900 Linux distributions, for > example Gentoo. In particular, this avoids issues with cross compilation. > > This change has

[Qemu-devel] [PATCH v5 6/8] target/mips: Define the R5900 CPU

2018-09-19 Thread Fredrik Noring
The primary purpose of this change is to support programs compiled by GCC for the R5900 target and thereby run R5900 Linux distributions, for example Gentoo. In particular, this avoids issues with cross compilation. This change has been tested with Gentoo compiled for R5900, including native compi