Message ID | 20180516155243.16937-19-richard.henderson@linaro.org |
---|---|
State | Accepted |
Commit | cab3211261b3dad5de3b15fadcca483af5e2b113 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1111559lji; Wed, 16 May 2018 09:03:49 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo776Jbk3j8IQtmvwyJkLyVwLYLeYAzaijvMF+w/etj5drAMf/4PV6B+1sVf2PHDtvqb2+P X-Received: by 2002:ac8:431a:: with SMTP id z26-v6mr1585536qtm.377.1526486629468; Wed, 16 May 2018 09:03:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526486629; cv=none; d=google.com; s=arc-20160816; b=iudOkVMvOFTgxLjN87F4aApxrR4ODvcSEK7pTmOLCfXLBCyKiyG6y1EpDiqpFT9XxW elJVaFyN4obvyO3h6ocnbi6tcIojhkkwvreErmLE1OS3c6Ak30YvrNdtmJV+C5GqIgwn LtHprcjYwZappCkGT2HX5iv7QHktPzS/hEVK+RutAgjBakwazW65tSPFisT7Juf7hQLx ChghHoGdTR4SbRQcjltcrIPE9QLA8WiCoUOFT0JhZoFds1YlBddzDOzxHKTkRCChCfs/ lG1AurLMaXDwoV81zLwMCEK9pqVXkdYLZAP+7DVNssiEHZiv+xS9RXa/5JSKEUfk6DXb aMwA== 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=lFbjHgIjVdntVwEG8TX8Zn/QYQH/a160DBSlPiGyBN4=; b=ZxkxuSgt/J7fI2iXTBRCMuc2nZrQ0fr5TK9KAJjbHbowyuaYROc0v2CCdIPpH1Ctcw FlgKYM7joUaZklTN10cfOEmBO/OAd6CdJuL1TgE+5sqosLJORzGnzMxcwhVKIpyU/J0H 4xbI9eol/eWkM+P0AirS8TobDVh073S+tWZ7fNG9WISrPFmfQJddsmWpz4KobUzhZWLL EVXV52RoLmJdW+BCip63xFykKeqh3SWRW6nav8QC4EvIHTh8lo3uVPwYLfsmmUCdi/zZ zjjAuJWiZ8necN9uQ+iJMWHjmXeG8lEY9Fpwe4MLHd70J+XYchv4WHnynRnniVyzfBZl bD+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=DSLRegSy; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id w70-v6si2988731qkb.17.2018.05.16.09.03.49 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 16 May 2018 09:03: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=DSLRegSy; 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]:53097 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1fIyu5-0003rM-0H for patch@linaro.org; Wed, 16 May 2018 12:03:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1fIyjp-0004Z3-TB for qemu-devel@nongnu.org; Wed, 16 May 2018 11:53:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1fIyjp-00057E-0J for qemu-devel@nongnu.org; Wed, 16 May 2018 11:53:13 -0400 Received: from mail-pl0-x229.google.com ([2607:f8b0:400e:c01::229]:46628) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1fIyjo-000575-Qt for qemu-devel@nongnu.org; Wed, 16 May 2018 11:53:12 -0400 Received: by mail-pl0-x229.google.com with SMTP id 30-v6so659327pld.13 for <qemu-devel@nongnu.org>; Wed, 16 May 2018 08:53:12 -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=lFbjHgIjVdntVwEG8TX8Zn/QYQH/a160DBSlPiGyBN4=; b=DSLRegSy4815clU7Yl3C7RG6zhcAIQ/7o51PiQjj2+qWdRaTd/ZCdsaGxJCBD5LKgZ 6lAkmE1J4JeUB/q6rMNi2D2OEVOllzDfUVwvMUiR0nQHMmzgHOqB1/bkhcT15kxJwSRL FjQOiv5aogU2yEPnKfFefggDeogPBsjlOlgBo= 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=lFbjHgIjVdntVwEG8TX8Zn/QYQH/a160DBSlPiGyBN4=; b=UoFy0znhL1eL+neWXI9fu6C+Xb1onYE1khvyFJv9Rw1lY0YvT6VQN6KKZ6RTh4sStz mKLujrqKR+HXX/4+kGGSA9X7bkzcqzgVe/9xNxnXLwDLSrYBkhZRoOMAg5V1gBCFJgd2 WiqZJWv4HC1FP6IySHwPloMPEmumA5FYeaBp6vFafcLPH37ritiinB8q0+j5BP7O4ieb ET/n7mNyzrcq+Hf/U8Ctz/Z6DLrA9QhvRb+6FS4jE3bkjYdbrJRJ++58xungFUNBaN21 RUiOl2CwKDXyU6EP5YmBPARzB4yqd6ZmNDOUlcYvSc35Ax3AZktXzWHeyKkaKQJdSmp+ tufA== X-Gm-Message-State: ALKqPweJAAL3M7pp5UzGGZZZPS7oJAB7vssD78/84tnCOqMwjJMqE3rs BGBmjQCdHWq5BIjcAja5SExUWVBmT/k= X-Received: by 2002:a17:902:265:: with SMTP id 92-v6mr1436187plc.368.1526485991508; Wed, 16 May 2018 08:53:11 -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 c3-v6sm4966632pfn.62.2018.05.16.08.53.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 May 2018 08:53:10 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Date: Wed, 16 May 2018 08:52:33 -0700 Message-Id: <20180516155243.16937-19-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180516155243.16937-1-richard.henderson@linaro.org> References: <20180516155243.16937-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::229 Subject: [Qemu-devel] [PULL 18/28] target/riscv: 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, Palmer Dabbelt <palmer@sifive.com>, Sagar Karandikar <sagark@eecs.berkeley.edu>, Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
softfloat patch roundup
|
expand
|
diff --git a/target/riscv/fpu_helper.c b/target/riscv/fpu_helper.c index abbadead5c..fdb87d8d82 100644 --- a/target/riscv/fpu_helper.c +++ b/target/riscv/fpu_helper.c @@ -279,14 +279,12 @@ uint64_t helper_fmax_d(CPURISCVState *env, uint64_t frs1, uint64_t frs2) uint64_t helper_fcvt_s_d(CPURISCVState *env, uint64_t rs1) { - rs1 = float64_to_float32(rs1, &env->fp_status); - return float32_maybe_silence_nan(rs1, &env->fp_status); + return float64_to_float32(rs1, &env->fp_status); } uint64_t helper_fcvt_d_s(CPURISCVState *env, uint64_t rs1) { - rs1 = float32_to_float64(rs1, &env->fp_status); - return float64_maybe_silence_nan(rs1, &env->fp_status); + return float32_to_float64(rs1, &env->fp_status); } uint64_t helper_fsqrt_d(CPURISCVState *env, uint64_t frs1)