Message ID | 20210710153143.1320521-20-richard.henderson@linaro.org |
---|---|
State | Accepted |
Commit | 725930c2a57d37f925b9b28f1655961a231f7d20 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp1368550jao; Sat, 10 Jul 2021 08:44:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzFreNseLu9+mP/GBQ8PiTOKaXFFkthlM16x4IuI4p+auAV6OJ4/nYRKx2sADUHSiQ0T/Le X-Received: by 2002:a37:aa96:: with SMTP id t144mr14997779qke.451.1625931850539; Sat, 10 Jul 2021 08:44:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625931850; cv=none; d=google.com; s=arc-20160816; b=rzxDop7VcBaSjceIy86fCQ5eR7TgsF9BrQ48rrHP7M5Iqu/QojvlDcm3t1kXmcBqaQ 7rbfFhU1c0/SNtf9k0mrQVZRUQVKWaoyJLzuVKv0FS1yjZkcwx/ZWvLP/PnXL1OYEtkg dO25NyXrHC1+jzUjXE39G67tqo18QuZao8mLJrFBcc+9bY6x6JlcKKGn8DuAZyMDzvcX t7sVPr1vhOpY0kgSiUrsb2Oua9MKJcw85xAF5QYYZe3N2Si537nIU0aE6JWx624frifn 4It5WiqjbkvkOWYzNnJtqcrUpcIwUTfKesG6kWsM8D+KXFF4BKpUb5W+xjMc4yixR93d isbw== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=o9A9j6l/wX1G4+Ye4FYMb+DUZWuGQ1B3FFGlncSiSJM=; b=j6aecFpCsIYTMU/0ZbAz2WcGYPUkOmWA1VxfkoqqpyUDE1CI6uNpVh7hMs9HznIR/j AuITKjiPTUhPQMXr+AVrD1KFqrlN9+I9ik1UdG0a2qW9Hb7Y82tyKUbhQolWaHRMT1U7 UA5lZQqL+vqQTXj0uHv47HcZh/LmI7x2TEg5lzalOVia1GdDD4MyEE+frCFzSWoRfTNs 5Ap2CUhueR1EKPf2Bir0jtRQg5e3ncXFeOlyD4NxI8u2iXBuKh3LarxSJsh4zmxlHu47 pHAhMrfuCNZ6vJ0o+Fb7qmYgMp2Z+dp6/9LVZsEf4T3DqLYkWi/OY3KOtgCImU6Lglff 3pmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jVPkH4TM; 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 a5si8837743qke.278.2021.07.10.08.44.10 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 10 Jul 2021 08:44:10 -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=jVPkH4TM; 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]:59666 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 1m2F9F-0005aT-UZ for patch@linaro.org; Sat, 10 Jul 2021 11:44:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58770) 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 1m2ExW-0005d3-FW for qemu-devel@nongnu.org; Sat, 10 Jul 2021 11:32:02 -0400 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]:33528) 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 1m2ExT-0002L0-EO for qemu-devel@nongnu.org; Sat, 10 Jul 2021 11:32:02 -0400 Received: by mail-pl1-x630.google.com with SMTP id d1so1426772plg.0 for <qemu-devel@nongnu.org>; Sat, 10 Jul 2021 08:31:59 -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 :mime-version:content-transfer-encoding; bh=o9A9j6l/wX1G4+Ye4FYMb+DUZWuGQ1B3FFGlncSiSJM=; b=jVPkH4TM9bGxmXZGnooq9FIUvwkK6gD5WpJaufSouLTElI1T7g5DLCEcjId5ASsI2o UvZC5Pe/tcXf53nz8e/70eDeGbWJstnBLnrWkJ2WtOSYGz9KNLtYZO+NjTSdGlJWN1WA IjQcj9wbY5ud7BFpoaZELzgnHraOBDbvcpyEWYvgbeFcCXQJDiXpito2b/2DPMRRbXoI PgeBbVL4y6C5iIz/c+Q26Vs/iuHC1webs9qmmjRmiT7zlIlC4cK+v/43nza7B7ZRyvk4 6aI8L9LY9kTyoZN+36Ly4agJqbgevUNI2zxp8MsFXCr5csBcksPqy31Kgs3nbbv2Gm6Z 0ROA== 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=o9A9j6l/wX1G4+Ye4FYMb+DUZWuGQ1B3FFGlncSiSJM=; b=by34XcLKoG+zpVMU+qQ8OUkyAZ6CKx2twAqpgwVN0j7shEecq6mwzHIW463pdAA6fu 5TneJeXaiBfunrJ6LOOE/AWLnXjbpYQHByJ63tst21OvCpv0o72dVmkJPcWSOd05UNPO uGRzrY4lt/OSMN096KJLEN+g4+0pvJrnooMi8rC7Zc8TO3jS3GmOpEQHiHXYZ+K/sGd6 skjpSzMl686qO7g+MgZnDouBHImsCcOZbEBAG/sUhRXjsm3/X3Fu0Nn45MOeKLJFzA6K suszPsoWkYObVHfqMcRg+hKKUvPIxtnDbnGi8LVrbsybJZAOzAI98U/wvE8mZYTuJxDw tr1g== X-Gm-Message-State: AOAM5328Dq9zrJlW3ktnSyJ56fRVGoZrWmEzhEd/CtRkm2D8/OrukU4n p1OXJMQflmTAhisbp5h3dQZEEtJOVp+GSA== X-Received: by 2002:a17:902:9a8c:b029:113:d891:2eaf with SMTP id w12-20020a1709029a8cb0290113d8912eafmr35874381plp.61.1625931118030; Sat, 10 Jul 2021 08:31:58 -0700 (PDT) Received: from localhost.localdomain ([71.212.149.176]) by smtp.gmail.com with ESMTPSA id u23sm11975374pgk.38.2021.07.10.08.31.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Jul 2021 08:31:57 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH 19/41] target/microblaze: Use translator_use_goto_tb Date: Sat, 10 Jul 2021 08:31:21 -0700 Message-Id: <20210710153143.1320521-20-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210710153143.1320521-1-richard.henderson@linaro.org> References: <20210710153143.1320521-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::630; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x630.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> Cc: Peter Maydell <peter.maydell@linaro.org> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
tcg patch queue
|
expand
|
diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c index 5dfb08d49f..c68a84a219 100644 --- a/target/microblaze/translate.c +++ b/target/microblaze/translate.c @@ -124,15 +124,6 @@ static void gen_raise_hw_excp(DisasContext *dc, uint32_t esr_ec) gen_raise_exception_sync(dc, EXCP_HW_EXCP); } -static inline bool use_goto_tb(DisasContext *dc, target_ulong dest) -{ -#ifndef CONFIG_USER_ONLY - return (dc->base.pc_first & TARGET_PAGE_MASK) == (dest & TARGET_PAGE_MASK); -#else - return true; -#endif -} - static void gen_goto_tb(DisasContext *dc, int n, target_ulong dest) { if (dc->base.singlestep_enabled) { @@ -140,7 +131,7 @@ static void gen_goto_tb(DisasContext *dc, int n, target_ulong dest) tcg_gen_movi_i32(cpu_pc, dest); gen_helper_raise_exception(cpu_env, tmp); tcg_temp_free_i32(tmp); - } else if (use_goto_tb(dc, dest)) { + } else if (translator_use_goto_tb(&dc->base, dest)) { tcg_gen_goto_tb(n); tcg_gen_movi_i32(cpu_pc, dest); tcg_gen_exit_tb(dc->base.tb, n);