From nobody Mon Nov 25 13:51:41 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1715025373; cv=none; d=zohomail.com; s=zohoarc; b=lppymxsHSFyllzVFhZ6LXe/bTM3Aagr5Dr4o1pAQ5vl3a5RXowMR3A8RvExoyJqIiXG/+hzavWdFWktMOzQ8M2Ty8NDT2OT5SaENXlULsHWPtLARGxZSIxEgz2hmtoE50orObAKWkQboDIgsyJDz3N9R2ycvo3v4eKQ7MdI6AdQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1715025373; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=gCKDBZgmkxkw60aZ1JTPBVFXSTJpz/Y7AMgu8NmXySI=; b=ObdtpyTXAE24ZOXeDOv0jgsLNkEu8J6z4kIddBKGOuuYdyu4s1vNZfdP40hVHT8hIdue2h63gWMYEe8JhpLrod5ZJj5sy2FsnmS7TKI+hEX+5y3RvrTajgrp/pBTjY70yjBEOR7NiVhOPwS8vuu4ggpVkvZZScqpum/9uChtJfw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1715025373693564.7376172545559; Mon, 6 May 2024 12:56:13 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s44Qe-00074c-BZ; Mon, 06 May 2024 15:55:16 -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 1s44Qc-00073Z-4u for qemu-devel@nongnu.org; Mon, 06 May 2024 15:55:14 -0400 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s44QY-0002xt-Tl for qemu-devel@nongnu.org; Mon, 06 May 2024 15:55:12 -0400 Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1eb24e3a2d9so22743555ad.1 for ; Mon, 06 May 2024 12:55:09 -0700 (PDT) Received: from stoup.. (174-21-72-5.tukw.qwest.net. [174.21.72.5]) by smtp.gmail.com with ESMTPSA id z14-20020a170903018e00b001ecb2179da6sm8638576plg.56.2024.05.06.12.55.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 12:55:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715025308; x=1715630108; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=gCKDBZgmkxkw60aZ1JTPBVFXSTJpz/Y7AMgu8NmXySI=; b=nDhqmwT/LkzTo94CTnAFhjCQ9BGoPSgpaqYgSR4Sdbo5S0evYDt2x/yeYZVQ6LVX+X kYnTPmYNZpfNd1riFXNshi9/EdDqT6ApTDhh8w81UFSfTunIuy/PS5BQxSm0fNmDKcUP z0B+UNOQi4ZziBIYCrXCRSoBFbYe7j2Fh5RKmkvIiIipJLGE382eXXrA0Q/aA4yBpdD2 2ARHVLHP2bAPSL4giiGVeXsrNIllIb3516I/5ygQsseORWNwIZIEf/Q8yLelkluiZEdh UOoh3oNTjU+DBfIzqCOftMI6rm9hHu15DDnguEh2g4PTw7QZ6XXbED8ygY8Y9wK5krHx EPIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715025308; x=1715630108; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gCKDBZgmkxkw60aZ1JTPBVFXSTJpz/Y7AMgu8NmXySI=; b=bJ/9rZX9AQkhEr69RAMUKxjCUB9FygAA2EwYY9xV3i/uLqmRKwqkumvwVC/M+H93Lk ev5nJSwfujKPnssn3OJRLM0c3NglpfSufxV2OrUMXtIk7Ujc7eRLUNSpaINg2pWa6HzA 7+56MtfkWPiWNC5n1Tu4LZlb5QKPi1pM9+4Xcj2sh+udZ7F4fI0KEQH1F/ggE/Xk7NxG LeKwDPXVfKgcTJiYWx7REKQyVrJ3miXJIC8lkuGD8oCdwxiz8MTgVfltLZJ5qSdQ24kx 16T8LagfuN4T4XenQa5/i7SZbRqi/30RhC7VaSgMgv5on2PfQPPpWaYqijpKHf7U5gfU IVXg== X-Gm-Message-State: AOJu0YxLy8vfPD/4DzW6IQhU7rK+yijyt9IEDrSpW5kg5V9QyrVZEKtZ NKRQigpe6uxoE2UQYyBY/54GMoWkBVlPFHZlYKXUu28lDiwP3srFzrGmE9GMduIn8BUbJWF+Nub Q X-Google-Smtp-Source: AGHT+IFLZnDVSNAUVfQwOw4MgWtpvtQ14ixh23bJhlDl9/6I6GaVjvZHk4di37fMp4X4cuKC7QxFOQ== X-Received: by 2002:a17:902:d2cd:b0:1e3:e1d5:c680 with SMTP id n13-20020a170902d2cd00b001e3e1d5c680mr15821044plc.63.1715025308341; Mon, 06 May 2024 12:55:08 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: ysato@users.sourceforge.jp Subject: [PATCH] target/sh4: Update DisasContextBase.insn_start Date: Mon, 6 May 2024 12:55:06 -0700 Message-Id: <20240506195506.385921-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::62b; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62b.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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1715025375936100003 Content-Type: text/plain; charset="utf-8" Match the extra inserts of INDEX_op_insn_start, fixing the db->num_insns !=3D 1 assert in translator_loop. Fixes: dcd092a0636 ("accel/tcg: Improve can_do_io management") Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Yoshinori Sato --- target/sh4/translate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/sh4/translate.c b/target/sh4/translate.c index e599ab9d1a..b3282f3ac7 100644 --- a/target/sh4/translate.c +++ b/target/sh4/translate.c @@ -2189,6 +2189,7 @@ static void decode_gusa(DisasContext *ctx, CPUSH4Stat= e *env) */ for (i =3D 1; i < max_insns; ++i) { tcg_gen_insn_start(pc + i * 2, ctx->envflags); + ctx->base.insn_start =3D tcg_last_op(); } } #endif --=20 2.34.1