From patchwork Thu Nov 23 15:56:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 1867841 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=SjT9pUJ1; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4SbjR33sxPz1yS0 for ; Fri, 24 Nov 2023 02:56:47 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BB99A3847729 for ; Thu, 23 Nov 2023 15:56:44 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-oa1-x2b.google.com (mail-oa1-x2b.google.com [IPv6:2001:4860:4864:20::2b]) by sourceware.org (Postfix) with ESMTPS id A81283858425 for ; Thu, 23 Nov 2023 15:56:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A81283858425 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 A81283858425 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:4860:4864:20::2b ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700754993; cv=none; b=GWkRTL2iWYYR/iVPIEibEM54sn74nGbTOi3VNUoJt2WOSnKtqbs49JiOiHMk0gUKBTFze4MqE+iohPnpvpdcjh+aE/CXBVYP0dPTm0oM3zfkmQitQm6ZnaAVUywu5WdPKxHvdPpsIvrVJsAFLQitGCldRqX4B2Dkl4SanhhBSsg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700754993; c=relaxed/simple; bh=2HB7tDUFR1hUDj2nPyP3rn17NXnOq86KxhSMj3m1HhI=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=VMaxgnd7Q4Iyi/Kxqnk4659FsM7CVyM4ANlIdOQg2Og89gDdEIjJ8SK3RoEhJ+6L4NvBb6r1Bg8GZCnuWM8l+Q48X6n8p8BhlBnjMuO5nQt9Eqn8NRLpdiNqVa6WB1KegQ6FNwwUZAwdp9RNBmbf5lsNdQiEWbSKHwVmGqK3bWk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-oa1-x2b.google.com with SMTP id 586e51a60fabf-1f9e6a49bd2so50681fac.1 for ; Thu, 23 Nov 2023 07:56:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700754990; x=1701359790; 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=XJZQksPwgGE/w9bxxJgmrAwUEEkLDPn5g0XkD5ldOcg=; b=SjT9pUJ1OsO77rV0ZszzFSqsGzJf1+GCtCC9Q5ksT36cD8GV6BylBea/g2aJm0TcQ1 s9fi4aezZEtoYpKaRq4E2A9IdS/2Y8olzcOlrtpN2oqTsLs6akSQY7luAAjxQkuO8nB8 2ifgOmhBnhGztCQimzi6+Pe2rXB4iYA7+i/blHwOKD+RTX+/q6bcyTgI519s4to1+CaH jx0QZzM2o0GOO+YgIlBodYhb3MhqCTtUM0mmmgoxNYLuCVJAqCBEkW3scNeIr3UT/2Ye vEH5B6usXGqC2iPsSqIUQRo/+88fHA3zO9j6KwNHzvQhDLTKuADKBzrl/MFcURjVHsFw bk+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700754990; x=1701359790; 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=XJZQksPwgGE/w9bxxJgmrAwUEEkLDPn5g0XkD5ldOcg=; b=PYWuwumhbHvQQ9SoXf1LLQBHejLj9zuif35lVLcX6CVBUD3mjETIsC0iFF6kYzq9Su 60emCxP+0BK8z1M/8K08iWZKieTDkxRih5CXhDTIf7GJ9MnOYUWjl+zJAlenNfVTiuvR XwEbPmOwBiSyTPipeJmIJULZSOc3S1VRmj+7mLxNuilK2iTQ8KLzxRkJFQTl3MY+t5qU 152PcNyQrlANfbJdPJ9YCPcy4F4lhVcirhoZERr+pbEpDj53scSHxHTITCNQk+kvkUXx PPmJtcS1kfai2yCDBwJ+9b77HKaBGOjKABUZQatUWKS5UWXh5ly7ikEbScVatj8KCG0K ZEhw== X-Gm-Message-State: AOJu0YxkBvXCfpuhs70dd31WHHENjFT/D432pe5uVhg8Jaour5qgti8u tGBUqOzvMMxY8RVsOVfP6l1JqvX0IQSYfATGhkD6KA== X-Google-Smtp-Source: AGHT+IHBYVtE+HfUx+fBqjyHFqSe1f7ru6Ehpv9SImlK8ns2syt42DEyi55WsRDeD01rCY70EQXDtw== X-Received: by 2002:a05:6870:6588:b0:1f9:df76:435e with SMTP id fp8-20020a056870658800b001f9df76435emr451115oab.5.1700754990219; Thu, 23 Nov 2023 07:56:30 -0800 (PST) Received: from localhost.localdomain ([139.178.84.207]) by smtp.gmail.com with ESMTPSA id qc5-20020a056871e7c500b001eb814093b0sm353146oac.34.2023.11.23.07.56.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 07:56:29 -0800 (PST) From: Christophe Lyon To: gcc-patches@gcc.gnu.org Cc: Christophe Lyon Subject: [PATCH] arm: [MVE intrinsics] Add default clause to full_width_access::memory_vector_mode Date: Thu, 23 Nov 2023 15:56:27 +0000 Message-Id: <20231123155627.2335026-1-christophe.lyon@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-12.8 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, T_SCC_BODY_TEXT_LINE 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+incoming=patchwork.ozlabs.org@gcc.gnu.org My recent commit 0c2037d9d93a8f768cb11698ff794278246bb31f added a switch statement lacking a default clause, leading to warnings or errors when building with --enable-werror-always. Fix by adding an empty default. Committed as obvious. 2023-11-23 Christophe Lyon gcc/ * config/arm/arm-mve-builtins-functions.h (full_width_access::memory_vector_mode): Add default clause. --- gcc/config/arm/arm-mve-builtins-functions.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/config/arm/arm-mve-builtins-functions.h b/gcc/config/arm/arm-mve-builtins-functions.h index 6d234a2dd7c..1c93e6436b5 100644 --- a/gcc/config/arm/arm-mve-builtins-functions.h +++ b/gcc/config/arm/arm-mve-builtins-functions.h @@ -1013,6 +1013,8 @@ public: case E_V8HFmode: mode = E_V8HImode; break; + default: + break; } if (m_vectors_per_tuple != 1)