From patchwork Tue Jan 8 16:21:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 154981 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp5062675jaa; Tue, 8 Jan 2019 08:22:24 -0800 (PST) X-Google-Smtp-Source: ALg8bN58WWPgp/1hNfGPUwg1XMhlKXUsSVDeVKMGiTgtQ7yOH9lSipbCtITEHIYdnYWvCVPpphSl X-Received: by 2002:a1c:8791:: with SMTP id j139mr2192083wmd.86.1546964544235; Tue, 08 Jan 2019 08:22:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546964544; cv=none; d=google.com; s=arc-20160816; b=Xzt2NMVBtZQ5tzVSV4TMFKGSEp1koCazsb6zxOK+S/Z/hD/hbP6a8grb0G9fbhG8M8 oNoVMi9tRrRkwFWepsCpTOXZdT1OocwIwbZ3mPAgUkf7ugpN2UQ1yczIpEHEPOpTRHxA xX+/RUe6f9H4rH7drKWi+LpSJAIfVDmOuqFiUhuzrTjjAjAD6f6PaGLnli32kIuk2JiE OkO+RB1aNeycGkDAdMZ71RkSpnB2St3Nzp+/Rb/V146xNtDJ2fKciXoe1mPwD70RRir+ d19Rlu52EXK+4+kpCXGkzAOFqUq5UMCsSq4TiSiwmE9nlPo9Foia/d+TKp4PEwl/4za3 Cyeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:message-id:date:to:from :dkim-signature; bh=8CTzdxD8wDEfDhChLUa+u9GKltO7vVwuUfLCcx8cca8=; b=B0hyKiG8kOqkX7GgU1pw9d/7wT48FDsTZxT0lK5gwwvEHdk0QfuRNXInGaZjPHUMCf dM5d6SHRVtp+qR0sS6MHaj8ytocztcRkllydOFvOfLnmreUw8hP9zTGFuQV527WhqJRM UPfvvMqumjR4cgxR8coZKDgUPocJsUJQb3cQq++Swaswu3q10Tl8+dmg5mXxLv/WI5ZT Eb0p6Tq7dfLVxjHurFzdugZ9DCtDlm5YjL357bIQKnp5OPvTnDxZ9VW+zjSIpWLoyatG bjHjPQkkHgqVINOPWqDxOfF2r2cYv9YjYhfmBe73GTp5lm/bxBLJI4f9xMoHxCD8M04e 1a3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=K8+wGfvU; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id x77si7234979wme.196.2019.01.08.08.22.24 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 08 Jan 2019 08:22:24 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=K8+wGfvU; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1]:53779 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggu8y-0004EN-7U for patch@linaro.org; Tue, 08 Jan 2019 11:22:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggu8e-0004E6-Vi for qemu-devel@nongnu.org; Tue, 08 Jan 2019 11:22:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ggu8e-0000a2-7r for qemu-devel@nongnu.org; Tue, 08 Jan 2019 11:22:00 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:45801) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ggu8d-0000Nm-V2 for qemu-devel@nongnu.org; Tue, 08 Jan 2019 11:22:00 -0500 Received: by mail-wr1-x42e.google.com with SMTP id t6so4612073wrr.12 for ; Tue, 08 Jan 2019 08:21:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8CTzdxD8wDEfDhChLUa+u9GKltO7vVwuUfLCcx8cca8=; b=K8+wGfvU5PScsdNSMDhp9SMU9KE06NefOts51EFlKvkk7cBXokpeyF+wIjlHNH56Xj ZElZxeTcmhPeI/GhyelF5fVPA5cJtfGeGgzyQc5R5NBQSMpEC7HyDvPAGeRbu5NQMaBC xWKkRK7x59PaTc5CDD0eBMBtGiQs5V5oheyfo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8CTzdxD8wDEfDhChLUa+u9GKltO7vVwuUfLCcx8cca8=; b=M/Qm50VudMZYoBp4U5u8uBKW63tsPSdjfOw3U/L1T/+iE29FswIghM+XL/hatTdtm8 Nc2leOwLSaJL2X8YBWOcoTj6e/quJKAOAIFn09/PPjU05xsBPEGMgtGXSpxGs5qbAsTD TrQC06fY4fHveLJ5Is+pK5EPnkFL/orEVdehuvn6AOZSyP3/72dM7ZWS3XcY8df7nxw6 53k1OQPj0MfVWQmRxZhgJz0cPjfvyNVCqcpHAUyWhfb8fkdKeWpAcvtdWgK3Y2uEZggV wbQPorvKD1HtQL6shWntfoaGswIjT8wSCemccInTbGDqqo1lSjGCacnafiojaGGtoIrE Q18A== X-Gm-Message-State: AJcUukc/TGYLsT5zLY2fC2v8G4IfcFfH/NDiXcOfYV/xrIh6k3sWhtKJ 5D7daL9XCR4RIw5gZ/lwmL1vsg== X-Received: by 2002:adf:d4c9:: with SMTP id w9mr1954693wrk.119.1546964516342; Tue, 08 Jan 2019 08:21:56 -0800 (PST) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id h17sm53642435wrt.59.2019.01.08.08.21.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 08 Jan 2019 08:21:54 -0800 (PST) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 62EAD3E0B3A; Tue, 8 Jan 2019 16:21:54 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Tue, 8 Jan 2019 16:21:48 +0000 Message-Id: <20190108162154.22259-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42e Subject: [Qemu-devel] [PATCH v1 0/6] current fpu/next queue 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: cota@braap.org, =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Hi, This is the current queue of fixes for our softfloat implementation. I ended up taking Emilio's more complete dynamic probe approach for broken FMA implementations (direct from git). There is also a fix for the fp-bench. Finally a couple of patches to roll check-softfloat into the main make system. It skips some f128 and extF80 float operations which trigger faults but hopefully we can fix those up in a later re-factor of the extended size floats. The following patches need review patch 0003/softfloat enforce softfloat if the host s FMA is .patch patch 0004/tests Makefile add floating point tests.patch patch 0005/scripts archive source include softfloat tests.patch patch 0006/tests Makfile add check softfloat rule.patch Alex Bennée (3): tests/Makefile: add floating point tests scripts/archive-source: include softfloat tests tests/Makfile: add check-softfloat rule Emilio G. Cota (3): fp-bench: fix update_random_ops fp-bench: remove wrong exponent raise in fill_random softfloat: enforce softfloat if the host's FMA is broken fpu/softfloat.c | 85 ++++++++++++++++++++++++ include/qemu/cpuid.h | 6 ++ scripts/archive-source.sh | 2 +- tests/Makefile.include | 132 +++++++++++++++++++++++++++++++++++++- tests/fp/fp-bench.c | 15 +++-- 5 files changed, 230 insertions(+), 10 deletions(-) -- 2.17.1