From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by sourceware.org (Postfix) with ESMTPS id 440B73858D35; Tue, 7 May 2024 18:35:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 440B73858D35 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 440B73858D35 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::102c ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715106952; cv=none; b=WsGvkXAs5bzz70O0fdmkSWVuuTbbaOLjN01KUV6Cp2D7//yQHwdFjCdYIQq4Q1y66LbPJLdFCdP/VKNT3wEqz9devbLyv7a8Y3rtdvkfTAH1MGlmfcWYi7NKB0CxM1NFmAR0WKN9at4r7dKgFtmvKDEGF4KjmNZ7Kdise1teTOI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715106952; c=relaxed/simple; bh=ZAKqovvAHuYofXCifZ7od8ru6qPdNvv7wM1DALPt8lc=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=kTP+UdZrypRPZN/MsYREwQkHMZH4y155/GEML/DXGkgN0SDS4GFfgAdloLyuDD2vAIIc5SZUmD+My3LZcHvhVisFlT/xs62UhS7SfWo380hB7Ag4856e7xqL2/k+bWFbsNKTbK+RwJzR39r4NbaiG+ag9QgYrDGQOpCBNia9fYA= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-2b387e2e355so2354411a91.3; Tue, 07 May 2024 11:35:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715106949; x=1715711749; darn=gcc.gnu.org; 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=q7Ac/mgRImr+5x6Xo49mvTUt9JJ7H6fYzoxXTDh7jhU=; b=HOsLj2/N0ROnrf51Si5WNv+jZA6mDaiiim4IolH7W+jwbbdc/tAc2Jw9hnChFI7Tcm RPsqeq20GdeplB2Bv+GHOqrn6pqQ1IDXbG0OU4QDNGECp2KQyrinNNszzYXk+qKhOpy5 a2sSGRWShxHtQ6R6RPneyEGmYVZHUDWyU1CHo5j5Ri4i9m5H67GvZqzQAQgHuT4kXmdw 8T40mQof5Cwz+UAExPxotZIpcA5YrtJDwZpijvUTqNnUKrrH5F45KbzpM8tNPFa2ZW8o N9FWmdIFabRly1phzUm2ocrBaxYSExHcqrh7jDGQXU9PGdDxzwzvfSQyh1rxJF835NfE P6Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715106949; x=1715711749; 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=q7Ac/mgRImr+5x6Xo49mvTUt9JJ7H6fYzoxXTDh7jhU=; b=bSRvFYbNvc2JGwgbWiYYJAjnKFc9NkQKHfPvz+G9V5nx9LurkzQW+JXN4KwKxs+NHU JEf/h9PxdOrG+AitDNGmsaVh9Fyyau4Ot1FvnVATMwPyVwrj33nCDBNDv3MhqFS2qCfl A5kBlZZ/aG3Ks2cQjFcuBS4K9K4JTfMyqsBfMHiDvSIqGJhoofbgbTqWP3gY2sZ6lQW0 QSkUVAMv3G5sszI/pqzHcNpzBvhRi19bcDljz4V1vB7P9XzohSYfhq9sa+bARW/ZVFXc uRHqWsko5vqV/maGvfwWbPu3l4xwIfKRObewHpF20wKTpSYbHykLo5HLUNE+ra4cpZbN y6LQ== X-Forwarded-Encrypted: i=1; AJvYcCWEb0lfmMgpaU6QLc1u2oZp6RmtpFDHws1N6Q2NT7N8br0AHdTFetdFucStYItdoPzfQdl3Z9IKg7N3MnVp/xE= X-Gm-Message-State: AOJu0Yz7zQ2E2CARO07yyKJvRjxYpmt7Pj6Lu9/P3TlkxGsdyYmp2/yO GRoA8sAI2Yq960OIRHDbcDKQB12zl/ln6S3gmPlnrvVGvcUbUmsC1JMG6oLwLQvJcp8TXqXjw3Z QYerjy7kJ6Bc2oq+ontzdTdeMaPMe1k4P X-Google-Smtp-Source: AGHT+IGhxIqTkn/cA2T6vJfnvzIHjAJPntE+Y6BKhcwsLF75ASzz/uc0uIIwWXQrUFLvWvywegxZEFkdo1mEQgMWHM8= X-Received: by 2002:a17:90a:b893:b0:2b2:9c3a:8cfc with SMTP id 98e67ed59e1d1-2b6165a665bmr490399a91.11.1715106949249; Tue, 07 May 2024 11:35:49 -0700 (PDT) MIME-Version: 1.0 References: <2299c71f-5e16-4cbd-bcd6-aadbdb1f7367@moene.org> <20f38dcd-21b7-42a0-b251-e36a87fdced5@moene.org> <9126210e-9e94-4c37-8b0b-149be2467dd8@moene.org> In-Reply-To: <9126210e-9e94-4c37-8b0b-149be2467dd8@moene.org> From: Andrew Pinski Date: Tue, 7 May 2024 11:35:37 -0700 Message-ID: Subject: Re: Tests of gcc development beyond its testsuite (in this case, for gfortran) To: Toon Moene Cc: fortran@gcc.gnu.org, gcc mailing list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP 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 Tue, May 7, 2024 at 11:31=E2=80=AFAM Toon Moene wrote: > > On 5/7/24 00:02, Toon Moene wrote: > > > OK, perhaps on the aarch64 I need the following option to make the > > comparison fair: > > > > =E2=80=98rdma=E2=80=99 > > > > Enable Round Double Multiply Accumulate instructions. This is on b= y > > default for -march=3Darmv8.1-a. > > > > I.e., -mno-rdma > > > > (I hope that's correct - I'll will try that when the Sun rises again an= d > > I have some power to run the AArch64 machine ...). > > Well, I did two independent runs with gfortran-13.2 and the following > options: > > -O3 -march=3Darmv8.1-a+rdma > > and > > -O3 -march=3Darmv8.1-a+nordma > > No difference in the number of error runs exceeding the prescribed > thresholds. > > So, unless I made a mistake in the option specification (or the compiler > silently ignored them because they were not applicable to my machine - > ugh), the cause of the problem lies elsewhere. AARCH64 armv8-a has FMA as part of its base ISA. So you want to try with `-ffp-contract=3Doff` instead. RDMA turns on/off instructions which are not used by the auto-vectorizer (yet) and used by intrinsics for them (If I read the code correctly). Thanks, Andrew Pinski > > Kind regards, > > -- > Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290 > Saturnushof 14, 3738 XG Maartensdijk, The Netherlands >