Received: from eggs.gnu.org ([2001:4830:134:3::10]:49194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dS91b-000309-BX for qemu-devel@nongnu.org; Mon, 03 Jul 2017 17:36:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dS91V-0006gE-Ge for qemu-devel@nongnu.org; Mon, 03 Jul 2017 17:36:55 -0400 Received: from mail-qt0-x244.google.com ([2607:f8b0:400d:c0d::244]:36581) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dS91V-0006fj-C3 for qemu-devel@nongnu.org; Mon, 03 Jul 2017 17:36:49 -0400 Received: by mail-qt0-x244.google.com with SMTP id v31so25009602qtb.3 for ; Mon, 03 Jul 2017 14:36:49 -0700 (PDT) Sender: Richard Henderson References: <20170702202814.27793-1-aurelien@aurel32.net> From: Richard Henderson Message-ID: Date: Mon, 3 Jul 2017 14:36:44 -0700 MIME-Version: 1.0 In-Reply-To: <20170702202814.27793-1-aurelien@aurel32.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 0/5] target/sh4: misc FPU fixes and optimizations List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno , qemu-devel@nongnu.org Cc: Bruno Haible On 07/02/2017 01:28 PM, Aurelien Jarno wrote: > This patchset should fix the bug#1701821 reported by Bruno Haible, > which makes the gnulib testsuite to fail for single precision libm > tests or for tests relying on unordered comparisons. > > It also fixes an inversion of cause and flag bits in the FPSCR register, > which is unrelated with the reported bug. It also improves a bit the fneg > and fcmp instructions. > > Aurelien Jarno (5): > target/sh4: do not check for PR bit for fabs instruction > target/sh4: fix FPU unorderered compare > target/sh4: fix FPSCR cause vs flag inversion > target/sh4: do not use a helper to implement fneg > target/sh4: return result of fcmp using TCG > > target/sh4/helper.h | 11 +++----- > target/sh4/op_helper.c | 71 ++++++++++++++++---------------------------------- > target/sh4/translate.c | 30 ++++++++------------- > 3 files changed, 37 insertions(+), 75 deletions(-) > Reviewed-by: Richard Henderson r~