Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <vb6ies$39gap$1@dont-email.me>
Deutsch   English   Français   Italiano  
<vb6ies$39gap$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: BGB <cr88192@gmail.com>
Newsgroups: comp.arch
Subject: Re: Computer architects leaving Intel...
Date: Tue, 3 Sep 2024 03:47:21 -0500
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <vb6ies$39gap$1@dont-email.me>
References: <vajo7i$2s028$1@dont-email.me>
 <memo.20240827205925.19028i@jgd.cix.co.uk> <valki8$35fk2$1@dont-email.me>
 <2644ef96e12b369c5fce9231bfc8030d@www.novabbs.org>
 <vam5qo$3bb7o$1@dont-email.me>
 <2f1a154a34f72709b0a23ac8e750b02b@www.novabbs.org>
 <vaoqcf$3r1u3$1@dont-email.me>
 <2366e332022b8bc8bf2cae9dae663eeb@www.novabbs.org>
 <vaqgtl$3526$1@dont-email.me>
 <d0539090a239743b48e51ec4ae7ecffd@www.novabbs.org>
 <vathse$m1vn$1@dont-email.me>
 <67b047dcb5e46380694b8cddaf1658bb@www.novabbs.org>
 <vb11t3$1dehl$1@dont-email.me> <vb2lt5$1krug$1@dont-email.me>
 <72812b932668bb11eab784134915ff4b@www.novabbs.org>
 <vb53s9$2v9pv$1@dont-email.me>
 <8535087e15a1269e26d1537475619153@www.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 03 Sep 2024 10:47:25 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="783eb7dce22881ed906254b1b1b58046";
	logging-data="3457369"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+VxBk8aYv/xPF2NTkVKtAqVm6xDBvUrKU="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:QbHb1TLxY/odYz1x5192HWpYQwE=
Content-Language: en-US
In-Reply-To: <8535087e15a1269e26d1537475619153@www.novabbs.org>
Bytes: 2764

On 9/2/2024 8:47 PM, MitchAlsup1 wrote:
> On Mon, 2 Sep 2024 19:32:23 +0000, BGB wrote:
> 
>> On 9/1/2024 6:32 PM, MitchAlsup1 wrote:
>>>
>>> More modern machines have RND nobody will ever have REM.
>>
>> Which is probably not a lot, as off-hand I am not aware of many ISA's
>> that have floor/ceil/round in the ISA itself, rather than doing it via
>> conversion to an integer type.
> 
> VAX has round float* to float* 1978.....

So, there is this, and FRNDINT in x87.


Looks like there is ROUNDPS and ROUNDPD in SSE4.1, ...

I missed these as apparently my copies of the Intel docs were too old 
(only covering SSE2).

Looks like VRINT in ARMv8.


So, it seems I can find more examples than I thought...



I guess it is a question how often these are needed. As described in 
ARM's VRINT, it could allow doing floor() or ceil() in a single 
instruction. Not sure how much it would save as I don't expect 
floor/ceil to be common enough to justify this.


Could almost add this if needed, possibly as a hack to the usual 
Float->Int conversion process.