From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757948AbbBFRlj (ORCPT ); Fri, 6 Feb 2015 12:41:39 -0500 Received: from casper.infradead.org ([85.118.1.10]:35240 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754038AbbBFRlh (ORCPT ); Fri, 6 Feb 2015 12:41:37 -0500 Message-ID: <54D4FCC9.80704@infradead.org> Date: Fri, 06 Feb 2015 09:41:29 -0800 From: Randy Dunlap User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Joseph Myers , linux-kernel@vger.kernel.org, linux-alpha@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org Subject: Re: [PATCH RFC] Update kernel math-emu code from current glibc soft-fp References: In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/06/15 09:25, Joseph Myers wrote: > At this point this patch is an RFC rather than yet being ready for > inclusion, because I've only tested it for powerpc (both e500 and > emulation of classic hard float); it's quite likely there are bugs in > the changes for other architectures, quite possibly breaking the > build. I've also posted it to libc-alpha > with a > call for testing and notes on what testing might be appropriate. Is there a test suite? and a diffstat is good to see: arch/alpha/include/asm/sfp-machine.h | 3 arch/alpha/math-emu/math.c | 131 - arch/powerpc/include/asm/sfp-machine.h | 39 arch/powerpc/math-emu/fadd.c | 6 arch/powerpc/math-emu/fadds.c | 6 arch/powerpc/math-emu/fcmpo.c | 2 arch/powerpc/math-emu/fcmpu.c | 2 arch/powerpc/math-emu/fctiw.c | 2 arch/powerpc/math-emu/fctiwz.c | 2 arch/powerpc/math-emu/fmadd.c | 8 arch/powerpc/math-emu/fmadds.c | 8 arch/powerpc/math-emu/fmsub.c | 8 arch/powerpc/math-emu/fmsubs.c | 8 arch/powerpc/math-emu/fnmadd.c | 8 arch/powerpc/math-emu/fnmadds.c | 8 arch/powerpc/math-emu/fnmsub.c | 8 arch/powerpc/math-emu/fnmsubs.c | 8 arch/powerpc/math-emu/fsub.c | 6 arch/powerpc/math-emu/fsubs.c | 6 arch/powerpc/math-emu/lfs.c | 11 arch/powerpc/math-emu/math_efp.c | 254 +- arch/powerpc/math-emu/stfs.c | 6 arch/s390/include/asm/sfp-machine.h | 10 arch/s390/math-emu/math.c | 278 +-- arch/sh/include/asm/sfp-machine.h | 10 arch/sh/math-emu/math.c | 51 arch/sparc/include/asm/sfp-machine_32.h | 3 arch/sparc/include/asm/sfp-machine_64.h | 3 arch/sparc/math-emu/math_32.c | 144 - arch/sparc/math-emu/math_64.c | 140 - include/math-emu/double.h | 391 ++-- include/math-emu/op-1.h | 546 +++--- include/math-emu/op-2.h | 1127 ++++++------ include/math-emu/op-4.h | 1449 ++++++++------- include/math-emu/op-8.h | 205 +- include/math-emu/op-common.h | 2902 ++++++++++++++++++++++---------- include/math-emu/quad.h | 428 +++- include/math-emu/single.h | 225 +- include/math-emu/soft-fp.h | 342 ++- 39 files changed, 5495 insertions(+), 3299 deletions(-) -- ~Randy