From patchwork Mon May 14 22:12:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 135778 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp198450lji; Mon, 14 May 2018 15:28:49 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpwhZxpzDtyY+opbLB/LbHeNHHCQiezL5kTfFqYoyDT8ojUjr/A+D4U5Msj1RkzAj9dBobh X-Received: by 2002:a37:6a84:: with SMTP id f126-v6mr10264331qkc.45.1526336929863; Mon, 14 May 2018 15:28:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526336929; cv=none; d=google.com; s=arc-20160816; b=vV3BFjTY/XiHBW4MbFw1jBtGEufF5iMVPDWj8s9EPUHe6SLge3ghuKW6wPArOpVfXC xeHrZXRCdkgTV8mZuUApaw0cifjBH5nwqLIoJMIlc+Jag7IGEOT6BN08JJ0UBag9fqOd vSNzZOArXXahYJkguZilyuUNB6z3ctGtcwFZxoAkwWvy2xBApFfMr4xrk4b+QYQuv/ZY apXieL61qcXleAAoHjcdZiRSikYclaU4klvkV7uYeRL95Y+Jt5eKN1I8qCUSv/D7GKO/ 6otSj1zBx665avl9PSmhTE4SHxZakE69lqExJ4rr4E/ItK1q4Ft8S8pP7/yCCJ8JgpV9 hT5w== 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:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=N/MQDXmC5P0rKEPWLGL6olcs6gD/4PAiety6G0UTpec=; b=w/QYsWRQMUE2+YhHaHy2FPEEh5AKU8JnoN25gdZSy/pJcKTStRoIu4qAYLXKSFziqn RNhV8YrY3/wwSJ5j6tW8nrIaQlRo0KKo4bTyq6pS5J2S0WTjl8vMLHlA78IXeU+huDUQ v9twSkT26Z0KGR/yWm68g3a+6onmhw8nI+CqNZm0V+6NNkZSUleeIqiS4PI7QgHrd77s T0W4ys4w003PgjeIVV+lU/jGB7WWDD4G4/Hr/Le+8EoxY9Z9prUXewbJ+SEhaD4f/K2S iwww7xrut4EcTBQ5gSgVCKWQ8yqGiibWTALxsknv6i/bvQ+vaU2YSVcoM0mxQzLAd0eM /44A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=EwcG9ejW; 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: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id n8-v6si3356244qtc.341.2018.05.14.15.28.49 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 14 May 2018 15:28:49 -0700 (PDT) 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=EwcG9ejW; 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]:49979 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fILxZ-00050L-3g for patch@linaro.org; Mon, 14 May 2018 18:28:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52589) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fILi6-00089p-FE for qemu-devel@nongnu.org; Mon, 14 May 2018 18:12:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fILi5-0008A0-Cs for qemu-devel@nongnu.org; Mon, 14 May 2018 18:12:50 -0400 Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]:36605) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fILi5-00088s-6W for qemu-devel@nongnu.org; Mon, 14 May 2018 18:12:49 -0400 Received: by mail-pg0-x244.google.com with SMTP id z70-v6so6065153pgz.3 for ; Mon, 14 May 2018 15:12:49 -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=N/MQDXmC5P0rKEPWLGL6olcs6gD/4PAiety6G0UTpec=; b=EwcG9ejWdyJWfKlpQmklMu8vZBOnL9752ihIsFo6JYbSm5oRChU6KIJeoQc//rlrtn dX8Ucb+Ccalu0SeF9af1Be3+fXBYGWkr4M1C0aT1qurXkGbVSJpDrsKIbA0DRs4557gV ZVQCfEJWYJGumhyzpjYcEBPOfjmskekaimsEM= 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=N/MQDXmC5P0rKEPWLGL6olcs6gD/4PAiety6G0UTpec=; b=fQrtA+3vBxGKEjeYwRR3kZflLVZyd4QC55LtkQRzRB3ByMCsQygnPD/gPNdYMw7NeY q/vtlTwxZY67lgI1py/mSrhMsgXCeRp4Y8sP6IykgejmOyYOMQ7rzE2P6mRyzZBT2lKP s95hBVZWQh/bqR5EDZwwcF3NXYCW+DHC4qYUHWJO57UF0/jgK+bYFVgcYvD6fz3p9OVd 1wumyT/n70eJ0Tl6Elz+07d0HoAFGKACX5Nt6Tri1BhxlwW4lx7tPYSndeNf0mRUrNOA fbDWbGhNnfSdurfNuTESn+5PgyGmaLxK5Q/4XO0gx2DBEtnu03s/w05LemXI+swtxpuv aISw== X-Gm-Message-State: ALKqPwf5VlcXu14fi7iEj63vFPHLMhGXCib2I5JEgt8dW82vdqiVvVYW F0n5v8a/AeR8xRNoieFZ1ZLSvLeqCSU= X-Received: by 2002:a63:6d42:: with SMTP id i63-v6mr9934803pgc.161.1526335967979; Mon, 14 May 2018 15:12:47 -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 y2-v6sm14512457pgp.92.2018.05.14.15.12.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 May 2018 15:12:47 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Mon, 14 May 2018 15:12:10 -0700 Message-Id: <20180514221219.7091-20-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180514221219.7091-1-richard.henderson@linaro.org> References: <20180514221219.7091-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:c05::244 Subject: [Qemu-devel] [PATCH v5 19/28] 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 Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This is now handled properly by the generic softfloat code. Cc: Alexander Graf Reviewed-by: David Hildenbrand Signed-off-by: Richard Henderson --- target/s390x/fpu_helper.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- 2.17.0 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 = float32_to_float64(f2, &env->fpu_status); handle_exceptions(env, GETPC()); - return float64_maybe_silence_nan(ret, &env->fpu_status); + return ret; } /* 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 = float128_to_float64(make_float128(ah, al), &env->fpu_status); handle_exceptions(env, GETPC()); - return float64_maybe_silence_nan(ret, &env->fpu_status); + return ret; } /* convert 64-bit float to 128-bit float */ @@ -285,7 +285,7 @@ uint64_t HELPER(lxdb)(CPUS390XState *env, uint64_t f2) { float128 ret = float64_to_float128(f2, &env->fpu_status); handle_exceptions(env, GETPC()); - return RET128(float128_maybe_silence_nan(ret, &env->fpu_status)); + return RET128(ret); } /* convert 32-bit float to 128-bit float */ @@ -293,7 +293,7 @@ uint64_t HELPER(lxeb)(CPUS390XState *env, uint64_t f2) { float128 ret = float32_to_float128(f2, &env->fpu_status); handle_exceptions(env, GETPC()); - return RET128(float128_maybe_silence_nan(ret, &env->fpu_status)); + return RET128(ret); } /* convert 64-bit float to 32-bit float */ @@ -301,7 +301,7 @@ uint64_t HELPER(ledb)(CPUS390XState *env, uint64_t f2) { float32 ret = float64_to_float32(f2, &env->fpu_status); handle_exceptions(env, GETPC()); - return float32_maybe_silence_nan(ret, &env->fpu_status); + return ret; } /* 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 = float128_to_float32(make_float128(ah, al), &env->fpu_status); handle_exceptions(env, GETPC()); - return float32_maybe_silence_nan(ret, &env->fpu_status); + return ret; } /* 32-bit FP compare */