From nobody Mon Mar 2 10:42:47 2026 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=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1772224700; cv=none; d=zohomail.com; s=zohoarc; b=JrdOZz/i8Zb/pGUbusmJe1mmID4TTutSjwtSDvuycJ+Ss/OaT9EQMe6whnTI3+SAq3u6GdhUlnM+kbtzYfFbQGnwpqovr3z/5j9OFH8k3TtGfQ7WSKxjehTgIhhlldFVnU4g9NabNfSPDpXBAMZI7FX3SJ4ltxaXNxydhnN7/m4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1772224700; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=Sc+77wZ/sf9ek0m639yFvgRDrEV2SKXcXMDFUgtX5RM=; b=VxjZk8L2Vj7tnuwgcu3UNj2sIVFCdLo7165jxFGN+aDkUCsFVDhG81x61oNhWdj01CvTmP6qP5kIL6Q++EKEVdDzq3LGWlSC7Nzr+4yt54uzcs2l6alRGZzs0BIWe7MUF/SFCsjA+uuMRBUuJiqlr+WsVWEDsVJsFSuftIEorwk= 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=reject dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1772224700326963.7099197073064; Fri, 27 Feb 2026 12:38:20 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vw4aH-0007Gs-DQ; Fri, 27 Feb 2026 15:37:14 -0500 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 1vw4aD-00079b-LS for qemu-devel@nongnu.org; Fri, 27 Feb 2026 15:37:09 -0500 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vw4aB-0006sJ-QU for qemu-devel@nongnu.org; Fri, 27 Feb 2026 15:37:09 -0500 Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 61RH0Gut1912472 for ; Fri, 27 Feb 2026 20:37:07 GMT Received: from mail-oo1-f69.google.com (mail-oo1-f69.google.com [209.85.161.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4cjuur4gjt-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 27 Feb 2026 20:37:06 +0000 (GMT) Received: by mail-oo1-f69.google.com with SMTP id 006d021491bc7-679ca40278bso48186255eaf.3 for ; Fri, 27 Feb 2026 12:37:06 -0800 (PST) Received: from hu-bcain-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-4160cbd405fsm5762935fac.0.2026.02.27.12.37.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Feb 2026 12:37:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= Sc+77wZ/sf9ek0m639yFvgRDrEV2SKXcXMDFUgtX5RM=; b=pzR7/HfJgvXEmePO 02UUFLg3c3us9s3nbPRG9FP8aOqaXwDVzQCZ5cyzEs3UAMWm0e3hzigUga/L7hKp 482iGr8YNmBC9Nldm79XT6KMJcKRTeWb7Q0h3CvB8ySV8EGjlaXxIQTwC3Tb2YWu YbA8nZlpaTloN4vQnke/0LTz8hV/yDrMUfUC2ehWaa3P8tkWOrTOV3jzPg6Wzfgv 8Gfz3at0Es83elEHtUsJdEfNibxC8AL1q7NvCSIQG7V0pMGC00NcxVfhAtUwp6Z2 NjGc1MjsjG2FyOsqvoAqFqkkOXUIYyj6t5/5D+PwrKO7Qs7eEyy91+MK68DSizoz XLSvpA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1772224626; x=1772829426; 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=Sc+77wZ/sf9ek0m639yFvgRDrEV2SKXcXMDFUgtX5RM=; b=kZbGecxkOUfMutjQMAnzlCfA0lohpMF+szbL4+c2HQoLsKy89pJaJNzdbtJeSLrOwM vKcSJs2Z25S0FuQ64j+UjBsjv0eKJ/xthv8H77lpEpXye700PbMjZliuka9fJWrCtx21 IWj9r3P62BEf6qU99vjnqg9RYhYkg1Ct8xVb5kUee2PM/NlrRPxQghs2jqs6jl0oXEQV 4te4QT1JFU70dmFJsJ0gz6Foayb4OokrgGIb6XZCo673OVfaSssNiTl7JyaJ06dkIaHH LoENhjAaWfNRw2MKE/lAFwsx4geIUeLe0hsLq9MgGGTK/y1fjzJxbYmI683NFVq8ewl2 j0nQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772224626; x=1772829426; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Sc+77wZ/sf9ek0m639yFvgRDrEV2SKXcXMDFUgtX5RM=; b=cz45kia3fgiz4EmtPfoejgqejQwLTSbN6qYqcuOr5TtDCEgLNubOWd7XmATPKucDDh kPEBp0xyb49UCcyZtIWDIK9oFM30tU3RByCgHFw5/G3o4KMoo8npTnaHdEeVCxcH21m4 VQEJMf9Fi/0yahpkDogRDjuvbz+1CfkiRhj54RzehD09napLsQOatQqX7vI7BtaFS4vW GZf2qt1Op5bjlb/9qo37YvnVB9TqIC328IL/U3v7A9aMVXbC7zPag3xgqO7RsjPmTw5x 4TJ3W4l/I/utWvcKl0LUYPnvAjxPXsvpTRfskjvFZ33MKd7bhc64wUAkuNgQe0ac6Hzn 7PBQ== X-Gm-Message-State: AOJu0YwIV9EVLsTD41kljUmEVfK8y8rdXTHTLHYXT0M4LCjE4I14dy/B zg8VOSOr1RFkGTurmXvRKEz2XOzcmYqYAho4gdJsLL8mJJAn/gcPb8iVvpRVU41D/f3tPfPA5tp zkSSijKh4qY0v9IMCFjPV6D/wtZv2DY3lCSC1BblXj24Ephz8xFxDtWBBQQGf9f26lQ== X-Gm-Gg: ATEYQzwC1cLxGHtvPZiKZnCiqTcG354JvNiDTgLl0Pbrl1xq7v5QqCGoMi5vX0mfKLs cVgHQMpZMHnAChEuQPMh3SJQh0b5lZXEAlTu7sKOwWA4DQWAHyxxsIYScNXzF+GthtHv6i8pSyJ mKctkTGVoSwNeavJHlfRxGidkNEsHOuf3GuuQNDBqNpVeJZp+h1gpEJcXAQrYrVAh/wrSADAI88 fb9OCtx66TIZfkZpLb5IVYym6EviFp//RPammgdXjvtQJHni3UUdCMPl4uSZG3UhwVFXeSsCO7D 67xqtB649DNB+e1mNzgpmxLvjBs41eJFilngp62ynCGn7FIEA9S5FPca00UJCAQseZofJWKtThp JByEkE/CnYiPJf5M5zAY6Wlt/3ahLfwJZzVEgMBBeZYW4BqktesbJ/rdwy6r6R/3urgEwiw== X-Received: by 2002:a05:6871:726:b0:402:17a4:96b7 with SMTP id 586e51a60fabf-41626e056b5mr2331322fac.22.1772224626060; Fri, 27 Feb 2026 12:37:06 -0800 (PST) X-Received: by 2002:a05:6871:726:b0:402:17a4:96b7 with SMTP id 586e51a60fabf-41626e056b5mr2331301fac.22.1772224625541; Fri, 27 Feb 2026 12:37:05 -0800 (PST) From: Brian Cain To: qemu-devel@nongnu.org Cc: brian.cain@oss.qualcomm.com, ltaylorsimpson@gmail.com, matheus.bernardino@oss.qualcomm.com, marco.liebel@oss.qualcomm.com, quic_mburton@quicinc.com, sid.manning@oss.qualcomm.com, ale@rev.ng, anjo@rev.ng, Brian Cain Subject: [PATCH v3 25/37] target/hexagon: Add sysemu TCG overrides Date: Fri, 27 Feb 2026 12:36:15 -0800 Message-Id: <20260227203627.932864-26-brian.cain@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260227203627.932864-1-brian.cain@oss.qualcomm.com> References: <20260227203627.932864-1-brian.cain@oss.qualcomm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: mpcSnb0kbOGfuYBnFilYhteD5nYSGkBY X-Authority-Analysis: v=2.4 cv=PN8COPqC c=1 sm=1 tr=0 ts=69a20072 cx=c_pps a=lVi5GcDxkcJcfCmEjVJoaw==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=HzLeVaNsDn8A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_glEPmIy2e8OvE2BGh3C:22 a=COk6AnOGAAAA:8 a=EUspDBNiAAAA:8 a=pmPLFm_we90XqOt_wqUA:9 a=QEXdDO2ut3YA:10 a=rBiNkAWo9uy_4UTK5NWh:22 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMjI3MDE4MSBTYWx0ZWRfX57EnjnwmRNIi EEEctyd2y83MxcjjspLzC8432IxRUU+6Rc5A13ioQNeqQbsUZbCRNALSzEQkjyEVlyU/5rFAoMz DtmH7Hyo9Q+0u+AGU3PjFac8j0wwN3D0G7zhponVLsfbJZ9J7kvunReloBU7GYJgKTQOeScNsx3 3EOojlt/tuFNKQrzJdwIFjNWC63kXBTVBFXTE/HF1jzDGVTrVtFXOzvYUDEEjasUHtCaCPcrylB W/b2/a6KLctawMt+RtOC22evFxmQJ9KG2vdhEFgFTY6PFQnZaQN1JPuXd1HWU54fPHL+DcmPoBb AQq+9VEdWwaLQJcmnIVPKGECA0CXqlKu9m5ajgMln2QhaaINhqMph4M42wqY1UYNvpbxRg+n5bY y8KP3Y5HdHRH91zKSoFGSlk3vX3cEG1PAvEqSnSLyB4y8JIOy3YmWWgkrSRbv6yYx5TXBTV1KAh YSDITPjVE8FGac0AMCA== X-Proofpoint-ORIG-GUID: mpcSnb0kbOGfuYBnFilYhteD5nYSGkBY X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-02-27_04,2026-02-27_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 clxscore=1015 lowpriorityscore=0 adultscore=0 spamscore=0 phishscore=0 suspectscore=0 bulkscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2602130000 definitions=main-2602270181 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=205.220.180.131; envelope-from=brian.cain@oss.qualcomm.com; helo=mx0b-0031df01.pphosted.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 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_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.706, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.401, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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-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 @qualcomm.com) X-ZM-MESSAGEID: 1772224700643158500 From: Brian Cain Define TCG overrides for setprio(), crswap(,sgp{0,1,1:0}). Signed-off-by: Brian Cain --- target/hexagon/cpu_helper.h | 34 ++++++++++++++++++++++++++++++ target/hexagon/gen_tcg_sys.h | 40 ++++++++++++++++++++++++++++++++++++ target/hexagon/helper.h | 1 + target/hexagon/genptr.c | 4 ++++ target/hexagon/op_helper.c | 7 +++++++ target/hexagon/hex_common.py | 2 ++ target/hexagon/meson.build | 13 ++++++------ 7 files changed, 95 insertions(+), 6 deletions(-) create mode 100644 target/hexagon/cpu_helper.h create mode 100644 target/hexagon/gen_tcg_sys.h diff --git a/target/hexagon/cpu_helper.h b/target/hexagon/cpu_helper.h new file mode 100644 index 00000000000..8c79a4cea13 --- /dev/null +++ b/target/hexagon/cpu_helper.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#ifndef HEXAGON_CPU_HELPER_H +#define HEXAGON_CPU_HELPER_H + +static inline void arch_set_thread_reg(CPUHexagonState *env, uint32_t reg, + uint32_t val) +{ + g_assert(reg < TOTAL_PER_THREAD_REGS); + g_assert_not_reached(); +} + +static inline uint32_t arch_get_thread_reg(CPUHexagonState *env, uint32_t = reg) +{ + g_assert(reg < TOTAL_PER_THREAD_REGS); + g_assert_not_reached(); +} + +static inline void arch_set_system_reg(CPUHexagonState *env, uint32_t reg, + uint32_t val) +{ + g_assert_not_reached(); +} + +static inline uint32_t arch_get_system_reg(CPUHexagonState *env, uint32_t = reg) +{ + g_assert_not_reached(); +} + +#endif diff --git a/target/hexagon/gen_tcg_sys.h b/target/hexagon/gen_tcg_sys.h new file mode 100644 index 00000000000..2410ac82c96 --- /dev/null +++ b/target/hexagon/gen_tcg_sys.h @@ -0,0 +1,40 @@ +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#ifndef HEXAGON_GEN_TCG_SYS_H +#define HEXAGON_GEN_TCG_SYS_H + +#define fGEN_TCG_Y2_setprio(SHORTCODE) \ + gen_helper_setprio(tcg_env, PtV, RsV) + +#define fGEN_TCG_Y2_crswap0(SHORTCODE) \ + do { \ + TCGv tmp =3D tcg_temp_new(); \ + tcg_gen_mov_tl(tmp, RxV); \ + tcg_gen_mov_tl(RxV, hex_t_sreg[HEX_SREG_SGP0]); \ + tcg_gen_mov_tl(ctx->t_sreg_new_value[HEX_SREG_SGP0], tmp); \ + } while (0) + +#define fGEN_TCG_Y4_crswap1(SHORTCODE) \ + do { \ + TCGv tmp =3D tcg_temp_new(); \ + tcg_gen_mov_tl(tmp, RxV); \ + tcg_gen_mov_tl(RxV, hex_t_sreg[HEX_SREG_SGP1]); \ + tcg_gen_mov_tl(ctx->t_sreg_new_value[HEX_SREG_SGP1], tmp); \ + } while (0) + +#define fGEN_TCG_Y4_crswap10(SHORTCODE) \ + do { \ + TCGv_i64 tmp =3D tcg_temp_new_i64(); \ + tcg_gen_mov_i64(tmp, RxxV); \ + tcg_gen_concat_i32_i64(RxxV, \ + hex_t_sreg[HEX_SREG_SGP0], \ + hex_t_sreg[HEX_SREG_SGP1]); \ + tcg_gen_extrl_i64_i32(ctx->t_sreg_new_value[HEX_SREG_SGP0], tmp); \ + tcg_gen_extrh_i64_i32(ctx->t_sreg_new_value[HEX_SREG_SGP1], tmp); \ + } while (0) + +#endif diff --git a/target/hexagon/helper.h b/target/hexagon/helper.h index 85dba2f4291..a18cb9f79ad 100644 --- a/target/hexagon/helper.h +++ b/target/hexagon/helper.h @@ -115,4 +115,5 @@ DEF_HELPER_2(greg_read, i32, env, i32) DEF_HELPER_2(greg_read_pair, i64, env, i32) DEF_HELPER_3(sreg_write, void, env, i32, i32) DEF_HELPER_3(sreg_write_pair, void, env, i32, i64) +DEF_HELPER_3(setprio, void, env, i32, i32) #endif diff --git a/target/hexagon/genptr.c b/target/hexagon/genptr.c index 908f7e5e2e5..f86bba4f08e 100644 --- a/target/hexagon/genptr.c +++ b/target/hexagon/genptr.c @@ -31,6 +31,10 @@ #undef QEMU_GENERATE #include "gen_tcg.h" #include "gen_tcg_hvx.h" +#ifndef CONFIG_USER_ONLY +#include "gen_tcg_sys.h" +#endif + #include "genptr.h" =20 TCGv gen_read_reg(TCGv result, int num) diff --git a/target/hexagon/op_helper.c b/target/hexagon/op_helper.c index 54b22f2fee4..8d60610b3f9 100644 --- a/target/hexagon/op_helper.c +++ b/target/hexagon/op_helper.c @@ -31,6 +31,7 @@ #include "mmvec/mmvec.h" #include "mmvec/macros.h" #include "op_helper.h" +#include "cpu_helper.h" #include "translate.h" =20 #define SF_BIAS 127 @@ -1420,6 +1421,12 @@ uint64_t HELPER(greg_read_pair)(CPUHexagonState *env= , uint32_t reg) { g_assert_not_reached(); } + +void HELPER(setprio)(CPUHexagonState *env, uint32_t thread, uint32_t prio) +{ + g_assert_not_reached(); +} + #endif =20 =20 diff --git a/target/hexagon/hex_common.py b/target/hexagon/hex_common.py index ec504389faf..ad60e978685 100755 --- a/target/hexagon/hex_common.py +++ b/target/hexagon/hex_common.py @@ -1364,6 +1364,7 @@ def parse_common_args(desc): parser.add_argument("semantics", help=3D"semantics file") parser.add_argument("overrides", help=3D"overrides file") parser.add_argument("overrides_vec", help=3D"vector overrides file") + parser.add_argument("overrides_sys", help=3D"system overrides file") parser.add_argument("out", help=3D"output file") parser.add_argument("--idef-parser", help=3D"file of instructions translated by idef-pa= rser") @@ -1371,6 +1372,7 @@ def parse_common_args(desc): read_semantics_file(args.semantics) read_overrides_file(args.overrides) read_overrides_file(args.overrides_vec) + read_overrides_file(args.overrides_sys) if args.idef_parser: read_idef_parser_enabled_file(args.idef_parser) calculate_attribs() diff --git a/target/hexagon/meson.build b/target/hexagon/meson.build index d169cf71b2f..528beca3cd0 100644 --- a/target/hexagon/meson.build +++ b/target/hexagon/meson.build @@ -20,6 +20,7 @@ hexagon_ss =3D ss.source_set() hex_common_py =3D 'hex_common.py' gen_tcg_h =3D meson.current_source_dir() / 'gen_tcg.h' gen_tcg_hvx_h =3D meson.current_source_dir() / 'gen_tcg_hvx.h' +gen_tcg_sys_h =3D meson.current_source_dir() / 'gen_tcg_sys.h' idef_parser_dir =3D meson.current_source_dir() / 'idef-parser' =20 # @@ -337,12 +338,12 @@ if idef_parser_enabled and 'hexagon-linux-user' in ta= rget_dirs # Setup input and dependencies for the next step, this depends on whet= her or # not idef-parser is enabled helper_dep =3D [semantics_generated, idef_generated_tcg_c, idef_genera= ted_tcg] - helper_in =3D [semantics_generated, gen_tcg_h, gen_tcg_hvx_h, '--idef-= parser', idef_generated_list] + helper_in =3D [semantics_generated, gen_tcg_h, gen_tcg_hvx_h, gen_tcg_= sys_h, '--idef-parser', idef_generated_list] else # Setup input and dependencies for the next step, this depends on whet= her or # not idef-parser is enabled helper_dep =3D [semantics_generated] - helper_in =3D [semantics_generated, gen_tcg_h, gen_tcg_hvx_h] + helper_in =3D [semantics_generated, gen_tcg_h, gen_tcg_hvx_h, gen_tcg_= sys_h] endif =20 # @@ -356,7 +357,7 @@ helper_protos_generated =3D custom_target( 'helper_protos_generated.h.inc', output: 'helper_protos_generated.h.inc', depends: helper_dep, - depend_files: [hex_common_py, gen_tcg_h, gen_tcg_hvx_h], + depend_files: [hex_common_py, gen_tcg_h, gen_tcg_hvx_h, gen_tcg_sys_h], command: [python, files('gen_helper_protos.py'), helper_in, '@OUTPUT@'= ], ) hexagon_ss.add(helper_protos_generated) @@ -365,7 +366,7 @@ helper_funcs_generated =3D custom_target( 'helper_funcs_generated.c.inc', output: 'helper_funcs_generated.c.inc', depends: helper_dep, - depend_files: [hex_common_py, gen_tcg_h, gen_tcg_hvx_h], + depend_files: [hex_common_py, gen_tcg_h, gen_tcg_hvx_h, gen_tcg_sys_h], command: [python, files('gen_helper_funcs.py'), helper_in, '@OUTPUT@'], ) hexagon_ss.add(helper_funcs_generated) @@ -374,7 +375,7 @@ tcg_funcs_generated =3D custom_target( 'tcg_funcs_generated.c.inc', output: 'tcg_funcs_generated.c.inc', depends: helper_dep, - depend_files: [hex_common_py, gen_tcg_h, gen_tcg_hvx_h], + depend_files: [hex_common_py, gen_tcg_h, gen_tcg_hvx_h, gen_tcg_sys_h], command: [python, files('gen_tcg_funcs.py'), helper_in, '@OUTPUT@'], ) hexagon_ss.add(tcg_funcs_generated) @@ -383,7 +384,7 @@ analyze_funcs_generated =3D custom_target( 'analyze_funcs_generated.c.inc', output: 'analyze_funcs_generated.c.inc', depends: helper_dep, - depend_files: [hex_common_py, gen_tcg_h, gen_tcg_hvx_h], + depend_files: [hex_common_py, gen_tcg_h, gen_tcg_hvx_h, gen_tcg_sys_h], command: [python, files('gen_analyze_funcs.py'), helper_in, '@OUTPUT@'= ], ) hexagon_ss.add(analyze_funcs_generated) --=20 2.34.1