From patchwork Wed May 15 07:52:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 796877 Delivered-To: patch@linaro.org Received: by 2002:a5d:452e:0:b0:34e:ceec:bfcd with SMTP id j14csp2853667wra; Wed, 15 May 2024 00:54:05 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX1iIxZEtB3GWKavpaaQ6k48sxUu1ixqa107VpWGjRv6b6yLVlnu/qAgld86weCfmkmzfx9p6hCF7oFXSB3lSKx X-Google-Smtp-Source: AGHT+IFgKGBap6QiT+bv3p01Mk1dZKtGhtHypPY2tZ6Jke9poVcYifbhQF6rZSsNdF9tIkTBx8xG X-Received: by 2002:a25:2e0b:0:b0:dcf:3ef5:4d30 with SMTP id 3f1490d57ef6-dee4f2c71dfmr13741913276.17.1715759644763; Wed, 15 May 2024 00:54:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1715759644; cv=none; d=google.com; s=arc-20160816; b=aiqWWRVry3fp9qEiKt2d4jX6tP7skiKHP9no2GqQawfku8nvwf19mhsBIkHf+70x8F uHCHllSs0AlniOZTPll08zH09Wvxest9L8HZ8GMEITMu00YSSXomWpfQ5NGfUdTlnXd/ 6Yt0poOpc6Oc35YvVoVDyOqo24hGB9AZuHb6WoRvCyxn9rhVrg0XzeV3q7c/oz1krCas xSdPvgv2RTrtNvTt5r+TA0YR2EPIFiMW310QrZ50ecpLe9Zi4quliMiKdavG/39pKLff q91FuiBDDPTVsZUjw3E5U4wkmqOus6xUq72hoctZZyv7Riw5F7gNcolJE72i1QliiI0M lV9A== 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=Buz2rJGX38jbC3oBTd0wt7g7ce1h+CXiegaHhEfcdIs=; fh=yIXiVAD5FpZIeFc+c4tpRY/5DBPhgcMqmQf6hSviIlk=; b=yRGzPeoWBULFI5iQvq7oMEl6k/kpqwHC7LGZYdp/Lcj0U43PKQoYETpB2OomB1kYzG EVPHpdgBRfMQbBX2zW78oAVHKprl7quSHluPPwGleVi4RkbCPQliaRoBsL524FhEOeo+ Qzz//5CIPVoiGbObRwOe20a0JYGFW71wbXzCCiJP3Gu/kiDlGNA1mP0pA7oLyUyvfcAY fq138EkypA26ZVINITVEVsSBMnOZo0Gki13Q0hZ7ip9ZYlGp+USdISWVE64Ahyd1InS1 lxl21VGqDb0pTv8WYBWyyr9hBx8rfB+sJHCLkE7K4VJgtHcPZ7o54QWmVX5oHl3jSAY6 wEfQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fi+UYFtR; 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 af79cd13be357-792bf297280si1335688785a.170.2024.05.15.00.54.04 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 15 May 2024 00:54:04 -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=fi+UYFtR; 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 1s79S8-0004zC-Vk; Wed, 15 May 2024 03:53:33 -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 1s79S2-0004fI-54 for qemu-devel@nongnu.org; Wed, 15 May 2024 03:53:27 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s79Rj-0001cY-F3 for qemu-devel@nongnu.org; Wed, 15 May 2024 03:53:24 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-420157ee56cso23482175e9.2 for ; Wed, 15 May 2024 00:53:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715759585; x=1716364385; 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=Buz2rJGX38jbC3oBTd0wt7g7ce1h+CXiegaHhEfcdIs=; b=fi+UYFtRn992lcx7VFcftWDW8cgUimkL+lkoLOFEoQESPB+8Mi/Op+dIifBH//yYTP 6WzUknvzYVEq2SC1aEUNJl8rolvEp2g7j8WIgSmwdJ91Zx6ZFRou5s7cYRVm+v/gJDzI kjz6fgXY2rGsAgGQpboaysbIvl8oxtC66gckGOmCp8MOCe67UnF2GMstUC3bEpDF3WYu KM8ABOYOV8xHgfGyp4lTh1sUvA/BjoBduec0kczWJcjpci/SWNEDfNvwQIWLCQbLkpL9 Uo3lTtzkU5u/SltG9RwPaJMx3ue4PogaMc3rK4GAmN2GeCoyZjIAwO/p9jDQlX/scYk9 gJHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715759585; x=1716364385; 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=Buz2rJGX38jbC3oBTd0wt7g7ce1h+CXiegaHhEfcdIs=; b=mA7b5SV4LD2MIogkJcxeZcz90a1S/9kAcVrE53oJQmww/JMSv/wpqHr4u7RZDDKNZW hgEYmrHQd3q6jVhyg83li9rHNTp5w2LdPWnq+xvfHwhLOAJi51DYDuJqGFNgcYtFSPj2 HAUwmTtNwm69IOpvYA4BPg1awk7Vx2/gjhM/4diid3T6trJe9+NI15NlYg+b4gyCDJKN EeYJWXNnPTgsLBQ38MLewXdRiBOMQ7eEl8johS8zP74LoodhMLwh0nKGrzFM/hLHMu3/ pYGoXBWzp3/WwWTWFb603D3YVJy6O5Fm7Id149Z6Hy6HIYJ/tBSM49X2QnJH2MkxFz2u 5AcQ== X-Gm-Message-State: AOJu0YxlAf7ZUx9NWq795ZZ2k9VTNfCQflcx3xteLwrjUjmYpK7BiltQ BKRotqgYCfym3Mbyh9s9m9a18jIRwrI2qIhENS+Jq8XUVXKta4DpfBi8210tERTXMkkS2ojzFdW 0i6w= X-Received: by 2002:a05:600c:3c85:b0:41a:1b3f:b465 with SMTP id 5b1f17b1804b1-41feac55fb9mr114327895e9.26.1715759584963; Wed, 15 May 2024 00:53:04 -0700 (PDT) Received: from stoup.. ([149.14.240.163]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41fccee9292sm222611855e9.37.2024.05.15.00.53.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 00:53:04 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: "Edgar E . Iglesias" , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= Subject: [PULL 24/34] target/microblaze: Use translator_ldl Date: Wed, 15 May 2024 09:52:37 +0200 Message-Id: <20240515075247.68024-25-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240515075247.68024-1-richard.henderson@linaro.org> References: <20240515075247.68024-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=richard.henderson@linaro.org; helo=mail-wm1-x333.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, 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 Reviewed-by: Edgar E. Iglesias Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- 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 9746a6d479..4beaf69e76 100644 --- a/target/microblaze/translate.c +++ b/target/microblaze/translate.c @@ -25,7 +25,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" @@ -1637,7 +1636,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); }