From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by sourceware.org (Postfix) with ESMTPS id B5C133858412 for ; Mon, 19 Jun 2023 15:18:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B5C133858412 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-3f907f311ccso25788505e9.1 for ; Mon, 19 Jun 2023 08:18:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687187936; x=1689779936; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=wYH0Cc1XWpU5oVD00fMZcbryrWGfqNm09NHE3skcatU=; b=Bj89FdYjrxJdfb0SsZSvLVgadqnaBPFeIobSUu69tgpEi7J6AQ8NkrErmbdDVc3uti +AscfDC8joxs+BtaVeQLqy1kjLXerAwtudWIMFajk30uAYZp8LvHo4X2WdNxAqZf6CWO NZl5C3yJkV7oYbB2GH7hqO20e+dQGezXIeOpmL4IT3DvAwD8YXsVLXql86AiE40EHSs6 F6wTJVuEUwLXICeRvGX+/KGYXrVL/Q3BcOcfWKQHbSFCwp8vfmS1Dy2TwjKbXZFvKsZp ZzAd1iieA9auom444hDnGPgxqsh6ustwY6jCsD4pzCqVxWQMBa9+IByRvZvvdindEb3M uFgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687187936; x=1689779936; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wYH0Cc1XWpU5oVD00fMZcbryrWGfqNm09NHE3skcatU=; b=Zi9FbM9fFUASYL0mnetdVgqil1WYzpdGRqx6ot2lMGj5n+wsfyR4KvIYKOkOmxcYxW 1bLkskIPQchP2TSpSOKdcpvJer+xfr0PrOUqbukXKSkM+cMCk9nD8Y2A4v9EUpG/Re7A Uy/T3MEyMs0AMI05pGQOGknUwzK8EeXaMFfz72ODEgR9FWTphVzJR/v6F4zqAqMqu4Bk +88DaGYWjUS1QONp8yGgvDfTZIm2TbpPtyYubQfh9MbqkgFOhOaEliGK21LMNB/qdyX+ mgZv+Qv9CNhyIHaQdaQKULqZChVAmvlCs9rSvH9ZXN5/rmHOGX9LoxXv/ZR7dIf1Idj/ Tx4Q== X-Gm-Message-State: AC+VfDztqagN6MQMnxeS6Pv95AwvVRPJrtpuNrJ/LDlpZ+XDItpwKvxy Bwoj+p2+Fu5TJbw9Rrh2Go9x1g== X-Google-Smtp-Source: ACHHUZ7AzNR9XHbwS/Je2+VthIDcBLptETNXdgKijM1e70vZCreEMMDDwu1ZgtOtCE83ftn866IdFg== X-Received: by 2002:a1c:f603:0:b0:3f8:f80e:7b48 with SMTP id w3-20020a1cf603000000b003f8f80e7b48mr7515124wmc.32.1687187936030; Mon, 19 Jun 2023 08:18:56 -0700 (PDT) Received: from [192.168.69.129] (sar95-h02-176-184-10-225.dsl.sta.abo.bbox.fr. [176.184.10.225]) by smtp.gmail.com with ESMTPSA id o19-20020a05600c511300b003f8fe1933e4sm12073013wms.3.2023.06.19.08.18.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 19 Jun 2023 08:18:55 -0700 (PDT) Message-ID: <96cc5d82-ccad-a3ce-5ec0-3a22d807c24a@linaro.org> Date: Mon, 19 Jun 2023 17:18:50 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v2 1/4] aarch64: Add vector implementations of cos routines Content-Language: en-US To: Joe Ramsay , libc-alpha@sourceware.org References: <20230619145634.18801-1-Joe.Ramsay@arm.com> From: Richard Henderson In-Reply-To: <20230619145634.18801-1-Joe.Ramsay@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 List-Id: On 6/19/23 16:56, Joe Ramsay via Libc-alpha wrote: > Data tables for new routines are marked either const > volatile (for AdvSIMD) and writable (for SVE), in order to > prevent overly aggressive constant inlining in GCC. This allows a > single adrp, combined with offset loads, to be used for every > constant in the table. Surely 'const' is always preferred. If you want to force the single adrp, then __typeof (data) *d = &data; asm ("" : "+r"(d)); may be a better solution. Especially vs writable constants. r~