From patchwork Fri Apr 5 10:24:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 786232 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:1101:b0:343:f27d:c44e with SMTP id z1csp93686wrw; Fri, 5 Apr 2024 03:29:18 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVgYJnsCnPO9DfhopG0pqODRZb2rrIqqdKN4wSINNjLqGuntIHYqA12MLO+TlxCJgPvPI6hSa6zvumQeuJQeb4V X-Google-Smtp-Source: AGHT+IEGAGIESlc7kSKezAHMCpU4GD4u4ARpcLWgitKxaoCCmptLh7FwFzQhC/ge24wINkPMFT76 X-Received: by 2002:ad4:5c4b:0:b0:696:5d0b:e0c5 with SMTP id a11-20020ad45c4b000000b006965d0be0c5mr1051311qva.16.1712312958226; Fri, 05 Apr 2024 03:29:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1712312958; cv=none; d=google.com; s=arc-20160816; b=aSVyad82HNsg2isl29AoK4+EXBEaGTbJXyvwlJGCTqouKVcPU8DpopGpmYAWa8gaIU tKXsPOXEZ9C6Olciw8qQP7R1f8WassTL8x/XmvhhJlPRBlqArd9ey125AaUJib/1005D PJUIoCpvmW4hGYIXovYXUFed8xyybU6JfG4ZLGvzhdH8e/ZDUhQSF95PD66x72wXq8Gt SOZC1GsweaZlVbDI970zUrW0t6ZDQXhbuFZEUZGLTWiCuZWEq6jOTEaWoDALt1DINo2O sIvIOFmqneIEjrwNWiobBi9wK1zeXlV9R3SxmHgaJLc4VgiY2j1XHBu41Oe7Q++udaoq i7QA== 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=CAOEMFBYb53UUAJdtrKHFH1TzVh5qJKo1U0lXRimkCs=; fh=+pZXDNwgfp85UCpwo3aKCBwyuvKcXy2soQ3D27FkgsI=; b=FKWD4f7Fd1m1bB419IkKSMLnM2XuFg/vImXFwiW1U6dmYHtX0kCXTI2ijO57UW6Qpk dr7qHoT1s16tdUCVqSWaQT9wzYuA2ee7uNeCtWiFkmWWJpj88s4lx7mmt6u+ImM9PavZ 2vLdxRmhEWx1VTGYezu8FQhNfV2l7ly7ZKtqK9rnjFdU0Jmq/dormFn+V3wYfTkwmLUZ l27CcpjJER8djvbRpxZdKZ/zXIGhY9XZVOnMNcZaYpBAvdp4zHMKXWFu3rbRnGR3Fy/R FuTJ/u3AXCJADOPGlzcej1b5BX0SnRb6Ocq7MeEmCRmRbEjrxdahQSczc/Crcg1uxowf jeRw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nwPZctgb; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id di9-20020ad458e9000000b0069943cb63f4si375240qvb.217.2024.04.05.03.29.18 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Apr 2024 03:29:18 -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=nwPZctgb; 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 ) id 1rsglO-00068D-Gz; Fri, 05 Apr 2024 06:25:38 -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 ) id 1rsglL-00066c-Hm for qemu-devel@nongnu.org; Fri, 05 Apr 2024 06:25:35 -0400 Received: from mail-oa1-x36.google.com ([2001:4860:4864:20::36]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rsglJ-0004nr-T6 for qemu-devel@nongnu.org; Fri, 05 Apr 2024 06:25:35 -0400 Received: by mail-oa1-x36.google.com with SMTP id 586e51a60fabf-22edcfcd187so111823fac.2 for ; Fri, 05 Apr 2024 03:25:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712312733; x=1712917533; 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=CAOEMFBYb53UUAJdtrKHFH1TzVh5qJKo1U0lXRimkCs=; b=nwPZctgbI5gBLeeHxhrhAnfHLsQ/BjlPVZqptuCi+ixXmrYy5uN7+eVbrKK55SkISf yKJbMcUTL9vKe3DtY3I7s04cXktQr5ZfPOW0Oq5Q1f8kMh2B8FD8zB6gGrOygr9RumK/ rALS3XU/lR0HKKuDjDkjjVyA52tsUlL+gBBaOPX4aKFLoGnrg8Wv0wVZwZLr3Jljfozs X4rFw8RQWInTMvo82xHNPJPVfUrC9d5rwIHWCppkjKYf5Bb92TIF8B844T79gXCio/4l k6/035JGJs/haMhhffhQMEPEljK77o+Qv7vabRgDgdyAytoElPVgCO+uSWGbRWXmI/Cw Eltg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712312733; x=1712917533; 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=CAOEMFBYb53UUAJdtrKHFH1TzVh5qJKo1U0lXRimkCs=; b=ZebwwOVX3E/cr9YIaLUCmUaoQRAZ6N9FFsiezROLxYRmsINw6XD9ycKEd8jIS/OBQp CFHq+zncYC/4jIKStUg9er76IHz1Wl3+4sAEBU0kYIqZZJoB2e8mxSaAxZee/9sIejwQ H1ueCZqiCS/MCXf6jw5cBct9o+3WH0k/wwrGD0hYXS8xQpbCl34dG9Me3HmbpgpFWWXJ hNvbaBWgVutP13Me0Jn75iCZTeOsgK6oT3QC5RiOblA4tE24MfI1fCEkL5hTZ2hdeh/L tPHH9W2MmOetU0vGIyUlEhxBTDJ/S889g26UXrCmwdcUacZvNogF3G4LPN+cMLb5hIwG utcQ== X-Gm-Message-State: AOJu0YxNU6QLvgTn7zchFzKPYJUdJVlM/5AHTsrGUJiF9j9PDwUUcJUY KOgGXBBecG/bC6NX3hBez4CXROEc5N3zzJmRIXWvW8KdBR/276Ob1b03s3fJuI6vf4cBSnp0eB8 N X-Received: by 2002:a05:6871:288b:b0:221:9157:b587 with SMTP id bq11-20020a056871288b00b002219157b587mr1120627oac.35.1712312732747; Fri, 05 Apr 2024 03:25:32 -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.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 03:25:32 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: "Edgar E . Iglesias" Subject: [PATCH 24/32] target/microblaze: Use translator_ldl Date: Fri, 5 Apr 2024 00:24:51 -1000 Message-Id: <20240405102459.462551-25-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 Received-SPF: pass client-ip=2001:4860:4864:20::36; envelope-from=richard.henderson@linaro.org; helo=mail-oa1-x36.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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Cc: Edgar E. Iglesias Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Edgar E. Iglesias --- target/microblaze/translate.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c index be3ff76f78..11d84bc514 100644 --- a/target/microblaze/translate.c +++ b/target/microblaze/translate.c @@ -24,7 +24,6 @@ #include "tcg/tcg-op.h" #include "exec/helper-proto.h" #include "exec/helper-gen.h" -#include "exec/cpu_ldst.h" #include "exec/translator.h" #include "qemu/qemu-print.h" @@ -1640,7 +1639,7 @@ static void mb_tr_translate_insn(DisasContextBase *dcb, CPUState *cs) dc->tb_flags_to_set = 0; - ir = cpu_ldl_code(cpu_env(cs), dc->base.pc_next); + ir = translator_ldl(cpu_env(cs), &dc->base, dc->base.pc_next); if (!decode(dc, ir)) { trap_illegal(dc, true); }