From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by sourceware.org (Postfix) with ESMTPS id 7F3373858C33 for ; Wed, 19 Jul 2023 18:35:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7F3373858C33 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=googlemail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=googlemail.com Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-3172144c084so154004f8f.1 for ; Wed, 19 Jul 2023 11:35:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20221208; t=1689791738; x=1692383738; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=JNDFgQI3WZzEP3Jo/OdleSgNjdlQLrnYAyk6FyaJJlI=; b=ECbSfasoYLGUHSE6gankAzTI1EUK49fWzsB5Uk6tZMvcfir6+odKwhaPYlXRs5suZC viOsN3Qx7hE265EWk8aHzItKlXs5NopYJsNRQJ9hj12xXXdauB0Z7NmVI1sP9rcbggcy xRo6E4kfnHG68AcPJq1BYS2YaxQxr+KuJPp41Jg+J1b6s3bvlH9g+46ycTOZUdfqkn21 Fvx8FskaF2MJhKC8DNP73IQGXG2pkjhKFjWm1P9k6UxameydbfhYOUt7jL+EWtJph6oZ KPcyt5Xth1BQwHvcPizTeg2ofsDk05EP6VC6mGNNpj+KPgqVkYXZjRUHSiAhVMBUsfdp GNZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689791738; x=1692383738; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JNDFgQI3WZzEP3Jo/OdleSgNjdlQLrnYAyk6FyaJJlI=; b=FzzLtsQ5yiBqVjcCBZ1is8oSsNFpKo9tNoIvZCXCP7Qgva9q25+hqGWTpG2AdSvUMM DPM/ZMhnbHq24N3e77C4D8pv7wohUHGLcPg5YgkdrMZlRVqrubQSF2qAIXN7yGJ7d60f zEI9UYa1fqTaPB0Ffk2dqfqv9UvtH/Qz52PwUsNmvVXAKfrkVGhQLurt0KcWRBiMLL72 AJNoNf07X+RSVauqayEXaRfGR6MnS2CPJuRi/fkMTIF75uMWLl5zQCYAFrs3rL7ILS6Z EH4x7X7yW95WGs+Y0kRKA3C45d/lMNvrcW9ncHz+MLVg/H8bFSZAuXvQAFQ5q+ksXKxG PWdg== X-Gm-Message-State: ABy/qLa3BQOhMGDl9IApwAleD06cIL7JJMtI7FrpXWwzCC4Zh7Htl/Wf XPqd5hxVJiQeaK6ROTdda/Pri9y4i/i0Rj7TAaQ= X-Google-Smtp-Source: APBJJlGVC3Ja25rNn6+8lWBmaN/J7/D6P/92ahTTPbv04URmh3yMn2UrpYD42bDXRGuBDIXR+WoSPyOA/dwxRnIo6ls= X-Received: by 2002:a5d:49c3:0:b0:313:fbd0:9811 with SMTP id t3-20020a5d49c3000000b00313fbd09811mr544880wrs.3.1689791737695; Wed, 19 Jul 2023 11:35:37 -0700 (PDT) MIME-Version: 1.0 References: <98b3efca-4c1c-7797-022c-0be09087d086@e124511.cambridge.arm.com> In-Reply-To: From: Ramana Radhakrishnan Date: Wed, 19 Jul 2023 19:35:26 +0100 Message-ID: Subject: Re: [GCC 13 PATCH] aarch64: Remove architecture dependencies from intrinsics To: Andrew Carlotti Cc: gcc-patches@gcc.gnu.org, richard.sandiford@arm.com, Richard Earnshaw Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_SHORT,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 Wed, Jul 19, 2023 at 5:44=E2=80=AFPM Andrew Carlotti via Gcc-patches wrote: > > Updated patch to fix the fp16 intrinsic pragmas, and pushed to master. > OK to backport to GCC 13? > > > Many intrinsics currently depend on both an architecture version and a > feature, despite the corresponding instructions being available within > GCC at lower architecture versions. > > LLVM has already removed these explicit architecture version > dependences; this patch does the same for GCC. Note that +fp16 does not > imply +simd, so we need to add an explicit +simd for the Neon fp16 > intrinsics. > > Binutils did not previously support all of these architecture+feature > combinations, but this problem is already reachable from GCC. For > example, compiling the test gcc.target/aarch64/usadv16qi-dotprod.c > with -O3 -march=3Darmv8-a+dotprod has resulted in an assembler error sinc= e > GCC 10. This is fixed in Binutils 2.41. Are there any implementations that actually implement v8-a + dotprod ?. As far as I'm aware this was v8.2-A as the base architecture where this was allowed. Has this changed recently? regards Ramana