Message ID | 20240405102459.462551-27-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6000:1101:b0:343:f27d:c44e with SMTP id z1csp93288wrw; Fri, 5 Apr 2024 03:27:57 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUKWJqSrM+78v69p4F/G0ggM4TZSKq7s54QmC+twXUCwTZz+DzZFgdtkPck36Zy3QoGIbrPx+VxFyjP0r5Dbiny X-Google-Smtp-Source: AGHT+IGVRcQslflGz3feOylp9D73efpaGqQ1f6vzu8MIqJ1+ZTj7c4nUUUK2YWoF+vroEDEL4lgk X-Received: by 2002:a05:620a:5e0f:b0:78d:3b5c:70ae with SMTP id xz15-20020a05620a5e0f00b0078d3b5c70aemr1090711qkn.61.1712312877698; Fri, 05 Apr 2024 03:27:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1712312877; cv=none; d=google.com; s=arc-20160816; b=iVzsq0Vfv3gM4Qqv2R0JB3jjjKoKtUpzmgNz5pOfSV7uAFnxkvB3RJJw6KPzZFRu8w ZrHUdUxCufdfz5D14BxY3g0UB+Psh6qRkjMQNPiqmyYjcUdzM0mFKg39e6OJDJZFwUte b+YvBLwQxhFaFOmyx1qBcR6uGYBHAgJ4xdqi61f0MyHnoEplGSZqm/mSyLlA0HlT29Jv HLCjEy98MhEeCNoBIQisnxDIsCMLJRTo9QaSkUiphYxQSM9jBc3GBJcBPfrQPSbNq1Ck dlZPkKjh+NBe1AI6UghUYkQAgZCJIX5wm33RxsRZZCBY91m4xi/BXaXb/Kv76TwxFnkz J4UQ== 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:dkim-signature; bh=tA0b/fSj8XfUCrgQgUfiUA7OwpX6731DGB+eq9CuhnA=; fh=UWHPD0xBgQKCs3dgyo2BTdHMjmw88Vfu+HSRwwJh13c=; b=d+GTsPWnu9DRXLnbzO+nvPRuWzOWPU4tgvOwXRQNfisWrZnD+wdh/xI8jzaB1SJ//R ldbYKV3b09eMms1NhLIQJO+JAbsaR4lZ8IRZYb2KANxQSGNCTlhYyvVGf3xaG3AKPJe6 oYfYsbRr22D/N7RFBENOB9rP6w0mIhx8hsABLtY54i0eY3/Vt0ZoiwqlMYm8/c7/dlbc 1v4GQaTOyMXzFyGYaauEZVTEeqF0s3pyDn2vf4lZbPxQVw4ZI+J33IFNcMFTrsk35rnM LBaKUJ9mDR0kTJ922n200GMnvnYLbEi1FoGn7GH2BbL2N++/iEWqiKLD99FfclcaeTYZ avWQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TXzJT5mU; 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 g17-20020a05620a109100b0078a66ba4635si1406951qkk.169.2024.04.05.03.27.57 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Apr 2024 03:27:57 -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=TXzJT5mU; 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] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1rsglR-0006B0-K1; Fri, 05 Apr 2024 06:25:41 -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 <richard.henderson@linaro.org>) id 1rsglO-00068I-Ns for qemu-devel@nongnu.org; Fri, 05 Apr 2024 06:25:38 -0400 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) 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 1rsglN-0004oh-29 for qemu-devel@nongnu.org; Fri, 05 Apr 2024 06:25:38 -0400 Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-6e74bd85f26so1768847b3a.1 for <qemu-devel@nongnu.org>; Fri, 05 Apr 2024 03:25:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712312735; x=1712917535; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tA0b/fSj8XfUCrgQgUfiUA7OwpX6731DGB+eq9CuhnA=; b=TXzJT5mU1jTutnVstrqZgjKzyYKhxgeJKH1pQoOjGRst2PbiqcEYfIptSndSKHVYjb m/7YXp2qgsOx0PFm2i7P5/PHBnkgu/9ldRa2E9wW4VJfXPc0Z3853OH/Yq6gUWq6ZQhH npF+J/ucxhFa9hw3Jl4UKJDtmu1coKQ4P59ld+7OV7m6/Jij/unC09hq8ymY9QdkmANu Jm89VEG2XpVdKCeAUMAAVl3pk+xBk5hR/lb/Rwnh5i5vxlQEdjkBLgP2ou9GsZvPXXh4 9G3ZU0frR+pdhbne5SQPxutgE7PK2XtAEi+TjOEJRFfTxFovuEUj5wnupmnhkcbJG9i1 OxZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712312735; x=1712917535; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tA0b/fSj8XfUCrgQgUfiUA7OwpX6731DGB+eq9CuhnA=; b=ldKfToy62ODbHapaO/2shP/vK2pYlgkh/sDfENB9rMKzCn6Etw9CbEM14XVMGXLgKS weqitIORj6qXbFMRmSVJ3icVaHRe5PZwBjh7FJIV01F7P3AW161YpRxJUg0SvJGSCNqc 7+HpKSdXnYMblYs/hKz8RNHzZM1adyrMP8BnN8ThG7sC5xXUhCPkApM49Km1mLerUQ6z fBwi8HjSHGS/u4i5TfqB8qFDqkOnyJIPbsjpc1n0Kl1JKNqVYC1DpxdtuNx4z5P3RbMi /YF8Gy9/8VvtD6SIDtygnV38/4OrPxBMSvmpwYUem2g99MJT85WmHTVwxP2l/2cNYCYF 93Aw== X-Gm-Message-State: AOJu0YzT++ETQjdLTZg5u0a9eC2Blhh57HA5xH0aoIod1o6R5Jus2EQ+ wRlQtAtRYlz67wOMTpIQu1l+vbHf5Cz7dKImWUq/v/4aYuJgHHxHyY8HEtZAukDrCAlVMglDeFS 6 X-Received: by 2002:a05:6a00:23d1:b0:6ea:8e89:7faf with SMTP id g17-20020a056a0023d100b006ea8e897fafmr1086111pfc.28.1712312735300; Fri, 05 Apr 2024 03:25:35 -0700 (PDT) Received: from stoup.. (098-147-007-212.res.spectrum.com. [98.147.7.212]) by smtp.gmail.com with ESMTPSA id h10-20020a63f90a000000b005e438fe702dsm1104304pgi.65.2024.04.05.03.25.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 03:25:34 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: Michael Rolnik <mrolnik@gmail.com> Subject: [PATCH 26/32] target/avr: Use translator_ldl Date: Fri, 5 Apr 2024 00:24:53 -1000 Message-Id: <20240405102459.462551-27-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240405102459.462551-1-richard.henderson@linaro.org> References: <20240405102459.462551-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::436; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x436.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.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 |
accel/tcg: Improve disassembly for target and plugin
|
expand
|
On 5/4/24 12:24, Richard Henderson wrote: > Cc: Michael Rolnik <mrolnik@gmail.com> > Signed-off-by: Richard Henderson <richard.henderson@linaro.org> > --- > target/avr/translate.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
diff --git a/target/avr/translate.c b/target/avr/translate.c index 6df93d4c77..2d51892115 100644 --- a/target/avr/translate.c +++ b/target/avr/translate.c @@ -24,7 +24,6 @@ #include "cpu.h" #include "exec/exec-all.h" #include "tcg/tcg-op.h" -#include "exec/cpu_ldst.h" #include "exec/helper-proto.h" #include "exec/helper-gen.h" #include "exec/log.h" @@ -173,7 +172,7 @@ static int to_regs_00_30_by_two(DisasContext *ctx, int indx) static uint16_t next_word(DisasContext *ctx) { - return cpu_lduw_code(ctx->env, ctx->npc++ * 2); + return translator_lduw(ctx->env, &ctx->base, ctx->npc++ * 2); } static int append_16(DisasContext *ctx, int x)
Cc: Michael Rolnik <mrolnik@gmail.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- target/avr/translate.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)