From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by sourceware.org (Postfix) with ESMTPS id 9A9D63858C83 for ; Mon, 14 Feb 2022 23:42:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9A9D63858C83 Received: by mail-pf1-x431.google.com with SMTP id l19so26097384pfu.2 for ; Mon, 14 Feb 2022 15:42:32 -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=SBdtK4TEOUJKqoo9HLpwxQNuggYwnVckOe6IIZAQHpk=; b=ZKEAgFbBTRwzVXUABe7uPyBRjZMeJ//xe0k+EURHH6haVqdwhkepOPBymzHB4SpSdh 9NnA8ZipUdyxSRRHyBIUs6ABrOrOibFkSqMt3cb9/MbUJukUHr2rgL/nh+8HZf7mH4Q+ khLnkHElskYtW76H4apTHKed1axBzhvD3NZGXgmTmA+JyGJqjv2STYxF1PjGDztBcBce R9cq6xcf+eA8KQsO59G9cMhokgUQ6raooGWPr1yvuB+ZkpvrHref5WYfEqmtCagTvR6e 3fph5s2DY+wb2TNEcaBd//kvoJSE5M/MD6ru37rXr3XcipcI3qlTbkHfBj5ac2UncFQX W+2w== X-Gm-Message-State: AOAM533AKvssC861jkGdG1P/8PvFCPdnFVLqPaKJlF+UO4S/zuMmw8s9 AkS9UrDXATzU931jCsopDVGga0/zz6PK2TYpOcs= X-Google-Smtp-Source: ABdhPJxdjguJhCRnyfo9SsRE8ejhJvjlEUQqT5Qt3NYyCVWx1YYjFSWARFnW9x5reacoaWm6iho4RF0vcifbj9TZ+ho= X-Received: by 2002:a63:698a:: with SMTP id e132mr1250950pgc.14.1644882151709; Mon, 14 Feb 2022 15:42:31 -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: From: Noah Goldstein Date: Mon, 14 Feb 2022 17:42:20 -0600 Message-ID: Subject: Re: [PATCH v3 5/7] x86: Optimize strcmp-avx2.S To: "H.J. Lu" Cc: Andreas Schwab , Sunil K Pandey , Noah Goldstein via Libc-alpha Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3.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 23:42:34 -0000 On Mon, Feb 14, 2022 at 3:00 PM H.J. Lu wrote: > > 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 Do you change the ifunc to prefer avx2? > > The failure can only be triggered by a specific setup. > Noah, can you figure out what went wrong? Looking into it. Andreas where can I see the build command you used? > > -- > H.J.