From nobody Thu Jun 25 18:32:23 2026 X-Original-To: freebsd-hackers@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 4gmS8s1Xkwz6j8sW for ; Thu, 25 Jun 2026 18:32:45 +0000 (UTC) (envelope-from kargls@comcast.net) Received: from resqmta-h2p-567408.sys.comcast.net (resqmta-h2p-567408.sys.comcast.net [IPv6:2001:558:fd02:2446::8]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4gmS8r5ZHLz3RdK for ; Thu, 25 Jun 2026 18:32:44 +0000 (UTC) (envelope-from kargls@comcast.net) Authentication-Results: mx1.freebsd.org; none Received: from resomta-h2p-555627.sys.comcast.net ([96.102.179.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resqmta-h2p-567408.sys.comcast.net with ESMTPS id cjXFwgsZc12c3cosPwa8ni; Thu, 25 Jun 2026 18:32:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1782412357; bh=YO75WsW9tWrCHzkSO0ApqsAIsse2iMa2drKddJV0GqU=; h=Received:Received:Message-ID:Date:MIME-Version:Subject:To:From: Content-Type:Xfinity-Spam-Result; b=aWwUIzQylQ5bgEbRPEUKynVXSuRUhnD+SBSm5XFcYs/wd+M8VQ00nXiH7cc0EZyNJ jjAu5F4pUY3pkHH39mi7l2ctUSPe4HrJCvf66Wdv/FaVKQJq0gcOoowkwdfsHt/E8x +omaIYnWqy4mYTxUeT9uFiC1AKyNv0Lqyou2nEVcNtFqCTNNdTX3T4/ExNUp8XGVYF RjUIYGliq5JTz2b/Tzd6QiVRHdvxlFST5ffOuJLNPMVEZTBwfZzZ9ff6Lummto3Uq2 +Rtsa+x4ecArZgbP/1FSM2CapwhJi30sVKZWnelC15lp8sS8m/SBzzRCdtKQayxuG3 p8NxszetHgrUA== Received: from [192.168.204.10] ([128.95.76.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resomta-h2p-555627.sys.comcast.net with ESMTPSA id cosBwFki1pdorcosDwj5Oe; Thu, 25 Jun 2026 18:32:34 +0000 Xfinity-QID: cosBwFki1pdorcosDwj5Oe Xfinity-Graffiti: 71908920713 Message-ID: <29b5b60c-0395-410a-878c-e93b88927f2b@comcast.net> Date: Thu, 25 Jun 2026 11:32:23 -0700 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Please revert b2e843161d To: Andrew Turner Cc: freebsd-hackers References: <09C557A3-7D0A-42D7-A463-9E4162D86758@fubar.geek.nz> Content-Language: en-US From: Steve Kargl In-Reply-To: <09C557A3-7D0A-42D7-A463-9E4162D86758@fubar.geek.nz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfE3lPJ0DNE+bWLufrOTiyI5r5S5l1aGHh3YRj7CoXHj8HOEvvTNilqQWifYwYeGXPI1/8cGfWMa4D10W/UexXdFaQHWGpWQNR0F6ysHF5i1uVMh0xsJl soK1BoHo1XQVroyavDQxgwftfIkNQMrMXu6qwqK1iqbeXdwV4RJ6+LELzvuXDtrYHYgOEr+ACUFyz3V4Pb1CgHtD5LLQNSBgnChXWMwmUrJIHMMYA7f5wY+/ X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7922, ipnet:2001:558::/29, country:US] X-Rspamd-Queue-Id: 4gmS8r5ZHLz3RdK X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated On 6/25/26 10:57, Andrew Turner wrote: > > I don’t expect it to work on amd64 in the general case. Godbolt shows > both GCC and Clang generating an infinite loop jumping to its self [1]. > It may work on some architecture levels, however I don’t know enough > about amd64 to know if it’s safe to enable. > > The USE_BUILTIN_* flags aren’t intended on being set by users as you found. The comment in the source code certainly does not alert a user to not use -DUSE_BUILTIN_FMAF (or any of the other USE_BUILTIN_*). Architecture specific code should be in msun/arm/. It would also seem to me that if this is indeed arm specific then it should be guarded with "#if defined(__ARM) && ..." -- steve