From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sourceware.org (Postfix) with ESMTPS id D54313858431; Mon, 22 May 2023 20:56:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D54313858431 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=inria.fr Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=inria.fr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:reply-to:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=acu3OpaU/Lpn1v6LSK9i5w9uuuJ2yfg7ICP/KiOv1AE=; b=DCd37p5+ovPMqPRhDnhT1LUjBWB0Be6/0TLupJJQMVusonLjPCCgdyJ2 t/I3MFd72ZVZs7+pKMa1Ss+LORF4xgkV+2sFP5qLQcCEMS7Lr0MkN6KdQ Qd9Ig8BAZZS2FvFwsVrdx5iXDAb/B/sITxqs6IAoVzCnh71b5UwFfwrS7 E=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=marc.glisse@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.00,184,1681164000"; d="scan'208";a="56684058" Received: from 85-171-189-19.rev.numericable.fr (HELO hippo) ([85.171.189.19]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 May 2023 22:56:58 +0200 Date: Mon, 22 May 2023 22:56:57 +0200 (CEST) From: Marc Glisse Reply-To: libstdc++@gcc.gnu.org To: Jonathan Wakely cc: Matthias Kretz , gcc-patches@gcc.gnu.org, libstdc++@gcc.gnu.org Subject: Re: [PATCH] libstdc++: Add missing constexpr to simd In-Reply-To: Message-ID: <11b29c5b-e25d-18aa-16d0-1780c215c9ba@inria.fr> References: <116291317.nniJfEyVGO@minbar> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_SHORT,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 List-Id: On Mon, 22 May 2023, Jonathan Wakely via Libstdc++ wrote: >> * subscripting vector builtins is not allowed in constant expressions > > Is that just because nobody made it work (yet)? Yes. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101651 and others. >> * if the implementation would otherwise call SIMD intrinsics/builtins https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80517 and others. Makes sense to work around them for now. -- Marc Glisse