Message ID | 20200117005440.3524-2-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 (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=v19kzQAD; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47zMzp3RVgz9sRQ for <incoming@patchwork.ozlabs.org>; Fri, 17 Jan 2020 11:55:16 +1100 (AEDT) Received: from localhost ([::1]:50790 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1isFur-0000aW-8P for incoming@patchwork.ozlabs.org; Thu, 16 Jan 2020 19:55:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39375) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1isFuR-0000YJ-IK for qemu-devel@nongnu.org; Thu, 16 Jan 2020 19:54:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1isFuQ-0001ea-H1 for qemu-devel@nongnu.org; Thu, 16 Jan 2020 19:54:47 -0500 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]:39658) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1isFuQ-0001e7-B1 for qemu-devel@nongnu.org; Thu, 16 Jan 2020 19:54:46 -0500 Received: by mail-pl1-x636.google.com with SMTP id g6so9119593plp.6 for <qemu-devel@nongnu.org>; Thu, 16 Jan 2020 16:54:46 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=RRNhppJBo3j9IN3x0V0TBNKZ3vFfjEjJ3mBvklIP5Zw=; b=v19kzQADXsfBcfKI0OkA5BojzaKnnInTVaB7o3XUeUCPEX5h7Maoj/uW5qdw0GQwm1 tqYNka7lKo6ODqB7MsgrSlC2F2suMR1w3Hp5Mbw+W46FexD/S+y02bnI09WIJIQ8dOCj /6n8yVgIsa2EyRiK7rNsYRXFb0M0i0PQmgv+DNIMqX5gVcMoxAwPtHNvGt+Htyf4tlqH mV/oc3cseITYLXutpHJKT3baOxLQVDSTk2iFqSh9iv6YDXUGeMTX/mXcwMy4dQNrcrHh qMKgKr6+5hnF/0VBhAcb/Pb+5YpeKkLaudUdKTmepXkeYLx85IZNVCfCWPV1QwmPjXUy htNg== 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:mime-version:content-transfer-encoding; bh=RRNhppJBo3j9IN3x0V0TBNKZ3vFfjEjJ3mBvklIP5Zw=; b=hLqwiSd8eyoN4raw5aGzJTVC68l9V4ZDE0Yz30gxFzxX/UUQ3YTGwdYVq11EQuoNcu OUGhDrsyU4Bs2BlKpcGQ82GOK4mUZynnffz9OvO7p7Lzo7v4nws2a24jBVVJbIRqO7/p WydZjDfUgpG9X082MtFp8AYaPqXPnJQnEobwNBh4qNMSMuiksbcXPCCQJh1aDensZdrA fOHMKoMG92eMlRqyy3+rn/M7rsF6+85U8WMhhxZkO6kMmaq0mniFrhqH5YXiJgEFZg6q 32QzD6o57aZUZcEU5BUZvZhcAAVIPfIDtbkgcjlNFG/4NhjBUIrknXwC6XxCfbFRfLUU 3q3A== X-Gm-Message-State: APjAAAX/Qh36hBPwcErn2tBU1/lg7xKKQ3DkimK2tS1UOtN391LDrC0Q RyXrxm8CaC366sa+75EzHzOMuJXFnj0= X-Google-Smtp-Source: APXvYqwYgG3qfmxq5VYIhhHkEjiHO6Ui3dlxc/oW+ZyfgO9U2bFtqC/mFnb/HnjvqmBWFtlRk3q2FQ== X-Received: by 2002:a17:90b:30c8:: with SMTP id hi8mr2520175pjb.73.1579222484950; Thu, 16 Jan 2020 16:54:44 -0800 (PST) Received: from localhost.localdomain (rrcs-66-91-136-155.west.biz.rr.com. [66.91.136.155]) by smtp.gmail.com with ESMTPSA id l14sm23848628pgt.42.2020.01.16.16.54.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jan 2020 16:54:44 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 1/1] target/openrisc: Fix FPCSR mask to allow setting DZF Date: Thu, 16 Jan 2020 14:54:40 -1000 Message-Id: <20200117005440.3524-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200117005440.3524-1-richard.henderson@linaro.org> References: <20200117005440.3524-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::636 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 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: <https://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, Stafford Horne <shorne@gmail.com> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
[PULL,1/1] target/openrisc: Fix FPCSR mask to allow setting DZF
|
expand
|
diff --git a/target/openrisc/fpu_helper.c b/target/openrisc/fpu_helper.c index 59e1413279..6f75ea0505 100644 --- a/target/openrisc/fpu_helper.c +++ b/target/openrisc/fpu_helper.c @@ -70,7 +70,7 @@ void cpu_set_fpcsr(CPUOpenRISCState *env, uint32_t val) float_round_down }; - env->fpcsr = val & 0x7ff; + env->fpcsr = val & 0xfff; set_float_rounding_mode(rm_to_sf[extract32(val, 1, 2)], &env->fp_status); }