From nobody Mon Feb 9 20:10:55 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 (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1543104080535509.8590888636011; Sat, 24 Nov 2018 16:01:20 -0800 (PST) Received: from localhost ([::1]:58165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQhrT-0007mH-51 for importer@patchew.org; Sat, 24 Nov 2018 19:01:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQhmV-0003G6-UM for qemu-devel@nongnu.org; Sat, 24 Nov 2018 18:56:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gQhmQ-0005Ey-Ra for qemu-devel@nongnu.org; Sat, 24 Nov 2018 18:56:11 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:40651) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gQhmP-0004h0-Mo for qemu-devel@nongnu.org; Sat, 24 Nov 2018 18:56:06 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id D9CDFCFC; Sat, 24 Nov 2018 18:56:01 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 24 Nov 2018 18:56:02 -0500 Received: from localhost (flamenco.cs.columbia.edu [128.59.20.216]) by mail.messagingengine.com (Postfix) with ESMTPA id 1FBBC102F0; Sat, 24 Nov 2018 18:56:01 -0500 (EST) 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=lxp1g dY9LCKB9gv+ksw7swjqRw0iE1T8iie7adB0zaQydDH9zfBpN79uUc2HtqOf5jb8o Y4dVd+ktzribfYeJ65IbR7UbY3B5ae/s2lOPVl28P3xW8ThpJ7DyJQSgkdUtaXve ILaRuyr7Vd/nvfZF9p7Ayi/9v40nFKMscumKWo= 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=DTJjBsq3IxHSIsQq+36/7u0lAwkeMUMhExFs8ra9qhYGE By+G+9iyHxCqeo+8FeBO3ZrDTDRu/vK2bbUgicmQR5Y96cH78ISVNqbCOHiI/sy+ rL2pDhH1euYTpmjODCraU9EgtwnksS36vE/X8YVlEr6xOvKf3NI+cMXxzDKUvOeQ ikKNDgD1spT3iNpqA3fb6z5M3KM3+5ZKf0iIBccWTTY6oNigdB+zrlMHOAm7B7pH NPbRyGPC/Vh0T0CB0CIgSzFc1zV6vYjnBtl08Q2rpq3nGd43UJpPUX26VM1zWyvE sx1zAN48BWito5KFD23bvMwBj/ycZUPFxcipbYBGg== X-ME-Sender: X-ME-Proxy: From: "Emilio G. Cota" To: qemu-devel@nongnu.org Date: Sat, 24 Nov 2018 18:55:43 -0500 Message-Id: <20181124235553.17371-4-cota@braap.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181124235553.17371-1-cota@braap.org> References: <20181124235553.17371-1-cota@braap.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.123.25 Subject: [Qemu-devel] [PATCH v6 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: Richard Henderson , =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" 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