From patchwork Wed Apr 24 23:31:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 791584 Delivered-To: patch@linaro.org Received: by 2002:a5d:4884:0:b0:346:15ad:a2a with SMTP id g4csp1106250wrq; Wed, 24 Apr 2024 16:32:54 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCURGTIq5dhlTdZsqfWVGru+5MOvlXu1/cJbGm3JoI6Fb9YMI3VfX1EvrVaskranYL4VonEEidjnmZcPEVWtyYHB X-Google-Smtp-Source: AGHT+IFFDdO36jaWIA4I8Dxp2lcOREzhFv69xbr13lRYdvSQjhNuyh9QtRRJqus8imc4RXX98TjP X-Received: by 2002:a05:6902:102f:b0:dcb:be59:25e1 with SMTP id x15-20020a056902102f00b00dcbbe5925e1mr5107665ybt.30.1714001574420; Wed, 24 Apr 2024 16:32:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1714001574; cv=none; d=google.com; s=arc-20160816; b=r2WS4xsnExE7m3u1fZ0Q0Bk7OlFR0JGgsN+nwqIGsWJ6LbMjMK/JpYZwluiK3whOOq AnIk9j7yV+WrV/CYspa+PqzPktgW7OO+yXLUCbTnmcqIWxKSkZxk5nLrpTRPcK/DXd8V CuueAi8Gm6bArtijRySEiSMK/bv4s+PsoofV2M3zltaEjekw67szFUl4ojI46SIyBhuH I0lq3qR5LRTNCuollsyQS3pKRWoTmUP6Gq8YDyn4awnEpGSpuCOoUsGGlnjHWvPVOpNp iDlhai3BeLmVff/zcc0SXaDe4HlpGxx/iLbCljectXXyoRVKmj5I7tX0vrVNKkw3UiHL vLOQ== 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:to:from :dkim-signature; bh=Bxp3OWyJKaOKfrMeAe4PH0dSXcFDE//yn/aSHHr1IuQ=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=DzN85tSoMv88mAHW1tly/PqfQ6O4pzN5NfA6ZTIGOYv53xZUY36cWzdChPqwgB+FPl zWT74YPMGCDaQGZdrgCcCG2hvVWmF1NU06GSLIr/vnX64AAuWbzvvIuveIM13kwHSXMV lcRdN1JkeI1M9y/xSMobuYLil6w1w5OAsMTXD+waU4FVKm6O7ybTlHKYJcOQXwxHJCv8 wevvi8qKxQqKMkkSgRI050YrFhE4gMHpkH81oI1oH6gPLkMKTYBooKE9M44p1lQVioWT x0ram/WY2EK6KRg04yDvmCcYacVYD9759Xz/d/ypD6IzDyQ0+9n2ER67mBqj+VDqgy9E IK0Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lQQ59a17; 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 gi4-20020a056214248400b00699361cbd68si16684208qvb.256.2024.04.24.16.32.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Apr 2024 16:32: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=lQQ59a17; 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 1rzm5l-0005xV-Kq; Wed, 24 Apr 2024 19:31:57 -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 1rzm5j-0005vx-4d for qemu-devel@nongnu.org; Wed, 24 Apr 2024 19:31:55 -0400 Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rzm5h-0003bM-NI for qemu-devel@nongnu.org; Wed, 24 Apr 2024 19:31:54 -0400 Received: by mail-pg1-x532.google.com with SMTP id 41be03b00d2f7-5f7a42bf0adso313631a12.1 for ; Wed, 24 Apr 2024 16:31:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714001512; x=1714606312; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Bxp3OWyJKaOKfrMeAe4PH0dSXcFDE//yn/aSHHr1IuQ=; b=lQQ59a17K3yTU7GmpQcoczfsqlrUP5c0vbLzlb45iCfrmAUXSXG81W1RcqddnHwvCV cmfJDhuMjVQsH0EkkCr8xVCGps996FJecoz1hVLqMwR/seNNV9NET5uPMKQRBZ1zVwqC w51eNQ27cF5kvtMQqtqjtr+2seYQtZIgzX1Eum5zmNeFoD0VCbyG3IAoISo9f1XhJrKu 4GqdSdMGSDsX1F5k6btgyEB3cEbIxVf6rw0l5K4oDJ7Vt8+6AUbnFF3VJsJhUw+CJxzu O/Q173sDJvLNJBlY9D9KR7hliYfuWUY3iHkN+RiIH2yne3IZ3bJ1jVQCqKxLJh/uP5k0 uVWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714001512; x=1714606312; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Bxp3OWyJKaOKfrMeAe4PH0dSXcFDE//yn/aSHHr1IuQ=; b=YzVQeYTYGbleIUm52dIubBVlVJXgcvAobC8AK7J9w7QVbNiH0HbGsx3+0I9aDOZ0Wm uRTrsz8ONEwOPgwdb2zem28xcQF+swCQvSzhXzvJIKuFdE0PsvB0/UYIrufo+5kuNi4x EGj/FxkHWnyle4x8Qw1zXqn20yuqti+v6K86y7/dpT0qVB6D8N78H8nVDLlt1BYoxENl LBHYWO7/iZPkNDt+LLjd+TdBjBKLATMDDugwPq5hP8jp40+Ub5tAU72k6scZNrTD6IwZ Kq7Vc9HW/PeAVMwPCe9uJ8NtL3OxTaZdrye/rs3cHoUwS+YOaOn94GJszxdPDPE7LRgU w8/Q== X-Gm-Message-State: AOJu0YyvGSwPB6ph1RC8ZEYSXkUPEmdlI8iPoyawbqswM/hsJAudCg0v RSa/y3EVoTR+lVvcLrcc93XYHvUohlO5ibl3XQSbCNGXifH3d9Gdx04woE71+kKnSKFoRL5aAqZ A X-Received: by 2002:a17:90a:4b4c:b0:2ae:c098:7d79 with SMTP id o12-20020a17090a4b4c00b002aec0987d79mr3729264pjl.21.1714001512385; Wed, 24 Apr 2024 16:31:52 -0700 (PDT) Received: from stoup.. ([156.19.246.23]) by smtp.gmail.com with ESMTPSA id z24-20020a17090abd9800b002a56b3931dfsm11737859pjr.49.2024.04.24.16.31.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 16:31:52 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 22/33] target/s390x: Disassemble EXECUTEd instructions Date: Wed, 24 Apr 2024 16:31:20 -0700 Message-Id: <20240424233131.988727-23-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240424233131.988727-1-richard.henderson@linaro.org> References: <20240424233131.988727-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::532; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x532.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 Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé --- 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;