From nobody Mon Dec 25 15:08:16 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SzLrK5CnXz54rGD for ; Mon, 25 Dec 2023 15:08:17 +0000 (UTC) (envelope-from fuz@fuz.su) Received: from fuz.su (fuz.su [IPv6:2001:41d0:8:e508::1]) (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 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "fuz.su", Issuer "fuz.su" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SzLrK2M83z3gSy; Mon, 25 Dec 2023 15:08:17 +0000 (UTC) (envelope-from fuz@fuz.su) Authentication-Results: mx1.freebsd.org; none Received: from fuz.su (localhost [127.0.0.1]) by fuz.su (8.17.1/8.17.1) with ESMTPS id 3BPF8GR5096845 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 25 Dec 2023 16:08:16 +0100 (CET) (envelope-from fuz@fuz.su) Received: (from fuz@localhost) by fuz.su (8.17.1/8.17.1/Submit) id 3BPF8GT5096844; Mon, 25 Dec 2023 16:08:16 +0100 (CET) (envelope-from fuz) Date: Mon, 25 Dec 2023 16:08:16 +0100 From: Robert Clausecker To: Gleb Popov Cc: Robert Clausecker , freebsd-current@freebsd.org Subject: Re: amd64 SIMD libc work has landed Message-ID: References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4SzLrK2M83z3gSy Hi Glen, Am Mon, Dec 25, 2023 at 06:01:36PM +0300 schrieb Gleb Popov: > On Mon, Dec 25, 2023 at 5:38 PM Robert Clausecker wrote: > > > > Greetings! > > > > I am happy to announce that the FreeBSD Foudation sponsored amd64 libc > > SIMD enhancement work has landed in CURRENT following extensive testing. > > > > Big thanks to all those who assisted in testing and reviewing the > > changes, especially to mjg@ and kib@. > > Congratulations on concluding this project. > > > If there are any problems resulting from this changeset, please do not > > hesitate to file a bug report. > > So, to try this out it is enough to just "git pull && make buildworld > && make buildkernel" ? Yes, indeed! Though note that these changes affect the userspace only. SIMD is generally disabled in the kernel to avoid having to save/restore the SSE state. > > ... at run time by setting the environment variable ARCHLEVEL to "scalar" > > (using hand-written scalar assembly implementations instead) or at > > compile time by building world WITHOUT_MACHDEP_OPTIMIZATIONS. > > Whoa, I'm excited to see the knob I introduced getting more use cases. Yours, Robert Clausecker -- () ascii ribbon campaign - for an encoding-agnostic world /\ - against html email - against proprietary attachments