From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by sourceware.org (Postfix) with ESMTPS id 892483858D3C for ; Mon, 14 Feb 2022 21:00:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 892483858D3C Received: by mail-pj1-x1030.google.com with SMTP id c5-20020a17090a1d0500b001b904a7046dso467229pjd.1 for ; Mon, 14 Feb 2022 13:00:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OJW0oHoiIQ7ySCZyAOGNjq7EAVd15gJr6FTkjYA0l1Y=; b=UvUl6+NlixxcXrsjjG+JuS/7l81ZSyVgHbOUhAJqI1le3JLzpECU1dW6NPn2pCG73B GogAkch+bdSUSp7Ido5SuK2p/tJh4pwfdSI4ezQn2vsD9v+akWnLG+tlv1Nxgt6kUIvO zU6oQk0JRou6d93sgmIotkDrrhS8MhYLmkY70niLB008ik7diwFnijMmoK1GJYyRLFWg 7QjSpzjPmerJAjCb13+KOoODnaGFzeE2E+xYn0SKYeiJtAvyzRzDH8Z5Vz8btFmeGC2F pYW13hrYyPYs/2rX5Bv+twjpTioDj5fuWi5PsuDOWuqDhCM7hG56TmV5d9FWrmv3MwhN HYog== X-Gm-Message-State: AOAM533/YBBWfEPlPQdjSRUnXBYK5PbUD8EQLk2HFIQ4NmD6Knk4gUVJ YNPVDgPsTKE9ETqDf+NUveCdYCqEPrBr55mXZXY= X-Google-Smtp-Source: ABdhPJzKOpNLdpoUDWs9hLbxHWtnCAB83y9CrRAOz4OFb4XksVfq+z7EDUcE/yEWvLFXizRVrsFhwjqg42AGH9mfmhE= X-Received: by 2002:a17:902:e84f:: with SMTP id t15mr863592plg.102.1644872406577; Mon, 14 Feb 2022 13:00:06 -0800 (PST) MIME-Version: 1.0 References: <20220109122946.2754917-1-goldstein.w.n@gmail.com> <20220110213540.1258344-1-goldstein.w.n@gmail.com> <20220110213540.1258344-5-goldstein.w.n@gmail.com> <87ilthv8s9.fsf@igel.home> <87y22dtg19.fsf@igel.home> <87tud1tf5d.fsf@igel.home> In-Reply-To: <87tud1tf5d.fsf@igel.home> From: "H.J. Lu" Date: Mon, 14 Feb 2022 12:59:30 -0800 Message-ID: Subject: Re: [PATCH v3 5/7] x86: Optimize strcmp-avx2.S To: Andreas Schwab , Sunil K Pandey Cc: Noah Goldstein via Libc-alpha , Noah Goldstein Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3020.3 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, T_SCC_BODY_TEXT_LINE 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: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2022 21:00:09 -0000 On Mon, Feb 14, 2022 at 11:35 AM Andreas Schwab wrote: > > On Feb 14 2022, H.J. Lu wrote: > > > On Mon, Feb 14, 2022 at 11:16 AM Andreas Schwab wrote: > >> > >> On Feb 14 2022, H.J. Lu wrote: > >> > >> > On Mon, Feb 14, 2022 at 6:10 AM Andreas Schwab wrote: > >> >> > >> >> I'm seeing erroneous behaviour with this. There are random cases of > >> >> misbehaviour on build workers with AVX2, for example: > >> >> > >> >> https://build.opensuse.org/package/live_build_log/home:Andreas_Schwab:glibc/glibc:cross-riscv64/f/x86_64 > >> >> > >> >> riscv64-suse-linux-gcc: error: unrecognized command-line option '-frounding-math' > >> >> make[2]: *** [../o-iterator.mk:9: /home/abuild/rpmbuild/BUILD/glibc-2.35.9000.58.g7912236f4a/cc-base/time/tzset.o] Error 1 > >> >> make[2]: *** Waiting for unfinished jobs.... > >> > > >> > How reproducible is it? > >> > >> 100%. > >> > > > > Can I reproduce it with scripts/build-many-glibcs.py on > > any machine which uses strcmp-avx2.S? > > Maybe. > I can't reproduce it. It sounds very similar to https://sourceware.org/bugzilla/show_bug.cgi?id=28646 The failure can only be triggered by a specific setup. Noah, can you figure out what went wrong? -- H.J.