Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 615FB606A321 for ; Thu, 12 Nov 2026 23:17:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=rev.ng header.i=@rev.ng header.a=rsa-sha256 header.s=dkim header.b=lSZ82CrO Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xRe2K-00076Z-Jv; Thu, 12 Nov 2026 18:16:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xRe2H-00075o-FR for qemu-devel@nongnu.org; Thu, 12 Nov 2026 18:16:53 -0500 Received: from rev.ng ([94.130.142.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xRe2F-0001Ta-Vy for qemu-devel@nongnu.org; Thu, 12 Nov 2026 18:16:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=rev.ng; s=dkim; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:Cc: To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive:List-Unsubscribe:List-Unsubscribe-Post: List-Help; bh=qoCgSaO2c6/uU6LtJjV6SDvzzogl0drgSHrTvbiriHE=; b=lSZ82CrOl4oD6aX P0b09UF7aSf7DIsalfuBmhl9L3gL7GgnAwIjMFnSVC5V223frWEcRfSgn138MVw4aDjzJKdglAVFe hmTd6iHxtzga+zCk15EdhDDc7AmAyerID09O9rH5XF/avmUmwG5SxDe1h2g7L0Gr6MH9pi3k/VppB Ls=; To: qemu-devel@nongnu.org Cc: ale@rev.ng, brian.cain@oss.qualcomm.com, marco.liebel@oss.qualcomm.com, Anton Johansson Subject: [PATCH v3 0/4] target/hexagon: Misc HLX fixes Date: Fri, 13 Nov 2026 00:20:28 +0100 Message-ID: <20261112232032.396-1-anjo@rev.ng> X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=94.130.142.21; envelope-from=anjo@rev.ng; helo=rev.ng 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_PASS=-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: qemu development List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Anton Johansson From: Anton Johansson via qemu development Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Hi, I was too slow on the review before the series got PRd, so I'll submit these preliminary fixes instead. Not included here is a fix for --disable-hexagon-idef-parser being broken with the new stub HMX helpers. Changes in v2: - Squashed tests into their respective fix patches (Marco) - Added missing file (Marco) Changes in v3: - named-parameter substitution for inline assembly tests (Brian) - Add Instruction::has_pair_dest to find all possible pair producers (Brian, Marco) - Move new-regno patching to the non-HLX path of decode_fill_newvalue_regno() to avoid incorrectly overwriting consumer registers (Marco) Anton Johansson (4): target/hexagon: HLX, preserve scalar :mem_noshuf ordering target/hexagon: HLX, search for .new values in pair high register target/hexagon: Forward return address to HLX load/store helpers linux-user/hexagon: Reset hlx_ctx pointer on cpu clone linux-user/hexagon/target_cpu.h | 1 + target/hexagon/hlx_helper.h | 19 ++++++++++++++++ target/hexagon/insn.h | 1 + target/hexagon/macros.h | 13 +++++++---- target/hexagon/decode.c | 29 +++++++++++++++++++----- target/hexagon/hlx_helper.c | 31 +++++++++++++++++-------- target/hexagon/translate.c | 7 +++--- tests/tcg/hexagon/hlx_assign_conv.c | 35 +++++++++++++++++++++++++++++ tests/tcg/hexagon/hlx_mem.c | 22 ++++++++++++++++++ target/hexagon/gen_trans_funcs.py | 5 +++++ target/hexagon/hex_common.py | 2 ++ 11 files changed, 143 insertions(+), 22 deletions(-) create mode 100644 target/hexagon/hlx_helper.h -- 2.52.0