From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZhoH-0000i4-9E for qemu-devel@nongnu.org; Fri, 25 Oct 2013 09:52:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZho7-0005je-B9 for qemu-devel@nongnu.org; Fri, 25 Oct 2013 09:52:17 -0400 Message-ID: <526A7780.4060105@gmail.com> Date: Fri, 25 Oct 2013 08:52:00 -0500 From: Tom Musta MIME-Version: 1.0 References: <526947CA.4020504@gmail.com> <52694A24.3050509@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 15/19] Add VSX xmax/xmin Instructions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: "qemu-ppc@nongnu.org" , QEMU Developers , Richard Henderson On 10/24/2013 5:10 PM, Peter Maydell wrote: > Can't you use the min and max softfloat functions? Those are > there specifically because the corner cases mean you can't > implement them using the comparisons. (For instance for > the example you quote of max(-0.0, +0.0) they return +0.0 > as you require.) I tried this but didn't have much luck getting results to match the P7 hardware. Unfortunately, I don't recall the details. Let me try this approach again.