From patchwork Sat May 12 00:32:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 135575 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1556268lji; Fri, 11 May 2018 17:35:16 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqEY1I5SjiAzuNlaawLgUVUl+ZpG6wCKmOe+7E0Q8ythED1I3D+cubxJzdPcWmEzJh9zt4v X-Received: by 2002:ac8:21cd:: with SMTP id 13-v6mr233637qtz.406.1526085316423; Fri, 11 May 2018 17:35:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526085316; cv=none; d=google.com; s=arc-20160816; b=UrD6TZLRXgHiUgMa/U1nWjrfz0bLyV4vwrxG/hwBdtkSQ++mKzQroe+S6r5063d2cf xssGcAdDc2iQpwL+KidKtu+pij8ZTK8zqA5Or2PrtAg5QAD8FOIJqwGhw37gJPPYskPA 6tUhwLq9m9oqWrCWCVD6yDC+kovEy+iFUmHj494VES5UEDp90LUHkf4mFDi35kNoHUta RDoYNRBONZqlXLPPma8X8KaJIpqIzjebWGBUHKD/uF5xsvBab47g6n/5TapuYg3+25g6 X/ElRCqwV8d56XdIb/c97RTQY93DUArXPmTO5rWi306eRhI1pcaxJz2lW9jpHU410Kt3 xOZg== 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=1n4XvTfPFZHcQECOJuhQks+bVPMtiv1idIKmwahsk3I=; b=Zk62kWRYrWsV5gvT/l263O8Zb9BqfS7i2nnmOs0BoVd78duiVTJSGluK/PSQBwN41Y SvYd/p5+8RUuqm+GdEkQKEKWTcZVTIJs6zr3qwvAd2G0zVx1XoBfLkyucmGvanMjczqk BOgb5aOD+u8itNgUAbSMpgQ04Xr6Fjo9wEXAV2eF1hrURa+Vpz/SdsJY/EjRE16i/uoK /STaU3OE06MQV17czKcAKnkL3G1NifHO4jAq8jFSQJHPPtumSnruYtj83Hb7jnY8A+bl cfZtp51MXgZ0ENnBFqWkMTGEjQLVGtLeQIFv6S+UZk20xwRug/ind0AFbIMIpZU/G/7W KBkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=H8v2t/nm; 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 v68-v6si4388032qkv.99.2018.05.11.17.35.16 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 11 May 2018 17:35:16 -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=H8v2t/nm; 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]:58514 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHIVH-0001zR-Qt for patch@linaro.org; Fri, 11 May 2018 20:35:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHISX-0005xR-Jr for qemu-devel@nongnu.org; Fri, 11 May 2018 20:32:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fHISU-00086J-FN for qemu-devel@nongnu.org; Fri, 11 May 2018 20:32:25 -0400 Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]:43268) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fHISU-000867-8f for qemu-devel@nongnu.org; Fri, 11 May 2018 20:32:22 -0400 Received: by mail-pf0-x241.google.com with SMTP id j20-v6so3418847pff.10 for ; Fri, 11 May 2018 17:32:22 -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=1n4XvTfPFZHcQECOJuhQks+bVPMtiv1idIKmwahsk3I=; b=H8v2t/nmDXON5CeCHSxR/Krky+9VDWnFauRwHedDtI5YGwReFKNB7fAglch4/AEJ6j qWlzkNad9T8NV6OYNqkaROgbEXq4BR7lRSvNWeOhnJHibnboW/d/fnKBXMm1puI9qk4C Qy15NVQg6ZEqsxOglHwH1DqD0ILUw/BUX+u/o= 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=1n4XvTfPFZHcQECOJuhQks+bVPMtiv1idIKmwahsk3I=; b=PppSmP5X1gC+CAk5jENY4hBeY+bQbWLmTmzuNA98tldGiYjf90gXsipFF11kx8jrm+ JMG5mXuMiMkCrR/Zahkomn/YD5PDKJKGBDj9KwrQ2CYy+ht2z45PKSIiEPzUtV8VU82X tDT2G1wYYbnaUb007PY2tAiyeQs9b0Ko5HqrGCNGDEaeTrpPMsisfeuDR+CTv/2xOQyW SSUffm6dSXEMHczH5At/DWanP+7/SbWcuZVmzut/N8JnXfanQ+AlyHzoLbY5owbs9Xnr +GPlsKb8yIYvo71FQN81TXfKe4M2Bp4mITtBRJOAVHBDyo3zo1FCTZy9qPTPceZfeUFz XjZA== X-Gm-Message-State: ALKqPwd14KweuogSCBMOag+yzc1hRVgqEGzklnEnWDXvxeuxELhcHhm4 R4gkNNZrrGuVAf65PBKq9dKNfuf+/Tw= X-Received: by 2002:a63:924c:: with SMTP id s12-v6mr965744pgn.368.1526085140692; Fri, 11 May 2018 17:32:20 -0700 (PDT) Received: from cloudburst.twiddle.net (97-113-2-170.tukw.qwest.net. [97.113.2.170]) by smtp.gmail.com with ESMTPSA id v186-v6sm7599735pfb.45.2018.05.11.17.32.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 11 May 2018 17:32:19 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 11 May 2018 17:32:06 -0700 Message-Id: <20180512003217.9105-1-richard.henderson@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: 2607:f8b0:400e:c00::241 Subject: [Qemu-devel] [PATCH v4 00/11] target/arm: Fixups for ARM_FEATURE_V8_FP16 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: peter.maydell@linaro.org, alex.bennee@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Changes since v3: * Fixup rebase vs target-arm.next. One of the middle patches had conflicts resolved incorrectly, so the patch set was non-bisectable. Changes since v2: * Rebased vs target-arm.next. * Merged Peter's review. * Split out return fix as a separate patch. Changes since v1: * Rebased vs master instead of tgt-arm-sve-9. * Alex did some additional digging through the ARM xhtml and came up with some additional missing instructions. * Everything cc'd to qemu-stable. r~ Alex Bennée (4): target/arm: Implement FCMP for fp16 target/arm: Implement FCSEL for fp16 target/arm: Implement FMOV (immediate) for fp16 target/arm: Fix sqrt_f16 exception raising Richard Henderson (7): target/arm: Implement FMOV (general) for fp16 target/arm: Early exit after unallocated_encoding in disas_fp_int_conv target/arm: Implement FCVT (scalar,integer) for fp16 target/arm: Implement FCVT (scalar,fixed-point) for fp16 target/arm: Introduce and use read_fp_hreg target/arm: Implement FP data-processing (2 source) for fp16 target/arm: Implement FP data-processing (3 source) for fp16 target/arm/helper-a64.h | 2 + target/arm/helper.h | 6 + target/arm/helper-a64.c | 10 + target/arm/helper.c | 38 +++- target/arm/translate-a64.c | 421 +++++++++++++++++++++++++++++++------ 5 files changed, 413 insertions(+), 64 deletions(-) -- 2.17.0 Tested-by: Alex Bennée