From patchwork Thu May 10 09:42:01 2018 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: 135397 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp783489lji; Thu, 10 May 2018 02:44:23 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqVfEl9VfL1xzV0bpdfPx2twN66xOoPSlFQMjWOWEFxeo94dnkNQN5/h5v172bxyYn5hjeq X-Received: by 2002:a0c:d689:: with SMTP id k9-v6mr548618qvi.24.1525945463808; Thu, 10 May 2018 02:44:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525945463; cv=none; d=google.com; s=arc-20160816; b=HWlA0GncikO406fvBV0XgQv9IMHV6gZla4bRgxklcfgjOsgFx/JeEuYMpiZj+/EOK5 FiUbvw+rwMZzXtd1RX+ypQh4gijT9/PU9UMcrxlgZDouWU3Q7Z1vvzGW9/9L+WPchRfP mnMO5qC4Mu2ZUTuDo5CURa4wqLbdXM+bUjs6vZ6Kr5/vssmbaMZst3UBrXVJfGUDNFIR +NfDJivsU8vF0QzwshqVUdsG6ISpMlzthMBCFoH2wKaIw28ShxM4k3okbk/tzeCrTwzl hWPbuBLWn5EgS76YsYHL4C+0sGDxFGTAzQ4CLmqOejV+ndAMf3ZdJ8t4oV+lJIIyzSyb iCmQ== 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:arc-authentication-results; bh=qtTo3yIK+dxCaGoLj0yRJON0wekQGzwSriIcAwd3xBk=; b=PQnl4O/dn7swsXGq5y6C+ezM6q65p5YWauAKgQvEY3FWnwy9Mg6fTO20d13DmfjNz0 UyuezAnn+ls5pl9FVtBY4+0gTKhIcPyONmkY+3BM0UkQ2fNJWi2XD4ymlR9LnnfizYd9 wJ0QQu5AyuxSq5y4D4y/lfcfpR4/420hj8VRq1U8xUJcIhSabftDPuNc1/ELaVBTfK8h egwZnyb2ez3jKvX1suvgrl+/9LfQdwHc5yNISxuWU6wwUSFQFwxK7OIA+3ZanrrcM6L9 2jvmaY/3rAGDH6VvoSd1dgnd6ZjxsLXR4a6kAHma7OXyzCxnWx6+8XlpsNO1j6AWAB74 kbaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=B9dz6AX1; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 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. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id k2-v6si362881qva.0.2018.05.10.02.44.23 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 10 May 2018 02:44:23 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=B9dz6AX1; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 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 ([::1]:60993 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGi7a-0005XV-VG for patch@linaro.org; Thu, 10 May 2018 05:44:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGi5V-0002Ei-F2 for qemu-devel@nongnu.org; Thu, 10 May 2018 05:42:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fGi5R-0004Rs-Hr for qemu-devel@nongnu.org; Thu, 10 May 2018 05:42:13 -0400 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]:38001) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fGi5R-0004RA-BK for qemu-devel@nongnu.org; Thu, 10 May 2018 05:42:09 -0400 Received: by mail-wr0-x243.google.com with SMTP id 94-v6so1334059wrf.5 for ; Thu, 10 May 2018 02:42:09 -0700 (PDT) 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=qtTo3yIK+dxCaGoLj0yRJON0wekQGzwSriIcAwd3xBk=; b=B9dz6AX1i+IRqp+fFMMMEAIfmouNvVVKdNtdxtjyUjbggZyfXkk7kEhjcDYVH/wv0L eEHYxnePsMqqFVu3O9kmu/TIRxzJ155qSy8/oSTSgAgjhjmvz/ljBPryfyu9iooxuoxI 5o04tF9qsE+rY5qlfZA3f0rVzqxjXGIYP10pk= 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=qtTo3yIK+dxCaGoLj0yRJON0wekQGzwSriIcAwd3xBk=; b=frKYKiUpP6WthcJqaie471x4FsdBUcgXI/NXMCqk7YBbdSxRY5M6rC2thbHt0l/C4h tbYHZW+4l+J0mZgFboqSsMGEtWYfMm9Hvk83UwF96PgmIgWYk5Z38Rsk0Mgx5bOgMZ7H RFkf3gMEnmN5N3Nmu0DM4rZM3nCmhjB9cybpAm3DZncgaUgiJ+1vQ3vA2lAlq1fWZuak TS9OVd64s9S+gdY33nJrrLlMsnMq6KTJYK1w+J/P9ptVhVM2ZpWag6EXbb/62pvXgaaw fN2HSQivfqFcVFa/zaDmodRAtJdnbcN/WkucyFhJxxzEmwXcR1MtiqM3hmyTbWupWSep tDqg== X-Gm-Message-State: ALKqPwdWeKM7ri4DvAtXWGcrwx6cHiRMvWVhyHBswLjfSiA3fkj1hvkd n2ipW4w6Gw9TygKLbJfvWgjrmA== X-Received: by 2002:adf:9607:: with SMTP id b7-v6mr647034wra.129.1525945328108; Thu, 10 May 2018 02:42:08 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id j9-v6sm318223wri.55.2018.05.10.02.42.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 May 2018 02:42:07 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id E44A63E00CB; Thu, 10 May 2018 10:42:06 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Thu, 10 May 2018 10:42:01 +0100 Message-Id: <20180510094206.15354-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::243 Subject: [Qemu-devel] [PATCH v3 0/5] refactor float-to-float and fix AHP 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: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-arm@nongnu.org, richard.henderson@linaro.org, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Hi, Hi, I've not included the test case in the series but you can find it in my TCG fixup branch: https://github.com/stsquad/qemu/blob/testing/tcg-tests-revival-v4/tests/tcg/arm/fcvt.c Some of the ARMv7 versions are commented out as they where not supported until later revs. I do have a build that includes that but unfortunately the Debian compiler it too old to build it. : patch 0001/fpu softfloat int_to_float ensure r fully initial.patch needs review : patch 0004/target arm convert conversion helpers to fpst ahp.patch needs review : patch 0005/target arm squash FZ16 behaviour for conversions.patch needs review Alex Bennée (5): fpu/softfloat: int_to_float ensure r fully initialised fpu/softfloat: re-factor float to float conversions fpu/softfloat: support ARM Alternative half-precision target/arm: convert conversion helpers to fpst/ahp_flag target/arm: squash FZ16 behaviour for conversions fpu/softfloat-specialize.h | 40 --- fpu/softfloat.c | 546 +++++++++++-------------------------- include/fpu/softfloat.h | 8 +- target/arm/helper.c | 66 ++--- target/arm/helper.h | 12 +- target/arm/translate-a64.c | 38 ++- target/arm/translate.c | 70 +++-- target/arm/translate.h | 15 + 8 files changed, 306 insertions(+), 489 deletions(-) -- 2.17.0