From owner-freebsd-hackers@freebsd.org Sat May 25 20:50:28 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4DAA215B5E1A for ; Sat, 25 May 2019 20:50:28 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id CF8FD88A1A for ; Sat, 25 May 2019 20:50:27 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from yv.noip.me (c-67-180-169-236.hsd1.ca.comcast.net [67.180.169.236]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id x4PKoPbo082191 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Sat, 25 May 2019 13:50:26 -0700 (PDT) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-67-180-169-236.hsd1.ca.comcast.net [67.180.169.236] claimed to be yv.noip.me Subject: Re: What is the portable 128-bit floating point type? To: Konstantin Belousov Cc: Freebsd hackers list References: <20190525200437.GV2748@kib.kiev.ua> From: Yuri Message-ID: Date: Sat, 25 May 2019 13:50:24 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190525200437.GV2748@kib.kiev.ua> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: CF8FD88A1A X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-7.00 / 15.00]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.996,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 May 2019 20:50:28 -0000 On 2019-05-25 13:04, Konstantin Belousov wrote: > Neither i386 nor amd64 have hardware-supported 128 bit floating point > type. long double is defined by both i386 and amd64 Unix ABI as 80 bits > (10 bytes) representation as defined by IEEEE FP standard and supported > by x87 FPU (not-SSE). The difference in size is due to the different > natural alignment between 32 and 64 bit ISA. So it looks like there is no true quad-precision float available. Based on this conversation https://github.com/bluescarni/mppp/issues/186 FreeBSD used to support __float128. Why was it removed? Yuri