From patchwork Wed Oct 30 10:04:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 99811 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id ADE813857C6A for ; Wed, 30 Oct 2024 10:05:01 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-oa1-x35.google.com (mail-oa1-x35.google.com [IPv6:2001:4860:4864:20::35]) by sourceware.org (Postfix) with ESMTPS id 8B836385840E for ; Wed, 30 Oct 2024 10:04:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8B836385840E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8B836385840E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:4860:4864:20::35 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730282671; cv=none; b=N8TFI09ND7MevLNm4F8cKpGRbtFY9mRubJCZsx18r2XypV/pp0LWwFV6r1PL7Vc/Ac/00AXH5cARn9uTvpMPzeXoy7MxFG0OUv1wS5pN96+Z3MfcdfXPKdGoy8/vklJcFfUm9vmtPA31OkFvwJYdjsPz4gbTdZDdxwdgZ7q1xMY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730282671; c=relaxed/simple; bh=p3PxmzKoNu3Mezjka3WVDBbLCIA3o+g8BVFL1ujbU5g=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=YMIj9KIERSmowqrTs3sLNgbdHUsUKA0dPQlWsP/NPILk55xGiSj/920gglsum8oD2/gjllzbVM5WT1e7vgCbYBjTESE4s9el5DbwQ3KGjtlop7mwT8FTBcRK+UvxJ9Fa7ngwRYx+tJ2X8p25b1wNbo6xnWf4g/Wop6S3ggY7mYA= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-oa1-x35.google.com with SMTP id 586e51a60fabf-288d74b3a91so3559353fac.0 for ; Wed, 30 Oct 2024 03:04:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1730282661; x=1730887461; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=BedNDqRAKPGrQbtZMYl6D0ROG8qCUikTT2nl7U2LZbU=; b=s99Yc0YQUnEX6b7CfexttlAgGzEUTvrPxjbBlHAjwgwbew+weD02Q/sO2LdrdKBnzF OF+utf/xBdcfVUde2SYx3uq3W/EdyJ3N3/gJNc9Srw9eWkdwELhVwn00lQW3UD4fHprX 0BfIPFJ0ryIbYPiS7vkid9kmUxg9LwuMIYZFLuHIBIaGs8PGacpZNKz2DBVuC7ETsaVi 7wNEP/tPbHvWCnc3J1Pmlt/x3Ufs0m7sP7G74RvrJFGciQhl2JYEDNwePMuDc/kmvrrI mtoaoO2nhF5V8GSNbtrtWpwVL2OVP6a2HrcfXB51H+gm8A5FteInrmnFUvpA2lVNSaaP buCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730282661; x=1730887461; 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=BedNDqRAKPGrQbtZMYl6D0ROG8qCUikTT2nl7U2LZbU=; b=AVgFtOaAeK8SsiSTyDe51vLcYrancVcaJgj13JFuGxQzDLGRkTikgrSkhZozlKMZEc 03bgZRSNJp86/SY8PNvnZx6PzlID38ae5+AIaCC7XMIKawRMRAw9C4XcmtBpxQlGU5FU kEHznI+EAX0KHMy5BK+t3WwRCKN3DD7OzKT3WjjuRpzxoT1UZ9FtgF+XFR/YIlcD8596 mIGy5mZmOalVAeFpbU3v99i0b/vuyvSkmefAYrwE54H61gF1cJNv8+3GgTi/wbR1HON1 wDTJwgel40/us3L7gC40UBA8KKGfXgkBhl7NXm3KxSGJSoOzO0Rqe6ybqfWA/a8d1fuo nsKA== X-Gm-Message-State: AOJu0YyI695VikB5wdZlvJ7gH5yISYcOXxgf3UMX6oA5n98EWQmEW6ZR EGsm/LQu5zedTPZxBwLqL7jTQrp6wjL5iljcZ1QCo1TPfr2NpUlAv0Mw14BIC5wZXDwLsblETjx 0raFHcg== X-Google-Smtp-Source: AGHT+IHlqoT8+Yv2P6LdqXNXMq2DggRSG/RLx2w/NMRWwWu9YEcP84Z6fw+u9Ln22un8ITzjn5lHwQ== X-Received: by 2002:a05:6870:9111:b0:270:184b:ccd9 with SMTP id 586e51a60fabf-29051e1d5femr13722415fac.39.1730282661395; Wed, 30 Oct 2024 03:04:21 -0700 (PDT) Received: from localhost.localdomain ([139.178.84.207]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7186160f2f1sm2547803a34.18.2024.10.30.03.04.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 03:04:20 -0700 (PDT) From: Christophe Lyon To: gcc-patches@gcc.gnu.org Cc: Christophe Lyon Subject: [committed] [PATCH] arm: [MVE intrinsics] Remove unused builtins qualifiers Date: Wed, 30 Oct 2024 10:04:14 +0000 Message-Id: <20241030100414.3306749-1-christophe.lyon@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, UNWANTED_LANGUAGE_BODY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org After the re-implementation of MVE vld/vst intrinsics, a few builtins qualifiers became useless. This patch removes them to restore bootstrap (otherwise the build fails because of 'defined but not used' errors. gcc/ChangeLog: * config/arm/arm-builtins.cc (STRS_QUALIFIERS): Delete. (STRU_QUALIFIERS): Delete. (STRS_P_QUALIFIERS): Delete. (STRU_P_QUALIFIERS): Delete. (LDRS_QUALIFIERS): Delete. (LDRU_QUALIFIERS): Delete. (LDRS_Z_QUALIFIERS): Delete. (LDRU_Z_QUALIFIERS): Delete. --- gcc/config/arm/arm-builtins.cc | 41 ---------------------------------- 1 file changed, 41 deletions(-) diff --git a/gcc/config/arm/arm-builtins.cc b/gcc/config/arm/arm-builtins.cc index 0f16503e92d..6ee1563c02f 100644 --- a/gcc/config/arm/arm-builtins.cc +++ b/gcc/config/arm/arm-builtins.cc @@ -610,16 +610,6 @@ arm_quadop_unone_unone_unone_none_pred_qualifiers[SIMD_MAX_BUILTIN_ARGS] #define QUADOP_UNONE_UNONE_UNONE_NONE_PRED_QUALIFIERS \ (arm_quadop_unone_unone_unone_none_pred_qualifiers) -static enum arm_type_qualifiers -arm_strs_qualifiers[SIMD_MAX_BUILTIN_ARGS] - = { qualifier_void, qualifier_pointer, qualifier_none }; -#define STRS_QUALIFIERS (arm_strs_qualifiers) - -static enum arm_type_qualifiers -arm_stru_qualifiers[SIMD_MAX_BUILTIN_ARGS] - = { qualifier_void, qualifier_pointer, qualifier_unsigned }; -#define STRU_QUALIFIERS (arm_stru_qualifiers) - static enum arm_type_qualifiers arm_strss_qualifiers[SIMD_MAX_BUILTIN_ARGS] = { qualifier_void, qualifier_pointer, qualifier_unsigned, @@ -643,17 +633,6 @@ arm_strsbu_qualifiers[SIMD_MAX_BUILTIN_ARGS] qualifier_unsigned}; #define STRSBU_QUALIFIERS (arm_strsbu_qualifiers) -static enum arm_type_qualifiers -arm_strs_p_qualifiers[SIMD_MAX_BUILTIN_ARGS] - = { qualifier_void, qualifier_pointer, qualifier_none, qualifier_predicate}; -#define STRS_P_QUALIFIERS (arm_strs_p_qualifiers) - -static enum arm_type_qualifiers -arm_stru_p_qualifiers[SIMD_MAX_BUILTIN_ARGS] - = { qualifier_void, qualifier_pointer, qualifier_unsigned, - qualifier_predicate}; -#define STRU_P_QUALIFIERS (arm_stru_p_qualifiers) - static enum arm_type_qualifiers arm_strsu_p_qualifiers[SIMD_MAX_BUILTIN_ARGS] = { qualifier_void, qualifier_pointer, qualifier_unsigned, @@ -688,16 +667,6 @@ arm_ldrgs_qualifiers[SIMD_MAX_BUILTIN_ARGS] = { qualifier_none, qualifier_pointer, qualifier_unsigned}; #define LDRGS_QUALIFIERS (arm_ldrgs_qualifiers) -static enum arm_type_qualifiers -arm_ldrs_qualifiers[SIMD_MAX_BUILTIN_ARGS] - = { qualifier_none, qualifier_pointer}; -#define LDRS_QUALIFIERS (arm_ldrs_qualifiers) - -static enum arm_type_qualifiers -arm_ldru_qualifiers[SIMD_MAX_BUILTIN_ARGS] - = { qualifier_unsigned, qualifier_pointer}; -#define LDRU_QUALIFIERS (arm_ldru_qualifiers) - static enum arm_type_qualifiers arm_ldrgbs_qualifiers[SIMD_MAX_BUILTIN_ARGS] = { qualifier_none, qualifier_unsigned, qualifier_immediate}; @@ -732,16 +701,6 @@ arm_ldrgu_z_qualifiers[SIMD_MAX_BUILTIN_ARGS] qualifier_predicate}; #define LDRGU_Z_QUALIFIERS (arm_ldrgu_z_qualifiers) -static enum arm_type_qualifiers -arm_ldrs_z_qualifiers[SIMD_MAX_BUILTIN_ARGS] - = { qualifier_none, qualifier_pointer, qualifier_predicate}; -#define LDRS_Z_QUALIFIERS (arm_ldrs_z_qualifiers) - -static enum arm_type_qualifiers -arm_ldru_z_qualifiers[SIMD_MAX_BUILTIN_ARGS] - = { qualifier_unsigned, qualifier_pointer, qualifier_predicate}; -#define LDRU_Z_QUALIFIERS (arm_ldru_z_qualifiers) - static enum arm_type_qualifiers arm_ldrgbwbxu_qualifiers[SIMD_MAX_BUILTIN_ARGS] = { qualifier_unsigned, qualifier_unsigned, qualifier_immediate};