From patchwork Sat May 12 00:43:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 135611 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1581709lji; Fri, 11 May 2018 18:08:04 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpV3W6GZul3KMxLbBaSPNQQbHfX0cgyymI9mRC8AyqQ2XyG2bO2mLI1WiU0zrzQydlsMMaO X-Received: by 2002:a0c:9e05:: with SMTP id p5-v6mr667270qve.136.1526087283956; Fri, 11 May 2018 18:08:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526087283; cv=none; d=google.com; s=arc-20160816; b=mPMX54HTtUiahjwavEiurIKAMQC3E1horuoFmJ9Wq1IF8YSyrBxmBaxuveykG5jOEM IzDZZsJWXvtMz+zpzGKFxMRwLiCLc2zJp0m6ihxT6r1rqt13OxuGQbJr2XgTk7uw2BPV l4NLZk5U4MYt3sj0UzREgqQUniGhSk96hBMrP6h8aMgI8k6KnIZstNsEMfkaDhv/5UX1 k1oEdFeJNBNJpPBOGrl09hejH6OczmVgeWkZDG5NafuIj7IPCHWJStUI2Qar1X4VL76G uXvoNY4b47L47NA3IjAMq5MW5CT46EgUKo/ZuE7hzyFxL64Wfw1mHJIpENzlF2Uk4Ten lN8w== 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=yyAYGNdO4kkJBfymYFw36wtSVFsJ2je7s9XYrOFvLZ0=; b=qJVvcGwwOY/2c4C/9DbAAEMTxBYelFoMTW5vzLlSCJbWzquFmCJNKqVZ+aVVKEZDw2 i9IsP5asoj/1kCL2sLJzn1kiSD8hzJz4slXA0+HPnNI2REYBPjDFFbUeLLHs0xm4BYwo T/X5mJuuPL+2hEpQqELLVHmkxn7LkOYvHcQ6Kypp0etS/zywa7XvPHyvO1g2/paSNZ/5 Xg+Kdt6tteND9/lvxSJ9xvBwzbsTy08NyiDX7lpir7MmTFDYK++Tv1mrfkw3Cz1i6Q4l cQPYuqqiJh+6Mb8Nt5VIDVhlijQ8wHltV3QonPVcDHZ9sxaWhlxtwlRrcEJMsdDWGMFq udkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Cpwe4F8o; 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 a22-v6si2463303qte.202.2018.05.11.18.08.03 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 11 May 2018 18:08:03 -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=Cpwe4F8o; 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]:60559 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHJ11-0002dV-EV for patch@linaro.org; Fri, 11 May 2018 21:08:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHIdQ-0004lv-8g for qemu-devel@nongnu.org; Fri, 11 May 2018 20:43:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fHIdP-0002yF-F2 for qemu-devel@nongnu.org; Fri, 11 May 2018 20:43:40 -0400 Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]:46575) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fHIdP-0002xw-9T for qemu-devel@nongnu.org; Fri, 11 May 2018 20:43:39 -0400 Received: by mail-pg0-x241.google.com with SMTP id z4-v6so3071616pgu.13 for ; Fri, 11 May 2018 17:43:39 -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=yyAYGNdO4kkJBfymYFw36wtSVFsJ2je7s9XYrOFvLZ0=; b=Cpwe4F8oEfkl9wQODdUCIdap/kpWfLrHUA8aX45sOzmCxZX05s4U/GUlh+rLnExfnc h0YqtNHKuaVMAkVYPo7sFMThOn5Edwv6qcuZoDTzyom4akhplhsTreGCcb4OOUVGmx46 3RccJxdy+81ESe9Ip73FrEWHd6cqQ4EcgXkXg= 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=yyAYGNdO4kkJBfymYFw36wtSVFsJ2je7s9XYrOFvLZ0=; b=qiuqvwOZPTfPHdXqD6RkoLt/tLfS7he7DjPZLLNd7zKhAjS7ap59j+EoVKC1BHPYbo UlxpDmaMr8D8Rn8KA59y6PAXq0dM1vUdn6L6jy07hL3ko07n7VpUtPkALD3u85mg8z5y k3NcM86qp3+pz0IbyXAxvonEI47oqEwsYbPEiS45z5GJex+iXZaXjK9082R9CpCwPJq1 d8qflW9uc8990QJGW7/F3VXGbFr4iXNt7eZWJsPlDLbNWnhuEp6ss3yBFFPOMjPAbdt0 yGrjZ4D9QXgmHVGxEevNf+AEqrTYCNjNRY8Q0err0E1h3OKoL/aHKdiwCCeH0oUNyQYA xrzw== X-Gm-Message-State: ALKqPwfNvXRdd1TKMDL0yCI3JJjjjXgHgG2HiVq+l0nTq9f2/OE8OzJA pP0AeEFjRg4FVe437g1SfbFm0IAxbf8= X-Received: by 2002:a63:ac43:: with SMTP id z3-v6mr957299pgn.291.1526085818018; Fri, 11 May 2018 17:43:38 -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 k84-v6sm10756406pfh.93.2018.05.11.17.43.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 11 May 2018 17:43:37 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 11 May 2018 17:43:01 -0700 Message-Id: <20180512004311.9299-18-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180512004311.9299-1-richard.henderson@linaro.org> References: <20180512004311.9299-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::241 Subject: [Qemu-devel] [PATCH v2 17/27] target/hppa: 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 Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This is now handled properly by the generic softfloat code. Signed-off-by: Richard Henderson --- target/hppa/op_helper.c | 2 -- 1 file changed, 2 deletions(-) -- 2.17.0 Reviewed-by: Peter Maydell diff --git a/target/hppa/op_helper.c b/target/hppa/op_helper.c index a3af62daf7..912e8d5be4 100644 --- a/target/hppa/op_helper.c +++ b/target/hppa/op_helper.c @@ -341,7 +341,6 @@ float64 HELPER(fdiv_d)(CPUHPPAState *env, float64 a, float64 b) float64 HELPER(fcnv_s_d)(CPUHPPAState *env, float32 arg) { float64 ret = float32_to_float64(arg, &env->fp_status); - ret = float64_maybe_silence_nan(ret, &env->fp_status); update_fr0_op(env, GETPC()); return ret; } @@ -349,7 +348,6 @@ float64 HELPER(fcnv_s_d)(CPUHPPAState *env, float32 arg) float32 HELPER(fcnv_d_s)(CPUHPPAState *env, float64 arg) { float32 ret = float64_to_float32(arg, &env->fp_status); - ret = float32_maybe_silence_nan(ret, &env->fp_status); update_fr0_op(env, GETPC()); return ret; }