From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by sourceware.org (Postfix) with ESMTPS id 19D923858C1F for ; Fri, 25 Feb 2022 17:25:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 19D923858C1F Received: by mail-ej1-x629.google.com with SMTP id gb39so12230669ejc.1 for ; Fri, 25 Feb 2022 09:25:22 -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=lXU4dwSp7AvLjCr+bDjF/0JNVuQjQA9XeRIyqc3K5sc=; b=DcGT0Y45nHY5W0+bzNqNd63PkkwcjjX6+uBWLKcEvOeJQQW4rWduBKM6d+WOmy2K91 aRNlIEIkZofgz4hfqYFdffPfLgGJ67hVFJW0x4nKqrWUjX1HsGCsmcVyBiu2XbVTNsxf ocU/dI7RlyfJA6+Ee9q/3XrRGbGH2KnrNz2kAG7z5BP8m29hgfHJmIz9/1iyM2sgkivz Qllnxv5qvXBDJEc74r92zbVsdNKPxuMVPE6P16gJODlt9miGgeqeWfEC+UFo6TVRa64m 7pkZ78bP3gav5ph0RMiafY9geU5GXhMYjTBYuUx8+Gnlsgn++58Kbgg1A8Z1G+Nly/YS 25XQ== X-Gm-Message-State: AOAM530jRitjPEtY9bpYaOBuvxo1XxF1ejvPq3sTJ/Pad5zsdMRFqbns exrPKErNiRhIJW1uIVb67mV0E1TRCzD2A8dXjFC3bw== X-Google-Smtp-Source: ABdhPJz0gmc4isoW/4sMybyQcME3JdZ74+dB3Jdq5qk6g6KU/JBMG7RCxkhDYM/JoTncKbpe+cTyFH+KvwaA/L5rCd8= X-Received: by 2002:a17:906:2555:b0:6b7:5a75:b4f1 with SMTP id j21-20020a170906255500b006b75a75b4f1mr6756978ejb.60.1645809921158; Fri, 25 Feb 2022 09:25:21 -0800 (PST) MIME-Version: 1.0 References: <6349834d9ea31f579b04ba9215b6449ce13f008e.camel@mengyan1223.wang> <1bb8ab09556727917d07ec31683996bb7e493fa6.camel@mengyan1223.wang> <20220224201334.GQ614@gate.crashing.org> <37e3b73aba3fd6dd6c109d0a06680af3577c4b41.camel@mengyan1223.wang> <874k4nvye3.fsf@oldenburg.str.redhat.com> <313b0e6eca1846dd5e994fd4c9f5d77d000247a0.camel@mengyan1223.wang> <9623880f9cd3d097bb76440413eae16b94204cae.camel@mengyan1223.wang> In-Reply-To: <9623880f9cd3d097bb76440413eae16b94204cae.camel@mengyan1223.wang> From: Satish Vasudeva Date: Fri, 25 Feb 2022 09:25:33 -0800 Message-ID: Subject: Re: Libatomic 16B To: Xi Ruoyao Cc: Florian Weimer , Stefan Ring , Xi Ruoyao via Gcc-help X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, 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 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 25 Feb 2022 17:25:23 -0000 That's a great answer. Thank you Have a nice weekend. On Fri, Feb 25, 2022 at 9:16 AM Xi Ruoyao wrote: > On Fri, 2022-02-25 at 09:05 -0800, Satish Vasudeva wrote: > > Thanks for a quick action on this. > > > > I see that a patch has been posted. > > > > I am new to this, can you please clarify what is the build option for > > new and older Intel CPUs? > > You don't need to add any build option if you'll use the posted patch. > The patch uses ifunc (https://sourceware.org/glibc/wiki/GNU_IFUNC) > feature. It means libatomic will automatically select a best variant of > 16B atomic load applicable for the CPU when it's loaded at runtime. > > > > Opened as https://gcc.gnu.org/PR104688 > -- > Xi Ruoyao > School of Aerospace Science and Technology, Xidian University >