From nobody Thu Oct 30 15:33:06 2025 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; dkim=fail; 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; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1526000305878512.4252440147695; Thu, 10 May 2018 17:58:25 -0700 (PDT) Received: from localhost ([::1]:36227 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGwO5-0005bu-Sh for importer@patchew.org; Thu, 10 May 2018 20:58:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGwAN-0007Jx-FW for qemu-devel@nongnu.org; Thu, 10 May 2018 20:44:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fGwAK-0004tA-Hd for qemu-devel@nongnu.org; Thu, 10 May 2018 20:44:11 -0400 Received: from mail-pl0-x242.google.com ([2607:f8b0:400e:c01::242]:38439) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fGwAK-0004sx-CM for qemu-devel@nongnu.org; Thu, 10 May 2018 20:44:08 -0400 Received: by mail-pl0-x242.google.com with SMTP id c11-v6so2262524plr.5 for ; Thu, 10 May 2018 17:44:08 -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 y24-v6sm4216728pfn.23.2018.05.10.17.44.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 May 2018 17:44:06 -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:in-reply-to:references; bh=6z5jX9TCxKiZSZHZWyKzIG2jpQGZx1m9dxkm709/st0=; b=L5uqh3c3hIYMI/IpY5TpWPrY95wjmnDQle+jD3iZROAer2EGLycesVWmtZJXAkfZCv BCZqvvuCcKfQUNwrkehZjHRITVWtJXC9maz56ylhVIACnLSc7oiIQsJtXGp1pWy5OtHW 3aMJZ4D8hzWd4WR/TJylueNPuFbirgfzkwVZ8= 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; bh=6z5jX9TCxKiZSZHZWyKzIG2jpQGZx1m9dxkm709/st0=; b=g4mq5nMoS4ryASvUn4QlyDmvL5oUm59sjlQOvTdBzMGOd6cJsf3uhRC0OnzY84P9iN 7dfCFNLEvRsfNLWsrpWEs0vJ4YYZtrHaEq+QMxYDdvJBrBKR8JV1S6Ael7B9upVuenOq tMuuTn3YNQiTBp5/VhpY59zgdQ+X/pZz1zW6Ym2ULgN9JwNv10+NZetfEL3stwvOV/cB XJgOHUISjoq6MN1N0QA+awleEQIVvUvpznNaqBwyHi7UklEOP+BFxkhmoa6x72+MDe0W tOfQBQgOqE+LbepGS6wTUr/b3Bbm7RFw/KnrW3LjG9wYVu7z5dfVXJrE+EyNmlR98f3a 48TQ== X-Gm-Message-State: ALKqPwePGkj+k+JEnSscLN32HDaqlrs8TAUGBPCwWaGGopZiOfim2Pr5 euh0Se6jjDcd7yi3SurOwnVdZ4KYmRo= X-Google-Smtp-Source: AB8JxZr42NLKHcF7LdpOng3JPL5N7JVOFQiD/4luyRqRW1UOK6xXy6Fl+wwnqYiqEnbIYbxUXcGAZg== X-Received: by 2002:a17:902:7288:: with SMTP id d8-v6mr3351183pll.218.1525999447122; Thu, 10 May 2018 17:44:07 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 10 May 2018 17:43:40 -0700 Message-Id: <20180511004345.26708-15-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180511004345.26708-1-richard.henderson@linaro.org> References: <20180511004345.26708-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c01::242 Subject: [Qemu-devel] [PATCH 14/19] target/s390x: Remove floatX_maybe_silence_nan from conversions 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, Alexander Graf , David Hildenbrand Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" This is now handled properly by the generic softfloat code. Cc: Alexander Graf Cc: David Hildenbrand Signed-off-by: Richard Henderson Reviewed-by: David Hildenbrand --- target/s390x/fpu_helper.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/target/s390x/fpu_helper.c b/target/s390x/fpu_helper.c index 43f8bf1c94..5c5b451b3b 100644 --- a/target/s390x/fpu_helper.c +++ b/target/s390x/fpu_helper.c @@ -269,7 +269,7 @@ uint64_t HELPER(ldeb)(CPUS390XState *env, uint64_t f2) { float64 ret =3D float32_to_float64(f2, &env->fpu_status); handle_exceptions(env, GETPC()); - return float64_maybe_silence_nan(ret, &env->fpu_status); + return ret; } =20 /* convert 128-bit float to 64-bit float */ @@ -277,7 +277,7 @@ uint64_t HELPER(ldxb)(CPUS390XState *env, uint64_t ah, = uint64_t al) { float64 ret =3D float128_to_float64(make_float128(ah, al), &env->fpu_s= tatus); handle_exceptions(env, GETPC()); - return float64_maybe_silence_nan(ret, &env->fpu_status); + return ret; } =20 /* convert 64-bit float to 128-bit float */ @@ -285,7 +285,7 @@ uint64_t HELPER(lxdb)(CPUS390XState *env, uint64_t f2) { float128 ret =3D float64_to_float128(f2, &env->fpu_status); handle_exceptions(env, GETPC()); - return RET128(float128_maybe_silence_nan(ret, &env->fpu_status)); + return RET128(ret); } =20 /* convert 32-bit float to 128-bit float */ @@ -293,7 +293,7 @@ uint64_t HELPER(lxeb)(CPUS390XState *env, uint64_t f2) { float128 ret =3D float32_to_float128(f2, &env->fpu_status); handle_exceptions(env, GETPC()); - return RET128(float128_maybe_silence_nan(ret, &env->fpu_status)); + return RET128(ret); } =20 /* convert 64-bit float to 32-bit float */ @@ -301,7 +301,7 @@ uint64_t HELPER(ledb)(CPUS390XState *env, uint64_t f2) { float32 ret =3D float64_to_float32(f2, &env->fpu_status); handle_exceptions(env, GETPC()); - return float32_maybe_silence_nan(ret, &env->fpu_status); + return ret; } =20 /* convert 128-bit float to 32-bit float */ @@ -309,7 +309,7 @@ uint64_t HELPER(lexb)(CPUS390XState *env, uint64_t ah, = uint64_t al) { float32 ret =3D float128_to_float32(make_float128(ah, al), &env->fpu_s= tatus); handle_exceptions(env, GETPC()); - return float32_maybe_silence_nan(ret, &env->fpu_status); + return ret; } =20 /* 32-bit FP compare */ --=20 2.17.0