From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 272901F55B for ; Thu, 28 May 2020 12:32:37 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 52FE539730DD; Thu, 28 May 2020 12:32:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 52FE539730DD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1590669156; bh=AAiOE3QFjSJdFThNjKCHuTUyK8GIviwhPLGtLGm4RA0=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=IPKlChiwlr1gsMzvpLKbAkmyz1kirlA6n0aL49zDOizImWWVxlmh1IzYHDbdARTRw s+huxwYg1doEGf2cZ5dql5TzKhKz48JRHHcfMri0pFuroY6hPSiz8OWX7oR9yL+KxI e/NR8KRUBEKv+F//qTCB2ZcAKsIN19mEgOgA/fOY= Received: from mail-il1-x141.google.com (mail-il1-x141.google.com [IPv6:2607:f8b0:4864:20::141]) by sourceware.org (Postfix) with ESMTPS id 008BF387085E for ; Thu, 28 May 2020 12:32:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 008BF387085E Received: by mail-il1-x141.google.com with SMTP id 9so8897387ilg.12 for ; Thu, 28 May 2020 05:32:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AAiOE3QFjSJdFThNjKCHuTUyK8GIviwhPLGtLGm4RA0=; b=KwI6KN+yRLjK6vdz2HRBtVdrxy6z7GBRHTOckFqGIhYN9D7f5bqRCIz2KN7nYyBiJp Znu4RdP0ImfFSfkuHMGBmUkGG+dCpl6HcK4Vztwb1msiNo+JYDpQg/eChmtpSyTSQXGX WedLIFFZNZ9RnUHZveDJHWlM/YmSDqwH5mjUThzvNUMKoM3Fo7csCG7s1hTwLXR5768k 8oRqP6O84IU7yKVThbAhyqIi3XzM/W75tQE48dYszeTdMuNmdYAa2wUNfu+DGFSQZGFA ery1MZe9isM4rtiY6PFzXCcba+YT9ZyIK3A9qFgpUheNJuMVXxFi6GlTrAsVs6Bs0t2l Xo/w== X-Gm-Message-State: AOAM530R4fL53SU1LKPnrABDwEYKdGh7GntISQkukA3oOKYuMNufCfHL 2dCKk0Qwa7j3Hk9K7D5eQRpFbfr9bXz3e10XQ04F2A/i X-Google-Smtp-Source: ABdhPJx97zTnZgaII4WkxWflexl4Q9Ajloi7kfvhBM6OZ8gP6J8PQTkB6zi1SZuBkbFPG6R3ZY+7JcD81vmM4u92c/s= X-Received: by 2002:a92:9f4b:: with SMTP id u72mr2600268ili.273.1590669153534; Thu, 28 May 2020 05:32:33 -0700 (PDT) MIME-Version: 1.0 References: <20200502150243.1347705-2-ibmibmibm.tw@gmail.com> <877dwwckq2.fsf@oldenburg2.str.redhat.com> In-Reply-To: <877dwwckq2.fsf@oldenburg2.str.redhat.com> Date: Thu, 28 May 2020 05:31:57 -0700 Message-ID: Subject: Re: [PATCH v4 2/2] x86_64: roundeven with sse4.1 support To: Florian Weimer , Lili Cui Content-Type: text/plain; charset="UTF-8" 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: , From: "H.J. Lu via Libc-alpha" Reply-To: "H.J. Lu" Cc: Shen-Ta Hsieh , "H.J. Lu via Libc-alpha" Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" On Thu, May 28, 2020 at 5:22 AM Florian Weimer wrote: > > * H. J. Lu via Libc-alpha: > > >> Here is a benchmark result on my AMD Ryzen 9 3900X system: > > > > Since we don't know or may not care SSE4 machines without AVX, > > should we make it to AVX only? > > What about Goldmont/Tremont? Those are current CPUs which do not > support AVX, but I think they have sufficient SSE4 support levels for > this change. > Good point. Lili, please collect glibc micro benchmark roundeven/roundevenf data before and after: https://sourceware.org/pipermail/libc-alpha/2020-May/113533.html on Tremont. -- H.J.