Message ID | 20180223153636.29809-28-alex.bennee@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp755490lja; Fri, 23 Feb 2018 07:52:26 -0800 (PST) X-Google-Smtp-Source: AG47ELv6OikSKjrznwz7iusCudcil+c5bVd4ugvLJ5oKNZeqTInqegqFrn+LYicaJ34EmcyCyB7O X-Received: by 2002:a25:bdcc:: with SMTP id g12-v6mr1339661ybk.287.1519401146883; Fri, 23 Feb 2018 07:52:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519401146; cv=none; d=google.com; s=arc-20160816; b=elcHox8qRrpGVuVgIrh0noQYUl50V/eFQrxMvQ6wbwDS2dlM7whXUIyMMvw0TBELnS 4mtYhxkPqaEMYQnDWTwea/VAYPrjqbdEq8Pv1fHCEUKhbl6Jp+c177cbtq17II4SIhFx jm5N3D5RVE88DCDKE96tyJ6rWAsyG/KALbOzng4lYJ5UWJ5HMCBP7IrmyV2ctiFKp+pw pC7XGT5WH/H6BQU3CPlpxJyjflXIORwZJvzf+w2RmD22KRjOhzGw9MZSaU22y/1VT47s Phu+V+KRyeR7L+AcWntEmUnmaEItdL0Lur97bJVfIHpd/OwaHuOt2Mramt7aCovkN9jE 1iJg== 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=7m4/TqnlhWQ5Gy0BnLYpZXDDkfAfuioPwpYvJ1vrRqc=; b=y6oPZOLCBeAlOnegipdcLoMbq9qKX4RNjIBYbdCW0SBUJwE1Bp7n9fiJJPpKa/bjGs RsfCJnytSu2KEN0TfhEyerYU9u2BCFPyOMsY1xsFP+cssqMaww7ncmr3/lNsW1kC8m5L AcvlvfXrHmUBD0f4g4WBy1qqBo2ZesRRs3o8G6T2lPLtCH8EfUQlb/k4EGbYjI+qQzJR 4JPjLsbuc7K5MhmQ96ZgzzYVyOnbzQYTEMTwXHlImiCta2Ateo+yhx0ZH/dOBM7fJrpH imraAt4ZfMEXqLPbvchP+iZPERn0X8CqKg9wLu+H9Fco48lXTfxKuzLwjA98DGY1uD69 UDhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=GtXv1yYT; 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 s10-v6si445406ybl.821.2018.02.23.07.52.26 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 23 Feb 2018 07:52:26 -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=GtXv1yYT; 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]:45341 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1epFe6-0000R8-6P for patch@linaro.org; Fri, 23 Feb 2018 10:52:26 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1epFUp-00009f-9Z for qemu-devel@nongnu.org; Fri, 23 Feb 2018 10:42:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1epFUm-0005wW-F2 for qemu-devel@nongnu.org; Fri, 23 Feb 2018 10:42:51 -0500 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:56215) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1epFUm-0005tY-5n for qemu-devel@nongnu.org; Fri, 23 Feb 2018 10:42:48 -0500 Received: by mail-wm0-x243.google.com with SMTP id q83so5452699wme.5 for <qemu-devel@nongnu.org>; Fri, 23 Feb 2018 07:42:48 -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=7m4/TqnlhWQ5Gy0BnLYpZXDDkfAfuioPwpYvJ1vrRqc=; b=GtXv1yYT2yzGXim4P0J/KITvMaZs0YYYDM4nKuL5VJuoy4YS9iydvBXtsDHyEF8guv F5ie9xFAVt9ctCwssP661a1mv08Boq17b7eoAuL2XkmoDlgy4whK6xXgi2RQpnjjlJWK YSZXlIP5XBQeYl7xHxWPqkuVcDqEpkHa7F0cg= 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=7m4/TqnlhWQ5Gy0BnLYpZXDDkfAfuioPwpYvJ1vrRqc=; b=Q34tTwauPXTG9pRqzhYw79Wza3OYDa0/REN2z3+AySyD3xG2cBeHFPlz2hRr5fRHyo CEHukWIvXu6hjKE8R2xIZ6UtVcRP/4k7UGA1X2PScTANN6iijhWS58z+d+fqxCRH4XeY KYMFHPk1QV1QtryrNqnRPIK031Gwp9Ux7zipmLT5ktVrOaCPNCw3PzQxGfTQAjliUd5L C3nOA71IOj6BvWsqtBcWQkWrYciYhvvRmHHMwGAUFSmL104VJ4sDjM6lTKmj+eE6+J0Y Vqd7mU46sUKA9WjeI9lfS9xHd89UsqRY0Do8s8Ow0qWkKdir4TZvfJdTW0nYW0TXE0Mb rtyg== X-Gm-Message-State: APf1xPAnq4Hu1TXIngsEVQFZA/q+Vvk1MnTLypWVeZcqn2U6gFMYP4a5 VGQzVwlL/PbSg7hXVsYdcRiF1A== X-Received: by 10.28.92.70 with SMTP id q67mr2022892wmb.43.1519400567089; Fri, 23 Feb 2018 07:42:47 -0800 (PST) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 6sm2370348wrd.57.2018.02.23.07.42.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Feb 2018 07:42:40 -0800 (PST) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 911B43E165A; Fri, 23 Feb 2018 15:36:38 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: qemu-arm@nongnu.org Date: Fri, 23 Feb 2018 15:36:32 +0000 Message-Id: <20180223153636.29809-28-alex.bennee@linaro.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180223153636.29809-1-alex.bennee@linaro.org> References: <20180223153636.29809-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::243 Subject: [Qemu-devel] [PATCH v3 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 ba3926262e..faec8084fa 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;