Message ID | 20230904090630.725952-30-clg@kaod.org |
---|---|
State | Accepted |
Commit | af03aeb631eeb81a44d2c0ff5b429cd4b5dc2799 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:d08b:0:b0:31d:da82:a3b4 with SMTP id y11csp1492682wrh; Mon, 4 Sep 2023 02:09:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFuDYvdZzCYDBCxc7xLuBf9rgEoMThrmvld3rgWFUwdipJN/4o/hrJJZPmXYBEyObFrnoPb X-Received: by 2002:a05:620a:2155:b0:76f:e1f:c0c7 with SMTP id m21-20020a05620a215500b0076f0e1fc0c7mr8236311qkm.27.1693818545800; Mon, 04 Sep 2023 02:09:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693818545; cv=none; d=google.com; s=arc-20160816; b=rLnRNjObJ4cD3n8W/rrt9CiBCtg+5DqFGv6oZRtS3EC0MuCCSPabs1uKVuRWaCH2eY hclGuHn6/hzCQFCKhWmWPtpMyOAJdDS1NZm9xw2e9lEMapd4mMLMRdn9fZ9WjOaQahBv zDDEnXaPnHbcSm5WUcmjHtpl3//IAtsSdvRyA1iz5Rlo8GGPqCfh6mwc8Bbj4RZsY4bY kLLK/hM8QIfr1NaRPKNaGBhWvkWjAOvvnW+6ZdGcER2/U05pNkMza0tpxgTvYvMeyJw8 4TQs3jNuSBaU1cybftmjzr7K9zpHydFafAQdVmbg3TlPR1ZSt9quWD60T04kRbG+5ETk AQ7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=rSoewRR38QIQydGZGgTrVTyQgt7rVoI0gP5fTdr/UNA=; fh=iZf1vTBZ5VczsUrUIrYI77ir++QNFHhAicTrUOkSxAs=; b=uOUvgfTQpRIe/yzb9gAsB1SfjIwI+7zvpNYPpnc51Lt+jdvvWg0han74/lpwcR0OeN 6reAVTkhEHLHKptJvmBQSTUv3+YnbJx9RsKyNKa2drCtccPc6gUPj9NA5pxHbf1iwsY3 U5Pnutt5C06D2YdogWWQpdglL6vudSSiF1gMCM5LcbG4zoUqztxwNV6+fxZP3htM5Mvq v/+tMMWAqU5AL5qLxfMXJeApagX07vMagdjv8NJJ+Kdb9+q1Hi/bi2Fre/aQc9obNpxr sIwAbbXa7p/GXuGKM0ttHgc8MkjrIdkrJmjDtRJAmNqwyNUvzDAuGJ87774f3Y8TbfKA kFeQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id h12-20020a05620a284c00b0076d96693153si6164260qkp.702.2023.09.04.02.09.05 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Sep 2023 02:09:05 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1qd5Z3-0004cU-Mc; Mon, 04 Sep 2023 05:08:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <SRS0=kZzc=EU=kaod.org=clg@ozlabs.org>) id 1qd5Yt-0003tt-Jj; Mon, 04 Sep 2023 05:08:00 -0400 Received: from gandalf.ozlabs.org ([150.107.74.76]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <SRS0=kZzc=EU=kaod.org=clg@ozlabs.org>) id 1qd5Yq-0003vx-Vv; Mon, 04 Sep 2023 05:07:59 -0400 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4RfN8B55hdz4wy1; Mon, 4 Sep 2023 19:07:54 +1000 (AEST) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4RfN8846VKz4wy9; Mon, 4 Sep 2023 19:07:52 +1000 (AEST) From: =?utf-8?q?C=C3=A9dric_Le_Goater?= <clg@kaod.org> To: qemu-ppc@nongnu.org, qemu-devel@nongnu.org Cc: Daniel Henrique Barboza <danielhb413@gmail.com>, Richard Henderson <richard.henderson@linaro.org>, Nicholas Piggin <npiggin@gmail.com>, =?utf-8?q?C=C3=A9dric_Le_Goater?= <clg@kaod.org> Subject: [PULL 29/35] target/ppc: Flush inputs to zero with NJ in ppc_store_vscr Date: Mon, 4 Sep 2023 11:06:24 +0200 Message-ID: <20230904090630.725952-30-clg@kaod.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230904090630.725952-1-clg@kaod.org> References: <20230904090630.725952-1-clg@kaod.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=150.107.74.76; envelope-from=SRS0=kZzc=EU=kaod.org=clg@ozlabs.org; helo=gandalf.ozlabs.org X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 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> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
None
|
expand
|
diff --git a/target/ppc/cpu.c b/target/ppc/cpu.c index 62e1c15e3d33..e3ad8e0c27f6 100644 --- a/target/ppc/cpu.c +++ b/target/ppc/cpu.c @@ -59,6 +59,7 @@ void ppc_store_vscr(CPUPPCState *env, uint32_t vscr) env->vscr_sat.u64[0] = vscr & (1u << VSCR_SAT); env->vscr_sat.u64[1] = 0; set_flush_to_zero((vscr >> VSCR_NJ) & 1, &env->vec_status); + set_flush_inputs_to_zero((vscr >> VSCR_NJ) & 1, &env->vec_status); } uint32_t ppc_get_vscr(CPUPPCState *env)