Message ID | 20210721064155.645508-12-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp5910349jao; Tue, 20 Jul 2021 23:54:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWqsB6qqg83N/Oxc0g7W6NmW7wphef19SKSN7cbNOKTjgOp6Rrzd3Kr0E154+ZKL+VBkbh X-Received: by 2002:a37:c12:: with SMTP id 18mr32920677qkm.414.1626850499724; Tue, 20 Jul 2021 23:54:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626850499; cv=none; d=google.com; s=arc-20160816; b=p3sYyC/j0Py/09iVEOm1WMucXsMHTJdygv56e2vt11kzURQxwVqv4CJT7X3WG2EQ+E FXFj1pU+Z6gvSkuxwu5cx6f1svZLDTCGkJKHBbix2A5afiUG7b8WBSoPvs531xFNiPjd zoTFXYaFuxC7G556h2OHacb/fsSPcRKaR+Qgfo6z7HyQ9VPGv+N8KdUrUyk06o1rNp75 f+iHOvpGZuRQM2jbYANdHT7bXHkNZVHOx89edcE3/w6TZBwoR7q560AUzvCogiudOjDt QuL4gn2ZAFG647oFg/aZv/6pjCoL71GA+qj41RPRjDAhyAdxd1h52Bv9egb2D1V7LZcE XiHQ== 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:to:from :dkim-signature; bh=R6dlxti+/N1vnkKixu8IUh/Zl8M8i7vv7yb2sO8QtGA=; b=LnsoDUU1A3pZag8R+Ia2QlgCaPbuosod7OrIn10A7m7X77MlhlZH5LIsKx3YoH1AqP U5IvhWoqhfsbERpSz78gOVIlAZyA3kl73QsvrogxSkWgZ3DOt1MZM3N7xOHHFfaPxbo2 4NN+1aNT3aP+hFyk6hHYCpKmwAmAOBHeLeWhZog3t6hCJB+GTevpJyvEGALG/moLySoj AZJARjML3s+CgJxVf4+xKyFjM+G6nZTMtbNuiTxEUO1tDMEgdFENUWS1Mxcxo6AlhlDL ztBqceG3T6mwEIViwt/EeUPy0K0C5TNFkf+Kt54D3Xs7415jwBi7YAVCq9A4UGtptN9/ vAXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BOALdA3f; 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"; dmarc=pass (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. [209.51.188.17]) by mx.google.com with ESMTPS id s8si17088976qkj.327.2021.07.20.23.54.59 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Jul 2021 23:54:59 -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; dkim=pass header.i=@linaro.org header.s=google header.b=BOALdA3f; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:48602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1m668B-0001IM-0r for patch@linaro.org; Wed, 21 Jul 2021 02:54:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1m65vo-0005AW-1P for qemu-devel@nongnu.org; Wed, 21 Jul 2021 02:42:12 -0400 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]:44564) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1m65vm-0005Wf-Iq for qemu-devel@nongnu.org; Wed, 21 Jul 2021 02:42:11 -0400 Received: by mail-pf1-x42f.google.com with SMTP id p36so1469124pfw.11 for <qemu-devel@nongnu.org>; Tue, 20 Jul 2021 23:42:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=R6dlxti+/N1vnkKixu8IUh/Zl8M8i7vv7yb2sO8QtGA=; b=BOALdA3f4TKska56I97TBbU7NVNb5c6vDuySWwK+y0FmaDdppdr9Si1W8XrhsvyXJa sda9v8+vZ3l/eEjNRmyzEEjF1aTZRWNvPSh09ATtZEXv2c41Y9Ily7XKsqFcPxYJ/qFZ j9PMmzhjwn1ExX/v/eltoeHw6jFePDdhCP9Lz3AE+2WmM6Ggu3eVGv+3FJOcnuTh4QBQ s3PrzLdmjJsn3dNnkQX0FxLx350fLQcMLCwJNQqUJ9AYQ1opEwHSf3xF9ikF5MdVLMsA WOqbcIOAqXOHlLNEwPBrDY/eXSu9Hw5IQSPBM6s2eNJRDY8p6SaHesdNnBdtVE7lwECk b++g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=R6dlxti+/N1vnkKixu8IUh/Zl8M8i7vv7yb2sO8QtGA=; b=c6sKeivKfkr9LJDe24id6VNL4DUHZvazOpRbKZ2h7X8PDBXZgsWep3gek8VrMk5q8Q 6tZRwKF5eHx/LEaiYcwczqgCoydZtmoDPGwVGDvuefI+FTW09AzHgkBfRYPc5Cut+R+5 e+kywJGrYkeX3xUyQMzk5m4LOq8jTUGfEGHxW0tXSZhX3GETIqXC2Cgry4Wys0TU/bx6 X84yELg7ukyiYDMHDIIriKK+FJcEUv09xjEchgKT5fPyv89M+VA+q0dViu8vOupXX8Zx wOvFsqlq0/MKfauVgkGkQ/MO1Nr78+jrHjVHn7chDYQXewyrva5bNoN5gS2oDdFGxuwY weWg== X-Gm-Message-State: AOAM530LTUDe53yJq4EV8q8qcuSy8vCS2qJkq0Tjc7rCf4ythtMx1esI UGKRRKOGWSUjOW+iWF+NZ0GA5aoCa6alWg== X-Received: by 2002:a62:7ac1:0:b029:329:77f5:8ffa with SMTP id v184-20020a627ac10000b029032977f58ffamr34871869pfc.36.1626849729325; Tue, 20 Jul 2021 23:42:09 -0700 (PDT) Received: from localhost.localdomain (204-210-126-223.res.spectrum.com. [204.210.126.223]) by smtp.gmail.com with ESMTPSA id q17sm21146132pjd.42.2021.07.20.23.42.08 for <qemu-devel@nongnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jul 2021 23:42:09 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH for-6.2 11/23] target/microblaze: Check CF_NO_GOTO_TB for DISAS_JUMP Date: Tue, 20 Jul 2021 20:41:43 -1000 Message-Id: <20210721064155.645508-12-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210721064155.645508-1-richard.henderson@linaro.org> References: <20210721064155.645508-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::42f; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
tcg: gdb singlestep reorg
|
expand
|
diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c index a14ffed784..7e465b629a 100644 --- a/target/microblaze/translate.c +++ b/target/microblaze/translate.c @@ -1779,7 +1779,7 @@ static void mb_tr_tb_stop(DisasContextBase *dcb, CPUState *cs) break; case DISAS_JUMP: - if (dc->jmp_dest != -1 && !cs->singlestep_enabled) { + if (dc->jmp_dest != -1 && !(tb_cflags(dc->base.tb) & CF_NO_GOTO_TB)) { /* Direct jump. */ tcg_gen_discard_i32(cpu_btarget); @@ -1804,7 +1804,7 @@ static void mb_tr_tb_stop(DisasContextBase *dcb, CPUState *cs) return; } - /* Indirect jump (or direct jump w/ singlestep) */ + /* Indirect jump (or direct jump w/ goto_tb disabled) */ tcg_gen_mov_i32(cpu_pc, cpu_btarget); tcg_gen_discard_i32(cpu_btarget);
We were using singlestep_enabled as a proxy for whether translator_use_goto_tb would always return false. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- target/microblaze/translate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.1