From patchwork Thu Nov 23 16:35:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 840833 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yjQ2D6lD6z9s72 for ; Fri, 24 Nov 2017 03:36:34 +1100 (AEDT) Received: from localhost ([::1]:45127 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHuUJ-0007oK-Fb for incoming@patchwork.ozlabs.org; Thu, 23 Nov 2017 11:36:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46669) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHuTu-0007oA-BQ for qemu-devel@nongnu.org; Thu, 23 Nov 2017 11:36:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHuTq-0003Fz-9H for qemu-devel@nongnu.org; Thu, 23 Nov 2017 11:36:06 -0500 Received: from mout.kundenserver.de ([212.227.126.187]:63489) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eHuTp-0003D9-Rw for qemu-devel@nongnu.org; Thu, 23 Nov 2017 11:36:02 -0500 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue007 [212.227.15.167]) with ESMTPSA (Nemesis) id 0LplfX-1elBXs0tRn-00fk6U; Thu, 23 Nov 2017 17:35:43 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Thu, 23 Nov 2017 17:35:33 +0100 Message-Id: <20171123163538.31411-1-laurent@vivier.eu> X-Mailer: git-send-email 2.13.6 X-Provags-ID: V03:K0:d4VCWiIQETStNQ3yngSok/mggNIhRMcfBD8ZWJ52uTBKRwHMZSb mzbGnCHxgTxPxTUseWT4v78GIrR5w7WaUFKl3ww+0pnRIIAc147+qtaZ/lngUrrUsocX6tB DWpGX0Nk8QM5809SRhnHFtyT1iECxwmL60LQdEIvaANtC4kP9DScTf22cDvk/rs3dvFIOkk aADwa1jgI7cpfGPnzIWIg== X-UI-Out-Filterresults: notjunk:1; V01:K0:A5sZABStm0g=:wzE0qvhtnrRgAZXGEDtaOR QCFDj+Ktv9POdwD6M0t7yj20v4TUsdznlhhdRXMrmSV24j+fxHcpsSkhsmF3RKCScJCgWJPkG mOPJCf3w8qQVlhs0GuC4k+s9L3AzN48xIHAZ5YUY/wYG34A4NEYTNmL9uliMFCvyxVc5acmH8 bS23V9X7G89Th4PxIXuSlJOfBLnZE/eWeqWIztJIwg2Arb66jISAA7x6TTADl0MjqvVlhBh3x g7B2mTNYWxAUPqQ6W79IJv7xl9yD5cKjeJfUg+IlVxffwiWq1fBfT3m299WLuE5jIlOONYec8 pmL6zJu2itFgjmXJQH1VjVADZS14/Erj8/UTXOWX8XO5ny6ft9XN1D0ifRiYXielqqAV8xdw+ LNkfc2R4a4r0UnxSFR4YZdypYK/cCPBDsdA+Ky/l/w5w/JhiOIVLNU2khPT3PLc6FvPokBoWd Wz8lkzhj/ddJuMy8zbHqUHfUyARnYRk1R5ajN8pe5h2wDNkkohcIgjbYnkUb14O/JG8FX2f73 Ge1qmu8zH7+TSM/Crxb3g3Uw5rnZruYd+sBqtEI61ymk0FMckOjvFFfR9Gavfa/hzavG58iGM 6iXDAW9XxFuZY+tg8TTA3fddV9LE7lmBGP+nqUBb9T8E21/fjlu+ajnCJfW4/zaDHh8U8q3/s ZRvbGg4+T8F+esoZF05RGLzU7SxM1WD6tVKDREFTdSYmaJ6TMpbYVNhJ7A/Y6m61kzZ+2BILo HL+dMt/N5Ch83qnsZXhVKMfYjNU9wQlz5YM4Dw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.187 Subject: [Qemu-devel] [PATCH v2 0/5] target/m68k: implement 680x0 FPU (part 3) X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Huth , Laurent Vivier , Aurelien Jarno , Richard Henderson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Implement fmod, frem, fscale, fgetman and fgetexp. Instead of using functions of libm (v1 of this series) and converting between host long double and floatx80 type the new version (v2) adds new floatx80 functions in softfloat. All the floatx80 functions are copied from "Previous", the NeXT Computer Emulator, and written by Andreas Grabher. Laurent Vivier (5): softfloat: add floatx80_mod() target/m68k: add fmod/frem softfloat: use floatx80_infinity in softfloat softfloat: add floatx80_getman(), floatx80_getexp(), floatx80_scale() target-m68k: add fscale, fgetman and fgetexp fpu/softfloat-specialize.h | 29 +++++ fpu/softfloat.c | 258 ++++++++++++++++++++++++++++++++++++++++++--- include/fpu/softfloat.h | 13 ++- target/m68k/cpu.h | 1 + target/m68k/fpu_helper.c | 48 +++++++++ target/m68k/helper.h | 5 + target/m68k/translate.c | 15 +++ 7 files changed, 355 insertions(+), 14 deletions(-)