From patchwork Wed May 15 07:52:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 796882 Delivered-To: patch@linaro.org Received: by 2002:a5d:452e:0:b0:34e:ceec:bfcd with SMTP id j14csp2853927wra; Wed, 15 May 2024 00:54:55 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVdhcttRbMauuU9nwtc8KqbgsHCJLGEpt1xM62LwERUv7NvIgqnoEnWkxSN70QTKBrnVm5WwPTi60kTFE70ado3 X-Google-Smtp-Source: AGHT+IElT6roKCarHFGHzFzJDTXzCuJqM5xFxTDw8bMVyG5RlYpSvZxAKJCTTyV7R3YyTQStpDNg X-Received: by 2002:a05:6214:5789:b0:6a0:b905:97b0 with SMTP id 6a1803df08f44-6a16820d12fmr192976436d6.39.1715759694971; Wed, 15 May 2024 00:54:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1715759694; cv=none; d=google.com; s=arc-20160816; b=DH3Ke6Z8c61WANmnbJ/FxQFF9xWdiaFpHDLufwI/UUdFT0SCJwnKedpSkaqvFKTydc xwAp5H6m5LJ8/xIfwmojv2PUd5UICKE5Fpt8O7v2Mak8/UvtwbyTjxsJlNCOTGP7PPLE 7EP017SHEaxUEgMdzYwHq53VHkZh3qIp5e4S9PEBArl0ASHfmp4nV9M3vJNaeGAQoHjF X9lIEe66/Wmia+udeQbPBF8m108qCzw1GP1vK4BLhP4tJsDOXU2KgJ0eNL0wPhUAU0As 0UOEZ7ugtELfJbntYiIrXI7GsVkjRIfRunEKaADkxYNF9aPBFnJ/6XNvwnG74539p6Kx esxg== 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=43VCEYELAxrkckI6OKg065TP0NGfyWvRiJUBmPu7X2I=; fh=kQadAhxV42GJ3cd2VUw1RyURv/zJQGvmUdF7iLEVTtc=; b=qIQqtdJwRmBFPXe2PNQDj2922rLoz+eg4zM66LtlFyMW0E6saG8kyVOjM4Xl5JWurC Jc/SxyAjTMcKwVNu6k8wm/uEI0max3UJrsdsbtvLvShtzTgIJR7D3kNfXXpuONKDqVW1 d7MkpZFgbI2j5ObKdfpO3o123LGBxsWJ8CRvLdSBshTon4nTCJyJZCQFU1X94GF9riLj NRFm8znDY71bM9o1iFaYmsOmffYm/pMf3JUgEjUTeLqdcfdKv8iFh+TzL2s2NihtLcB6 +zlFhIwrbIiHVaWVhPIC92pOS4mRa6Opgzv2hnWMabzUokf8XaDDHCf+hVQg9rnsDHm0 O7lQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CfItn7JY; 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 6a1803df08f44-6a15f29aa04si133986706d6.233.2024.05.15.00.54.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 15 May 2024 00:54:54 -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=CfItn7JY; 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 1s79SE-0005A2-OD; Wed, 15 May 2024 03:53: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 1s79Rz-0004eN-RX for qemu-devel@nongnu.org; Wed, 15 May 2024 03:53:23 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s79Rh-0001c3-7n for qemu-devel@nongnu.org; Wed, 15 May 2024 03:53:21 -0400 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-420104e5390so38425355e9.1 for ; Wed, 15 May 2024 00:53:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715759583; x=1716364383; 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=43VCEYELAxrkckI6OKg065TP0NGfyWvRiJUBmPu7X2I=; b=CfItn7JY1qh78aeiNtG/V9EYg7a+CCwaHLgOxZwCd2AlP38JH2J/nnqlTszZI0bqgM xH4vdTB2PIgHN/8Qma1r3reeByT/1GdG4F676hPCKNxtdnw1fr+NJ+bUW6zAPp37ymXG KKpvrgo33nizWO7BdevC/VSit5rJGZeI2lOM9LUpJAImQL+UkPiqG2P2OZydZcD6NM0R fmXMFjcXe7mu06xo59qaic0nvaJoxOZUCh73CBTcWEPt1X1f+ZpDJ5LBY0/x+mc1VF5t On+CNCYPxKDVAiurwCJ6Y1bKh+qoAwPbD7tTFeAFETa6R3w7FJPo2UTo02fOcyocuS6w rFbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715759583; x=1716364383; 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=43VCEYELAxrkckI6OKg065TP0NGfyWvRiJUBmPu7X2I=; b=SpJdaLaqD1d8KRO1mm1ELAV/CZe9ieZzbxk6DUCAr0PQRrvtfZCTrdhp8J7eljR5QY Yr4zIJza8vJpzx0TdbVZngjVbCqmo5q1WfruVmQyWHFA1UUiyOopL86gB3bmcnwxwLJZ wkOBtlkf6HUrQZlqbIaDX3zc3mJHdgx6FLYQLyNkAt3ZiCwUt8gD06TWbw47oqB/nNlY QlKuuz7isQCaXuhshhKb0+XMYCeS8ZTLhkfykN8YkUi2KtMzUEZlNeaiO/26eOEUT8Bu 70fdINySAq/l64V/7aebUX3u6Z/mnxFzYUnCNCBfxs/tnQwKtIWkZlcbHcURLTzZpmzL RQjw== X-Gm-Message-State: AOJu0Yxm6bAnmriHetaAwXhhuyoDJwC2ga1K5RcYC3Yq8Qywb/q4S3u7 JrvHPnjI+voboAqyHnbvOKADW2Ak3zctAXbxbZT4TSwlb7/vAk4qVbZWsrQ6LJ4QzTWTBTEyh2s 7Mfo= X-Received: by 2002:a05:600c:4707:b0:41b:edf4:4071 with SMTP id 5b1f17b1804b1-41fead64731mr137083725e9.35.1715759583648; Wed, 15 May 2024 00:53:03 -0700 (PDT) Received: from stoup.. ([149.14.240.163]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41fccee9292sm222611855e9.37.2024.05.15.00.53.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 00:53:03 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PULL 22/34] target/s390x: Disassemble EXECUTEd instructions Date: Wed, 15 May 2024 09:52:35 +0200 Message-Id: <20240515075247.68024-23-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::32f; envelope-from=richard.henderson@linaro.org; helo=mail-wm1-x32f.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: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- target/s390x/tcg/translate.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/target/s390x/tcg/translate.c b/target/s390x/tcg/translate.c index 95d4d6ebc3..bac033c63c 100644 --- a/target/s390x/tcg/translate.c +++ b/target/s390x/tcg/translate.c @@ -6525,8 +6525,9 @@ static bool s390x_tr_disas_log(const DisasContextBase *dcbase, DisasContext *dc = container_of(dcbase, DisasContext, base); if (unlikely(dc->ex_value)) { - /* ??? Unfortunately target_disas can't use host memory. */ - fprintf(logfile, "IN: EXECUTE %016" PRIx64, dc->ex_value); + /* The ex_value has been recorded with translator_fake_ld. */ + fprintf(logfile, "IN: EXECUTE\n"); + target_disas(logfile, cs, &dc->base); return true; } return false;