Re: [Qemu-devel] [PATCH] target-ppc: Add quad precision muladd instructions

2020-09-22 Thread Bharata B Rao
On Tue, Sep 22, 2020 at 10:04:53AM +0200, David Hildenbrand wrote: > Hi guys, > > I just stumbled over > > https://lore.kernel.org/qemu-devel/1487140636-19955-1-git-send-email-bhar...@linux.vnet.ibm.com/ > > while looking for the state of float128_muladd(), as I need that for > s390x as well. >

Re: [Qemu-devel] [PATCH] target-ppc: Add quad precision muladd instructions

2020-09-22 Thread David Hildenbrand
Hi guys, I just stumbled over https://lore.kernel.org/qemu-devel/1487140636-19955-1-git-send-email-bhar...@linux.vnet.ibm.com/ while looking for the state of float128_muladd(), as I need that for s390x as well. @Bharata, did you manage to implement a prototype? Looking into float128_mul() makes

Re: [Qemu-devel] [PATCH] target-ppc: Add quad precision muladd instructions

2017-02-16 Thread Richard Henderson
On 02/16/2017 01:41 PM, Bharata B Rao wrote: For some reason float128_mul implements multipliction via multiplication and addition (mul128To256 & add128). There is no equivalent to this in float64_muladd. Yes, I don't understand that myself. It really appears to be a bug. r~

Re: [Qemu-devel] [PATCH] target-ppc: Add quad precision muladd instructions

2017-02-15 Thread Bharata B Rao
On Thu, Feb 16, 2017 at 09:13:31AM +1100, Richard Henderson wrote: > On 02/15/2017 05:37 PM, Bharata B Rao wrote: > > + * > > + * TODO: When float128_muladd() becomes available, switch this > > + * implementation to use that instead of separate float128_mul() > > + * followed by float128_add(). >

Re: [Qemu-devel] [PATCH] target-ppc: Add quad precision muladd instructions

2017-02-15 Thread Richard Henderson
On 02/15/2017 05:37 PM, Bharata B Rao wrote: + * + * TODO: When float128_muladd() becomes available, switch this + * implementation to use that instead of separate float128_mul() + * followed by float128_add(). Let's just do that, rather than add something that can't pass tests. You should be

[Qemu-devel] [PATCH] target-ppc: Add quad precision muladd instructions

2017-02-14 Thread Bharata B Rao
xsmaddqp: VSX Scalar Multiply-Add Quad-Precision xsmaddqpo: VSX Scalar Multiply-Add Quad-Precision using round to Odd xsnmaddqp: VSX Scalar Negative Multiply-Add Quad-Precision xsnmaddqpo: VSX Scalar Negative Multiply-Add Quad-Precision using round to Odd xsmsubqp: VSX Scalar Multiply-Subtra