From nobody Tue Feb 10 13:16:41 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 15394729630191000.2762209796856; Sat, 13 Oct 2018 16:22:43 -0700 (PDT) Received: from localhost ([::1]:46548 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBTEr-0003h4-L1 for importer@patchew.org; Sat, 13 Oct 2018 19:22:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBTCf-0002TL-Lh for qemu-devel@nongnu.org; Sat, 13 Oct 2018 19:20:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gBTCc-0007wC-Bp for qemu-devel@nongnu.org; Sat, 13 Oct 2018 19:20:13 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:36351) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gBTCc-0007vh-5H for qemu-devel@nongnu.org; Sat, 13 Oct 2018 19:20:10 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 650CB21ACE; Sat, 13 Oct 2018 19:20:08 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 13 Oct 2018 19:20:08 -0400 Received: from localhost (flamenco.cs.columbia.edu [128.59.20.216]) by mail.messagingengine.com (Postfix) with ESMTPA id 9E68C102DE; Sat, 13 Oct 2018 19:20:07 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=braap.org; h= from:to:cc:subject:date:message-id:in-reply-to:references; s= mesmtp; bh=CeX9Fblk41NlWeY9UAsd6a4LLLNQgAqmGPeAe4RFW2k=; b=aUGj7 6TpvhCv9m980+DnFKPnXcs8Bp0mgOCxoq2TQNR+6j/OIyZmDiqmXjADB6/xkPwOb GsQ39IW0bTLp5AZz5wgXqf6suCKagfEpiw3zzaFrvpybYuRJwrPTE+wCIMRs1W0P pwRUEa3Y1MnNqasf+TecTjmWcIupjV22zpzQeU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=CeX9Fblk41NlWeY9UAsd6a4LLLNQg AqmGPeAe4RFW2k=; b=qZR20ZBYZ1W3bTMTIY36nCHU6gd1F6u7QwlCvzlMcn7rw Abfot7v6p1Zd/CrUynyMscY8j+WIBEKCUmhkHmusdJYj5xoXtnrM4l2DXZLYdJQb dL493xIF9fGSybVMnybMZTBUsruEIXe5Ugoz8KVaa12u8JbXL4mufu6e7CVOm6vq 84xlk1V6ASP1bU9PNeZnSov0O62r868ffsqxGvJdFc7oelcBdTAlUBp2QROsAWD1 lEDBAWU4AJ2Dlgw3d3qzobe1hl7j7OotZ4qMV4p2A1QGya8s6JvgPmgmgG+quo0U TVPsYFZ/FYvcPngd6AGHNMmLuzUIbjWsP2Zx8PL8w== X-ME-Sender: X-ME-Proxy: From: "Emilio G. Cota" To: qemu-devel@nongnu.org Date: Sat, 13 Oct 2018 19:19:23 -0400 Message-Id: <20181013231933.28789-4-cota@braap.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181013231933.28789-1-cota@braap.org> References: <20181013231933.28789-1-cota@braap.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.27 Subject: [Qemu-devel] [PATCH v5 03/13] target/tricore: use float32_is_denormal 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=20Benn=C3=A9e?= , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Reviewed-by: Bastian Koppelmann Signed-off-by: Emilio G. Cota --- target/tricore/fpu_helper.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/target/tricore/fpu_helper.c b/target/tricore/fpu_helper.c index df162902d6..31df462e4a 100644 --- a/target/tricore/fpu_helper.c +++ b/target/tricore/fpu_helper.c @@ -44,11 +44,6 @@ static inline uint8_t f_get_excp_flags(CPUTriCoreState *= env) | float_flag_inexact); } =20 -static inline bool f_is_denormal(float32 arg) -{ - return float32_is_zero_or_denormal(arg) && !float32_is_zero(arg); -} - static inline float32 f_maddsub_nan_result(float32 arg1, float32 arg2, float32 arg3, float32 result, uint32_t muladd_negate_c) @@ -260,8 +255,8 @@ uint32_t helper_fcmp(CPUTriCoreState *env, uint32_t r1,= uint32_t r2) set_flush_inputs_to_zero(0, &env->fp_status); =20 result =3D 1 << (float32_compare_quiet(arg1, arg2, &env->fp_status) + = 1); - result |=3D f_is_denormal(arg1) << 4; - result |=3D f_is_denormal(arg2) << 5; + result |=3D float32_is_denormal(arg1) << 4; + result |=3D float32_is_denormal(arg2) << 5; =20 flags =3D f_get_excp_flags(env); if (flags) { --=20 2.17.1