Re: ppc/fpu_helper.c

2021-11-16 Thread Matheus K. Ferst
On 14/11/2021 07:15, 罗勇刚(Yonggang Luo) wrote: On Sun, Nov 14, 2021 at 5:07 PM Richard Henderson mailto:richard.hender...@linaro.org>> wrote: > > On 11/13/21 11:07 AM, 罗勇刚(Yonggang Luo) wrote: > > I've seen nothing in fpu_helper.c to update > > the fpscr to FP_FR, > > that is there is no cod

Re: ppc/fpu_helper.c

2021-11-14 Thread Yonggang Luo
On Sun, Nov 14, 2021 at 5:07 PM Richard Henderson < richard.hender...@linaro.org> wrote: > > On 11/13/21 11:07 AM, 罗勇刚(Yonggang Luo) wrote: > > I've seen nothing in fpu_helper.c to update > > the fpscr to FP_FR, > > that is there is no code with `fpscr |= FP_FR`, > > is that valid for PowerPC? or i

Re: ppc/fpu_helper.c

2021-11-14 Thread Richard Henderson
On 11/13/21 11:07 AM, 罗勇刚(Yonggang Luo) wrote: I've seen nothing in fpu_helper.c to update the fpscr to FP_FR, that is there is no code with `fpscr |= FP_FR`, is that valid for PowerPC? or it's just because this is hard to implement and then the FP_FR  are always not set  for  fpscr It is unimp

ppc/fpu_helper.c

2021-11-13 Thread Yonggang Luo
I've seen nothing in fpu_helper.c to update the fpscr to FP_FR, that is there is no code with `fpscr |= FP_FR`, is that valid for PowerPC? or it's just because this is hard to implement and then the FP_FR are always not set for fpscr -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo

Re: [Qemu-devel] [RFC] target-ppc/fpu_helper.c: Use C99 code to speed up floating point unit

2016-12-05 Thread Eric Blake
On 12/03/2016 07:32 PM, Richard Henderson wrote: > On 12/03/2016 09:07 AM, Programmingkid wrote: >> Yes it would be. The commit message never stated why he wanted to switch >> to floating point softfloat routines. These are my guesses: > ... >> - Different hosts produced different results and inste

Re: [Qemu-devel] [RFC] target-ppc/fpu_helper.c: Use C99 code to speed up floating point unit

2016-12-05 Thread no-reply
Hi, Your series seems to have some coding style problems. See output below for more information: Subject: [Qemu-devel] [RFC] target-ppc/fpu_helper.c: Use C99 code to speed up floating point unit Type: series Message-id: e8b64b53-09f0-4b1e-9f11-48cc3957c...@gmail.com === TEST SCRIPT BEGIN

Re: [Qemu-devel] [RFC] target-ppc/fpu_helper.c: Use C99 code to speed up floating point unit

2016-12-03 Thread Richard Henderson
On 12/03/2016 09:07 AM, Programmingkid wrote: Yes it would be. The commit message never stated why he wanted to switch to floating point softfloat routines. These are my guesses: ... - Different hosts produced different results and instead wanted consistency? This is the correct answer. Ther

Re: [Qemu-devel] [RFC] target-ppc/fpu_helper.c: Use C99 code to speed up floating point unit

2016-12-03 Thread Programmingkid
On Dec 3, 2016, at 3:44 AM, Paolo Bonzini wrote: > > > On 03/12/2016 06:59, Programmingkid wrote: >> The floating point code used in fpu_helper.c can be sped up by using >> the IEEE 754 support added to the C99 standard. To test this code out >> simply set and unset the I_NEED_SPEED macro. The

Re: [Qemu-devel] [RFC] target-ppc/fpu_helper.c: Use C99 code to speed up floating point unit

2016-12-03 Thread Paolo Bonzini
On 03/12/2016 06:59, Programmingkid wrote: > The floating point code used in fpu_helper.c can be sped up by using > the IEEE 754 support added to the C99 standard. To test this code out > simply set and unset the I_NEED_SPEED macro. The program to test out > each version of the helper_fmadd() fun

[Qemu-devel] [RFC] target-ppc/fpu_helper.c: Use C99 code to speed up floating point unit

2016-12-02 Thread Programmingkid
learn more about C99's IEEE 754 support: http://grouper.ieee.org/groups/754/meeting-materials/2001-07-18-c99.pdf --- target-ppc/fpu_helper.c | 105 ++-- 1 file changed, 102 insertions(+), 3 deletions(-) diff --git a/target-ppc/fpu_helper.c b/targe