qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH] target-ppc: Add quad precision muladd instructions
Date: Thu, 16 Feb 2017 09:13:31 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

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 able to copy float64_muladd and, for the most part, s/128/256/ and s/64/128/. Other of the magic numbers, like the implicit bit and the exponent bias, you get from float128_mul.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]