From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 01E9BC433EF for ; Tue, 19 Apr 2022 08:00:55 +0000 (UTC) Received: from localhost ([::1]:45242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngin9-00025P-1v for qemu-devel@archiver.kernel.org; Tue, 19 Apr 2022 04:00:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48140) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngiU6-0002wo-2q for qemu-devel@nongnu.org; Tue, 19 Apr 2022 03:41:14 -0400 Received: from mail03.asahi-net.or.jp ([202.224.55.15]:60730) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngiU0-0002m5-Dq for qemu-devel@nongnu.org; Tue, 19 Apr 2022 03:41:12 -0400 Received: from sakura.ysato.name (ik1-413-38519.vs.sakura.ne.jp [153.127.30.23]) (Authenticated sender: PQ4Y-STU) by mail03.asahi-net.or.jp (Postfix) with ESMTPA id 30F4E27136; Tue, 19 Apr 2022 16:41:02 +0900 (JST) Received: from SIOS1075.ysato.ml (ZM005235.ppp.dion.ne.jp [222.8.5.235]) by sakura.ysato.name (Postfix) with ESMTPSA id AEF7C1C0015; Tue, 19 Apr 2022 16:41:01 +0900 (JST) Date: Tue, 19 Apr 2022 16:40:59 +0900 Message-ID: <87k0blmsfo.wl-ysato@users.sourceforge.jp> From: Yoshinori Sato To: Richard Henderson Subject: Re: [PATCH 0/4] target/rx: Track PSW.U in tb->flags In-Reply-To: <20220417165130.695085-1-richard.henderson@linaro.org> References: <20220417165130.695085-1-richard.henderson@linaro.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Received-SPF: softfail client-ip=202.224.55.15; envelope-from=ysato@users.sourceforge.jp; helo=mail03.asahi-net.or.jp X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, T_SCC_BODY_TEXT_LINE=-0.01 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: i@yvt.jp, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Mon, 18 Apr 2022 01:51:26 +0900, Richard Henderson wrote: > > This is a follow up to Kawada-san's patch for the problem > of a missed update to the stack pointer in CLRPSW/SETPSW. > This fixes the problem without movcond by tracking the > current state of PSW.U within the TB. > > > r~ > > > Richard Henderson (4): > target/rx: Put tb_flags into DisasContext > target/rx: Store PSW.U in tb->flags > target/rx: Move DISAS_UPDATE check for write to PSW > target/rx: Swap stack pointers on clrpsw/setpsw instruction > > target/rx/cpu.h | 1 + > target/rx/translate.c | 67 +++++++++++++++++++++++-------------------- > 2 files changed, 37 insertions(+), 31 deletions(-) > > -- > 2.25.1 > Reviewed-by: Yoshinori Sato -- Yosinori Sato