From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by sourceware.org (Postfix) with ESMTPS id A39193858C2C for ; Fri, 22 Apr 2022 13:17:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A39193858C2C Received: by mail-ej1-x632.google.com with SMTP id k23so16389769ejd.3 for ; Fri, 22 Apr 2022 06:17:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=62Ao19YD9Kmrx/M65KgOgKKgFSB8WeF5X492mWOMkFI=; b=nChIIydUyvDrAo8WkXSxLXW4khVZ8AVlbCPjCy3u/08XjsC7RpbqZ8RavE2zIdSwlH b/nEE2dBr/RzU5d2gCy9+3jQPspR7Roptm297OzfprQSEx5uYKmK5/zzlQZzPEEDY2RA 6jDOxtAv5rOuMmKS+UPyFb/yKrXn9MXMdS/eaLym5VG1Tn2WdkjogQ9s1pWh8/b3syBT SmjDsnNkxgjdrf/0DKpaVzVcfdPbcwR4hfjw6GqcKsAYV7lv6Yr1knBhvrzk7yCn9B3t pN2bxNJAsOs3bZhgt323tmIkxOLVUgf7ItqLUx92QEqfvTiRx6UO2OIu4TUyb/cJZ6EK nMXw== X-Gm-Message-State: AOAM53012QLBWIdpEdNMPIeTAOavJjjxUGW2Of+t+aegEphUkkatW/+i IaotJz3kmN94j3VmDiVqeqspZ9YSg3g= X-Google-Smtp-Source: ABdhPJxSq9C1YVxg3yiNX1jOamCMy7ZW7MhMglNnr1UjBZbVjSPyrOBNuLDISKNpjaCpTq9tU0dCuA== X-Received: by 2002:a17:906:2bd4:b0:6e8:7e5:39b6 with SMTP id n20-20020a1709062bd400b006e807e539b6mr4114151ejg.25.1650633430232; Fri, 22 Apr 2022 06:17:10 -0700 (PDT) Received: from ishi (ip-94-113-197-231.net.upcbroadband.cz. [94.113.197.231]) by smtp.gmail.com with ESMTPSA id p16-20020a170906785000b006f2d8530459sm570547ejm.112.2022.04.22.06.17.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 06:17:09 -0700 (PDT) Date: Fri, 22 Apr 2022 15:17:07 +0200 From: sajcho To: gcc-help@gcc.gnu.org Subject: Do not perform tests that are not supported by the CPU. Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/2.2.1 (Linux 5.17.3-saux aarch64) X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2022 13:17:13 -0000 Hi. lscpu output: Architecture: aarch64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 6 On-line CPU(s) list: 0,3-5 Off-line CPU(s) list: 1,2 Vendor ID: ARM Model name: Cortex-A57 Model: 3 Thread(s) per core: 1 Core(s) per cluster: 4 Socket(s): - Cluster(s): 1 Stepping: r1p3 CPU max MHz: 2035,2000 CPU min MHz: 960,0000 BogoMIPS: 62.50 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid Caches (sum of all): L1d: 128 KiB (4 instances) L1i: 192 KiB (4 instances) L2: 2 MiB (1 instance) NUMA: NUMA node(s): 1 NUMA node0 CPU(s): 0,3-5 Vulnerabilities: Itlb multihit: Not affected L1tf: Not affected Mds: Not affected Meltdown: Mitigation; PTI Spec store bypass: Not affected Spectre v1: Mitigation; __user pointer sanitization Spectre v2: Mitigation; Branch predictor hardening, BHB Srbds: Not affected Tsx async abort: Not affected ../configure --prefix=/usr --libexecdir=/usr/lib --enable-languages=c,c++,fortran,lto --enable-threads=posix --enable-__cxa_atexit --enable-default-pie --enable-default-ssp --enable-linker-build-id --enable-initfini-array --enable-link-serialization=1 --enable-gnu-indirect-function --enable-plugin --disable-nls --disable-multilib --disable-sjlj-exceptions --disable-libunwind-exceptions --disable-libquadmath-support --disable-libquadmath --with-system-zlib --with-linker-hash-style=gnu --with-build-config=bootstrap-lto --with-pkgversion=SAUX-Aarch64 --build=aarch64-unknown-linux-gnu --host=aarch64-unknown-linux-gnu make profiledbootstrap This is where my question begins. Is there any easy way to avoid tests (sve, sve2, aapcs ....) that are not supported by this cpu? Thanks. Milan --- Remember, no question is too stupid and no problem too small *** We've all been beginners ***