Message ID | 20250107080112.1175095-10-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:8b05:0:b0:385:e875:8a9e with SMTP id n5csp101235wra; Tue, 7 Jan 2025 00:11:49 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWIxa14vm+w9HkLzxfoJyyd5U6449cA4B2N8DpQ8qYZ4edvyzUPyIVNFkmqzVoTwS6Vd8ug0g==@linaro.org X-Google-Smtp-Source: AGHT+IEV/DPqqC8GHODsz8D8Ue80TQ9JEP98iD1wjWPkUGeB8jCJhFuliNPKjC8GpOx5GfbWVN9N X-Received: by 2002:a05:620a:601b:b0:7b6:7909:5208 with SMTP id af79cd13be357-7b9ba716befmr10586095385a.5.1736237508956; Tue, 07 Jan 2025 00:11:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1736237508; cv=none; d=google.com; s=arc-20240605; b=WTTjGEFA+aZ0Xoyf0Vg4sajRId5UxdkgzV4UG0SdL7/lS9CQN1JuD93MtjA0YB75go y0p3J1M+oepEVZrvkZPpE8wkK3ZlBM/jRfDWCJQLdx2mIVKtJI3j+uYtcdUH1dL1BvOm QpzZQUBqgP0ULIZJWj/3hLEga/ZIUnF60Vsxtafkdexj5SR0V6TfLnEQC0e6QKhWQBen BMFITb/CYRnmBrIP706RuHrgT+FSbqmOWs28IW+m9Q+C7rrzA2Zo2jKColaIl6gn06Y3 JZ/w+xhxjCTjyptAw8ttcba8fmCo/vK1U2F23+73gSvKkXx730FexhLUbETnL7+aY6CO +7sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=8DcTEozh86Xrwd11aGFdHOjTtoqytx9vFk9B8/PjCx4=; fh=1AaLZNOiARaO2MErHmdWiM20H44tzxxDYMw0tHmbGN4=; b=jhx8Xl9BRltzWV7N42puXGUY0IOEdLx4EFlQJGNdTge7lvm6hB+TB9WSvz66HEfGhn 4C+BH2zR2hIhKqqO6JzAnYiNagEuV39NGlBiAbhZzavRxbeYZ1AX7AEvmkV1hk7mJSGK qWXi0SshzY4OyXpbYrbsLa4XT0ZPFx9pWgy7eYrJlY7lQekza4cMX0VvstqIJ6488qRL aaxjpHPe9KcpubnPT4dOIgDxuKCxz/FhKnSCo30NcCHfguvIekyt21Vy1WSonV1WN1GC xKMe7sraFu+Sz66n+yudNg0jYaWp8Lz0ipPhECSEH/IraelIS69GXjcMhhZba+HWuTvP QhKg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Kjr1Y6Or; 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; dara=neutral header.i=@linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7b9ac51fb7esi4439772685a.590.2025.01.07.00.11.48 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 Jan 2025 00:11:48 -0800 (PST) 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=Kjr1Y6Or; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1tV4XL-0000QX-VJ; Tue, 07 Jan 2025 03:02:03 -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 <richard.henderson@linaro.org>) id 1tV4Wl-0000DK-HT for qemu-devel@nongnu.org; Tue, 07 Jan 2025 03:01:27 -0500 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1tV4Wj-0002tx-IN for qemu-devel@nongnu.org; Tue, 07 Jan 2025 03:01:26 -0500 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-21636268e43so41672625ad.2 for <qemu-devel@nongnu.org>; Tue, 07 Jan 2025 00:01:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1736236884; x=1736841684; 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=8DcTEozh86Xrwd11aGFdHOjTtoqytx9vFk9B8/PjCx4=; b=Kjr1Y6Or45gRI/sKGMEe49Nf4VDJV5NxbWKb6mOF/4nGRmiuYf66YRPrZr8b1Rk3o1 E6+zbCz5SFzoN17J2VfgAtqEyfvHqQcoTRyTfHY92IApsoCT1jJNwqwzkOljfWdPin1K PUjqHYdBHS6Uo1Dcl1uhD61WInCbay06oQJISvu2ryQOyXuCWRVxiCCpHFq4dcOIg1k8 84ySXiGNT9I49kVzwY2kyUM7acTzlVfrGvGV9w9pccjyjgZR+/B8VGZ+IpOBUEQ4+7Vr Aom/FiO+i0YD8gBTZ/WyiLgrmgjRWePUucZThLam1T0pWDGAVHpAQ7O8kvzMtFWNWCdW leWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736236884; x=1736841684; 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=8DcTEozh86Xrwd11aGFdHOjTtoqytx9vFk9B8/PjCx4=; b=k2JbZkH0+n8DwrRobvAjnvxnTHy/6vtwTKK+hfgnCvzmr8EWQC1lKVQ8mYqfAm2dAu w2ShMObqs2ZNpKL+peZDCrRYpF8mIweKRIatS7qk0BppRWfZlvnQ2e1lf9FNiMLNKmSY gx6eOT8QDHaw9QDXGo2TswKdAzwn+L8B/szv+zRwW/lxTgkDx01IcwUgHNWle0vOoZJM 6+usqdhAihTbVc3g18dderY253gO7mV3rVro6I0RNDNRlgqtGgeD+9sLaXBTucETvR07 exhFXH7RpSt44Dckv8J+Nk7KhdqYj3fiqfJKj2c3zw4m+4hiXuJO+4CbeMMDuoU3X0m/ zHpw== X-Gm-Message-State: AOJu0Yx2xly2cAHj+7dvT1PaMDS469inNrOUF7hnH66Ul2WiJf2OO2t/ 88KNfgiyt/2qHhS6NS8RRxcZ8+0Bfgqv/mtFgkX8ReaNv1SH1stHEHngxTbTOQKcxoGfTvSnnQz C X-Gm-Gg: ASbGncs6ut7G66nOnTftYp5ZmWUM/0+AgqzAeVd1cqjOY5ueFylwuARU30WpeJVHGay +ERV7FR3HFDPtgXp0G4kIBG0bO+N91fd4vbqF9Nava6vVukqp0q6Y2EBwpl8t53jl3S0Zw4eFjD e6OppYvZRe9XThEexBlxdonEGdtMZin0uON2P5p+dvvXota6Hk+4kvTXCoIdyAZNw7t0eRVWTWt POv3tdPahVLDxeGduTi5y6urJx7Je1HVTjFwHK8pCP6BP/BBP9IFbxFm98nn826EWiG43PY7fOQ 1FY9h75PRwiRI2bOww== X-Received: by 2002:a17:903:2c6:b0:216:3c36:69a7 with SMTP id d9443c01a7336-219e6f262admr870559805ad.45.1736236884285; Tue, 07 Jan 2025 00:01:24 -0800 (PST) Received: from stoup.. (76-14-228-138.or.wavecable.com. [76.14.228.138]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-219dc96eb12sm306765995ad.87.2025.01.07.00.01.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2025 00:01:23 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: philmd@linaro.org, pierrick.bouvier@linaro.org Subject: [PATCH v2 09/81] target/tricore: Use tcg_op_supported Date: Tue, 7 Jan 2025 00:00:00 -0800 Message-ID: <20250107080112.1175095-10-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250107080112.1175095-1-richard.henderson@linaro.org> References: <20250107080112.1175095-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62c.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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
tcg: Merge *_i32 and *_i64 opcodes
|
expand
|
diff --git a/target/tricore/translate.c b/target/tricore/translate.c index 0ef3743f3e..6819b77668 100644 --- a/target/tricore/translate.c +++ b/target/tricore/translate.c @@ -3980,7 +3980,7 @@ static void decode_bit_andacc(DisasContext *ctx) pos1, pos2, &tcg_gen_andc_tl, &tcg_gen_and_tl); break; case OPC2_32_BIT_AND_NOR_T: - if (TCG_TARGET_HAS_andc_i32) { + if (tcg_op_supported(INDEX_op_andc_i32, TCG_TYPE_I32, 0)) { gen_bit_2op(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2], pos1, pos2, &tcg_gen_or_tl, &tcg_gen_andc_tl); } else { @@ -4113,7 +4113,7 @@ static void decode_bit_orand(DisasContext *ctx) pos1, pos2, &tcg_gen_andc_tl, &tcg_gen_or_tl); break; case OPC2_32_BIT_OR_NOR_T: - if (TCG_TARGET_HAS_orc_i32) { + if (tcg_op_supported(INDEX_op_orc_i32, TCG_TYPE_I32, 0)) { gen_bit_2op(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2], pos1, pos2, &tcg_gen_or_tl, &tcg_gen_orc_tl); } else {