Message ID | 20180227143852.11175-28-alex.bennee@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp385796edc; Tue, 27 Feb 2018 07:07:27 -0800 (PST) X-Google-Smtp-Source: AG47ELv+SSVA2aa3aBMBD2bRl15fHcMDIQfo+Ncln0Eiftc1P6kQdsf2cNbCIQahBV4fN7WS+U8E X-Received: by 10.129.17.214 with SMTP id 205mr164785ywr.488.1519744047240; Tue, 27 Feb 2018 07:07:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519744047; cv=none; d=google.com; s=arc-20160816; b=MBfNfLWDweXQ2qkso/A3swRLLqwtgcegvmjJQHHbvdQFWNrIFoTNCKdMQUVVQFKlwU Zrxb6t3ebaU5PwziF4b7BM7ckcTrH0/9UX27AnkxgkIdsAF8qp7ihzsHsIfqvgl4DGlm UKJzUCRvzIlr5KZZy2NN17U3gwXZ4mL0OrBA1O8ULNIEfxSBF6K60Fu51GdXnIdbcGCO dvdtEldpGYibHaWPqR3BJ4rbEjzYF+gHwblKoRbA25SZ9dEVeZVv6jNfBoAXYKjRPNik kys+Tm6p0ibsA3UEOAnDte7W+ooRuUZ1s1IdYvPy+MMRwtQR5JIUr33xfyh0wxNc+C1g OOog== 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:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=MCdFSq22oJsD+MArBZXaJ2syHJz5rCBtupvEhH57GOE=; b=gsIuGSkcHHcgfCaNRhERq57p0gKE+CyCRAkNWzLQfJ/Pp6zdsUhPYt5J84j11WIZML Jmx4R0DSreJgSS6eKO9rTwIROr35FOae0qS2yeGsDHrzk7CiMjrR/eB7kxIndVCnFg4/ 7JMx0Oj+Dby6xldMNsLAzvZ2wViYqIi3iVARvf4QkIMWJ23FomAhnpjaZ1o2Q8mRjKSP ONV8H5E9GQTZfZ2UvaSpvdPWW4meFOMJoZuJQ11ycbwPtQz++FAZh0GTjbDMVHFUNTrw LO1y49nrTXViWfw7iFNyKWYsrYbRFbG+v0NhgzivOvrJFA+RzcFKKmBbJW7mA4lxVjtu O6QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=CtvZlqQW; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id t132-v6si1941515yba.346.2018.02.27.07.07.27 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 27 Feb 2018 07:07:27 -0800 (PST) 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=CtvZlqQW; 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]:37872 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1eqgqk-0002vo-GZ for patch@linaro.org; Tue, 27 Feb 2018 10:07:26 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1eqgYD-0003g6-In for qemu-devel@nongnu.org; Tue, 27 Feb 2018 09:48:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1eqgYB-0001se-0n for qemu-devel@nongnu.org; Tue, 27 Feb 2018 09:48:17 -0500 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:55746) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1eqgYA-0001pS-L6 for qemu-devel@nongnu.org; Tue, 27 Feb 2018 09:48:14 -0500 Received: by mail-wm0-x241.google.com with SMTP id q83so24680923wme.5 for <qemu-devel@nongnu.org>; Tue, 27 Feb 2018 06:48:14 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=MCdFSq22oJsD+MArBZXaJ2syHJz5rCBtupvEhH57GOE=; b=CtvZlqQWAo8d2brK7AtR9WRF9j6VenmX7yElJwG/dEU+7wApjGfjRl/c4rUMEOFPfC VOP0bF4bTUtWkKhAOpe1bmXPz0O7fqUwfdusl6DBiRJoeDmVLSDgRpE53xfqXGQs58rW kG+d/KVoeik/IT7ebK5c4oibzSfercQIcVEUI= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=MCdFSq22oJsD+MArBZXaJ2syHJz5rCBtupvEhH57GOE=; b=SYO/Z1CwOw+AvnX/Sx1MvfWflELTihfqGVKLvsKRjiXjYSkE9aLQL+z39A404XeTxx uKhFm8uEdHd4wUCPF1y1lvhKdPcZhAJygbJq2Dm7oGgbclMT0h1d9tPG3NmMwY5GU/u9 S9pS7thsSAloH6xNnq1kUWzBXqk2ZbtgNSMpqgSLWt30F6nMkDB7e7vlcU9VejzEFYww nqoLH+mH5OcbvTJtOUSajBAWJmDVxO0mtn16v3LfhMq9uP9x1VM/F1KzdM8CmUE6OEmE PdhSzRaYz76ELm1eS7gMEQFEpdz2xluPBr/tMRNbnT6wiqXDtLFXAQSTEfVhTsHFoMj4 AokQ== X-Gm-Message-State: APf1xPAossWY3FpL7J4Z5vCJAzfLxWU4ic5kE7lSnllvmZxTP80A2r2q fI4OqYpZJsbd+vkx6Qt25Fzn9A== X-Received: by 10.28.95.139 with SMTP id t133mr6270511wmb.16.1519742893474; Tue, 27 Feb 2018 06:48:13 -0800 (PST) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id o12sm15625549wrb.15.2018.02.27.06.48.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Feb 2018 06:48:07 -0800 (PST) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id ED26D3E164D; Tue, 27 Feb 2018 14:38:54 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: qemu-arm@nongnu.org Date: Tue, 27 Feb 2018 14:38:48 +0000 Message-Id: <20180227143852.11175-28-alex.bennee@linaro.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180227143852.11175-1-alex.bennee@linaro.org> References: <20180227143852.11175-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::241 Subject: [Qemu-devel] [PATCH v4 27/31] arm/translate-a64: add FP16 FRSQRTE to simd_two_reg_misc_fp16 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, richard.henderson@linaro.org, qemu-devel@nongnu.org, Peter Maydell <peter.maydell@linaro.org> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
Add ARMv8.2 half-precision functions
|
expand
|
diff --git a/target/arm/translate-a64.c b/target/arm/translate-a64.c index 1096ff48ac..86231b33bb 100644 --- a/target/arm/translate-a64.c +++ b/target/arm/translate-a64.c @@ -11388,6 +11388,7 @@ static void disas_simd_two_reg_misc_fp16(DisasContext *s, uint32_t insn) case 0x6f: /* FNEG */ need_fpst = false; break; + case 0x7d: /* FRSQRTE */ case 0x7f: /* FSQRT (vector) */ break; default: @@ -11452,6 +11453,9 @@ static void disas_simd_two_reg_misc_fp16(DisasContext *s, uint32_t insn) case 0x6f: /* FNEG */ tcg_gen_xori_i32(tcg_res, tcg_op, 0x8000); break; + case 0x7d: /* FRSQRTE */ + gen_helper_rsqrte_f16(tcg_res, tcg_op, tcg_fpstatus); + break; default: g_assert_not_reached(); } @@ -11504,6 +11508,9 @@ static void disas_simd_two_reg_misc_fp16(DisasContext *s, uint32_t insn) case 0x6f: /* FNEG */ tcg_gen_xori_i32(tcg_res, tcg_op, 0x8000); break; + case 0x7d: /* FRSQRTE */ + gen_helper_rsqrte_f16(tcg_res, tcg_op, tcg_fpstatus); + break; case 0x7f: /* FSQRT */ gen_helper_sqrt_f16(tcg_res, tcg_op, tcg_fpstatus); break;