From patchwork Sat May 6 07:22:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 679585 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a41:0:0:0:0:0 with SMTP id v1csp745523wrs; Sat, 6 May 2023 00:28:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7pZy1fM2qBoiUCI3JJZm9On5OkmpMZAla2SDag0p1PlsFqkgRyYHd5PPruGMVTDOYBjpt6 X-Received: by 2002:a05:622a:1355:b0:3ee:ee65:2a49 with SMTP id w21-20020a05622a135500b003eeee652a49mr6233696qtk.66.1683358100030; Sat, 06 May 2023 00:28:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683358100; cv=none; d=google.com; s=arc-20160816; b=iGETghMVxrtcB1xb59LlUZF8NWuJZ5FebQxV3S1tnzbTHvZEjuX8xhYOlpPWm5513H pFaZotilrGbJFDsAk6XtyvACb/pcqA7T8VLP+AZp+KHbct+PaM77b/ZdDKBxjy9w5zs5 8Fc6m0jC2lvGbqz3raRbLT2SSpP+AtMaz46AoIwLg5mIicGjU23NgHoX+q41F0zmfEtE lyEiEjXflP0ISyG/XQNv5HXA3NOQGwc99hzCtgOff1ssV+YWfdq+Ps1bs+gqucmLbczK J5qA69X2zq8vgocebB9xsfFioTqyJPnuQYG/VAxPmbUCP7Snuytar0wm9qs76HPLR/9y agiA== 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:cc:to :from:dkim-signature; bh=O4O2YAeN9cb5anbyImPMVEQOY1pM7UmSuOPh7iKYeY4=; b=HFAfgwoPJPqBod1/pnro2ODkLVlWbB7hsW2a/vaFCx6RNDsQekoIkSjHoQxaQTDW8l BwsHVuNXyJRgS1/vQjODEIZ/bnNZJzq9x9vek7c6nVugGE+VluY6RA+bwmpsJx1gLGwj BZSAxjrH+LvRdXmFyWfaF/hlCEdyHm5agSi6T3RiE9pnSgTz2JvS8zpXYcDHZM7qgOCp r6Ku/N0FJEeQz/LQ565bAOdYg6Q3newTlhZ976rRGl1UfLrTGLzXKUu2pvAMkPiJCzo8 XHhc2z++0lpPMBopaOwKrz7HlMvtCgXPVSsQgLJPurgwr0KC4AbHra0Ue5GKPDn3P2UG AruA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UUB9heQZ; 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 p7-20020a05620a112700b0074de9fecc4dsi1269145qkk.383.2023.05.06.00.28.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 06 May 2023 00:28:20 -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=UUB9heQZ; 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 1pvCGY-0005nI-4V; Sat, 06 May 2023 03:23:38 -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 1pvCGU-0005bf-Vx for qemu-devel@nongnu.org; Sat, 06 May 2023 03:23:35 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pvCFu-0004XB-Nz for qemu-devel@nongnu.org; Sat, 06 May 2023 03:23:34 -0400 Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-30644c18072so1726906f8f.2 for ; Sat, 06 May 2023 00:22:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683357777; x=1685949777; 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=O4O2YAeN9cb5anbyImPMVEQOY1pM7UmSuOPh7iKYeY4=; b=UUB9heQZK2dk3DkWZJ+PK33dPI7Dph7mEO7jvS0vPMU8y9q1tDHSw34jXYSyBh/bkI WXx12h1YirRPxICSp07nqIEzO2XTR+uwCb7FBvVQAHX1RiWLsXXrVxxngrkpE0Xu+ngr SkURFJ42IBa8diQRAj3UDBtGVizvWUJhr/Sou20BFDD5yPj63M1yPTWYwubG6BSta6+h 5m9b344tcSxJLs7I2Iczm8jZBuSVGQ9jJ8ILU4WuF/PPTXAlTj6qEqwVAAg9UOQZ5E1z bZPTXzMBhF9XDDehj1s8wbZHHyGWy2UDyrJ8X8Yf4qtolVvRixtnQIZJ8IvztY4eZQXX fsng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683357777; x=1685949777; 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=O4O2YAeN9cb5anbyImPMVEQOY1pM7UmSuOPh7iKYeY4=; b=c4Gd3iEZyrHIqwiTHBAi/diuTlMEhxPRiZcS1zACu/vsfc6EfCQv3eYGSmxuzaILQJ gAx3AJQSr8rqC86XiOXWSwFTd2VCMiYYLIYG8wU/hKeVJZGB5IZD2DRnMMmGW7cnSVUl OWUdKYSSIHfWnmux24pL5gXq5QTJC4Tph+vad0Upl8Bm/lmGFoLWlv55sOOn2cpEfmUC 0JMGcC778/nv757p2zudYaSQ8VPmawAG1WPFZAIEZCmxcGpKvy7iU2O1/ee3/RbM/Gqi GYzSOOP6xd1/2cvYDNckbbgZ84Rrj129lyq+bVOf52305sQgE/D9VchgeG1xe8/LMvlN zllw== X-Gm-Message-State: AC+VfDz0K8hJgOJ1LB/ji4XWaaqVXDA5A0uCPsSRjFi5ljINkiySLP5O aYNeY5q4+BN24W5LK5UCaIxLx+dGedNwrAFTlIP14A== X-Received: by 2002:a5d:6b86:0:b0:306:2fd1:a91f with SMTP id n6-20020a5d6b86000000b003062fd1a91fmr2458522wrx.61.1683357777330; Sat, 06 May 2023 00:22:57 -0700 (PDT) Received: from stoup.. ([212.241.182.8]) by smtp.gmail.com with ESMTPSA id x9-20020adfec09000000b002faaa9a1721sm4481223wrn.58.2023.05.06.00.22.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 May 2023 00:22:57 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: git@xen0n.name, gaosong@loongson.cn, philmd@linaro.org, qemu-arm@nongnu.org, qemu-riscv@nongnu.org, qemu-s390x@nongnu.org Subject: [PATCH v5 27/30] tcg/ppc: Remove unused constraint J Date: Sat, 6 May 2023 08:22:32 +0100 Message-Id: <20230506072235.597467-28-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230506072235.597467-1-richard.henderson@linaro.org> References: <20230506072235.597467-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=richard.henderson@linaro.org; helo=mail-wr1-x430.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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 Never used since its introduction. Fixes: 3d582c6179c ("tcg-ppc64: Rearrange integer constant constraints") Signed-off-by: Richard Henderson Reviewed-by: Alex Bennée --- tcg/ppc/tcg-target-con-str.h | 1 - tcg/ppc/tcg-target.c.inc | 3 --- 2 files changed, 4 deletions(-) diff --git a/tcg/ppc/tcg-target-con-str.h b/tcg/ppc/tcg-target-con-str.h index 9dcbc3df50..094613cbcb 100644 --- a/tcg/ppc/tcg-target-con-str.h +++ b/tcg/ppc/tcg-target-con-str.h @@ -16,7 +16,6 @@ REGS('v', ALL_VECTOR_REGS) * CONST(letter, TCG_CT_CONST_* bit set) */ CONST('I', TCG_CT_CONST_S16) -CONST('J', TCG_CT_CONST_U16) CONST('M', TCG_CT_CONST_MONE) CONST('T', TCG_CT_CONST_S32) CONST('U', TCG_CT_CONST_U32) diff --git a/tcg/ppc/tcg-target.c.inc b/tcg/ppc/tcg-target.c.inc index 5a4ec0470a..0a14c3e997 100644 --- a/tcg/ppc/tcg-target.c.inc +++ b/tcg/ppc/tcg-target.c.inc @@ -83,7 +83,6 @@ #define SZR (TCG_TARGET_REG_BITS / 8) #define TCG_CT_CONST_S16 0x100 -#define TCG_CT_CONST_U16 0x200 #define TCG_CT_CONST_S32 0x400 #define TCG_CT_CONST_U32 0x800 #define TCG_CT_CONST_ZERO 0x1000 @@ -270,8 +269,6 @@ static bool tcg_target_const_match(int64_t val, TCGType type, int ct) if ((ct & TCG_CT_CONST_S16) && val == (int16_t)val) { return 1; - } else if ((ct & TCG_CT_CONST_U16) && val == (uint16_t)val) { - return 1; } else if ((ct & TCG_CT_CONST_S32) && val == (int32_t)val) { return 1; } else if ((ct & TCG_CT_CONST_U32) && val == (uint32_t)val) {