Message ID | 20180511004345.26708-11-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="kC/b2zQw"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40hs6g4Gqfz9rxs for <incoming@patchwork.ozlabs.org>; Fri, 11 May 2018 10:54:03 +1000 (AEST) Received: from localhost ([::1]:36204 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1fGwJt-0001CX-50 for incoming@patchwork.ozlabs.org; Thu, 10 May 2018 20:54:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52045) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1fGwAF-0007EP-R2 for qemu-devel@nongnu.org; Thu, 10 May 2018 20:44:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1fGwAF-0004rc-4z for qemu-devel@nongnu.org; Thu, 10 May 2018 20:44:03 -0400 Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]:35173) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1fGwAF-0004rJ-06 for qemu-devel@nongnu.org; Thu, 10 May 2018 20:44:03 -0400 Received: by mail-pg0-x244.google.com with SMTP id n1-v6so1682139pgs.2 for <qemu-devel@nongnu.org>; Thu, 10 May 2018 17:44:02 -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=kC/b2zQwKMhcB8dYOEW/kJILFyB8bNAKmFsYs/ysW0qOybnymDws2lMsQL9N4xgf/E vhFd5pbgDUqCLon3Sr/GV/12pfGCeRAzPEImrnKWAFSXXZtRqGYy3Mawea1Bpo3JsO3Q vpBEK91tRgsH+KjhAS+6TJBQw9gtMNdykDzCg= 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=FZffiUG4hpTbz6+dC0u1RrLrKZQCQ6OLIDgEHIoOLz7RM9kLxeICZfV9EJ+5k0kvfY Nzi0xvBlAXTuBTYovmSIpRY/V4tNGfit1Qmvo4KJA5Ld+CS73bpJNzq2BweOgtux/vsX GqPEhOdDhNscq8ygecrMQMax+YQDUdx+qZE+K29lRuhQY5fO9u2aERNyjBx2XjhBPkpI oyEcxndYZtuMerNpu9oSh4miadyTr7of8FYKbtTfkGZyVeByFZl7jf8cBabCasF9XvX/ WhhqZiPZCBvLrC7Ovn1vtWOikv/MGVNlzKljujpq+s+GTxjoDX6yMakKzV45/A1xxPML Zd1Q== X-Gm-Message-State: ALKqPwcFoN7r/hkMu0H28Agj20Qw0FRsrd7K5zYI0oMQmHvTnbGoI3GA GF38+aT5rlE1g8EPTCnd9SqxF5WuDK4= X-Google-Smtp-Source: AB8JxZrvhc6W3P3C4jaEYNyhsS/Add33fCwe0b2DYOLiApkO6wYRkaFvQLmGzrlKVLJPdT5Y3+5sYA== X-Received: by 2002:a63:7f07:: with SMTP id a7-v6mr2709630pgd.173.1525999441704; Thu, 10 May 2018 17:44:01 -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.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 May 2018 17:44:00 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Date: Thu, 10 May 2018 17:43:36 -0700 Message-Id: <20180511004345.26708-11-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:c05::244 Subject: [Qemu-devel] [PATCH 10/19] 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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: peter.maydell@linaro.org, alex.bennee@linaro.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
softfloat: Clean up NaN handling
|
expand
|
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; }
This is now handled properly by the generic softfloat code. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- target/hppa/op_helper.c | 2 -- 1 file changed, 2 deletions(-)