Received: from eggs.gnu.org ([2001:4830:134:3::10]:48407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ce7pb-0001ul-VR for qemu-devel@nongnu.org; Wed, 15 Feb 2017 17:13:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ce7pb-0006x6-5S for qemu-devel@nongnu.org; Wed, 15 Feb 2017 17:13:47 -0500 Sender: Richard Henderson References: <1487140636-19955-1-git-send-email-bharata@linux.vnet.ibm.com> From: Richard Henderson Message-ID: <44595100-389c-18ee-6355-2d1355577187@twiddle.net> Date: Thu, 16 Feb 2017 09:13:31 +1100 MIME-Version: 1.0 In-Reply-To: <1487140636-19955-1-git-send-email-bharata@linux.vnet.ibm.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] target-ppc: Add quad precision muladd instructions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bharata B Rao , qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, nikunj@linux.vnet.ibm.com, david@gibson.dropbear.id.au 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~