Article View: comp.arch
Article #411Re: interrupt handling latency and weird register use (was Re: OT: Epic RISC-V rant)
From: Waldek Hebisch
Date: Wed, 28 Oct 2026 12:17
Date: Wed, 28 Oct 2026 12:17
36 lines
2946 bytes
2946 bytes
Terje Mathisen <terje.mathisen@tmsw.no> wrote:
> MitchAlsup wrote:
>> anton@mips.complang.tuwien.ac.at (Anton Ertl) posted:
>>
>>> makendo <makendo@makendo.invalid> writes:
>>>> The case where division is implemented but
>>>> multiplication is not does not have a name assigned -- it is pretty
>>>> well known that hardware designers, compiler writers and low-level
>>>> programmers hate division far more than multiplication, so I doubt
>>>> if divison-only hardware is even out in the wild for any ISA...
>>>
>>> I don't think that "hate" is the right concept. Division is costly:
>>
>> But "lack of division" is also costly !! especially if some future
>> implementation will have division {which it will} and then you have
>> no direct means to make the dusty decks fast.
>
> Intel actually did this correctly back in 1978/79 when they designed the
> 8087: If you did not have the FPU, then the main 8088 CPU would trap to
> an emulation layer which did what was required. The only real problem
> was that this was significantly slower than a direct call to a SW
> function which did the same operation.
I used TeX on 386. It did relatively small number of floating
point operations. On 386 with 387 FPU operation almost vanished
in noise. On 386 without FPU TeX on one of my inputs had 3 times
longer execution time, that is about 66% time was spent in FPU
emulator. IIRC emulation was at least hundreds (if not thousends)
times slower than FPU (which was also not that fast).
That partially could be due to specific emulation, but when
program needed to run fast on machines without FPU one basically
wanted to eradicate all uses of FPU in that program.
--
Waldek Hebisch
Technical Details
Message-ID:
<11bsp52$36q1t$2@paganini.bofh.team>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.bofh.team!paganini.bofh.team!not-for-mailReferences:
<87qzk0nejz.fsf@nightsong.com> <116d89d$27baf$1@paganini.bofh.team> <87ecfcagiw.fsf_-_@debian> <2026Sep1.225146@mips.complang.tuwien.ac.at> <11bpfm8$190ap$1@dont-email.me> <2026Oct27.171414@mips.complang.tuwien.ac.at> <1793120789-5857@newsgrouper.org> <11bqq0k$1p107$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.bofh.team!paganini.bofh.team!not-for-mail
From: antispam@fricas.org (Waldek Hebisch)
Newsgroups: comp.arch
Subject: Re: interrupt handling latency and weird register use (was Re: OT: Epic RISC-V rant)
Date: Wed, 28 Oct 2026 12:17:40 -0000 (UTC)
Organization: bofh.team Usenet service
Message-ID: <11bsp52$36q1t$2@paganini.bofh.team>
References: <87qzk0nejz.fsf@nightsong.com> <116d89d$27baf$1@paganini.bofh.team> <87ecfcagiw.fsf_-_@debian> <2026Sep1.225146@mips.complang.tuwien.ac.at> <11bpfm8$190ap$1@dont-email.me> <2026Oct27.171414@mips.complang.tuwien.ac.at> <1793120789-5857@newsgrouper.org> <11bqq0k$1p107$1@dont-email.me>
Injection-Date: Wed, 28 Oct 2026 12:17:40 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="3369021"; mail-complaints-to="usenet@bofh.team"; posting-host="d028f9ad2fa2c51f22dbfed0d81d7daf"; posting-account="69e66f1681224ab92235b464ce7a90b6"
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.1.0-9-amd64 (x86_64))
X-Postfilter: Postfilter-NG 2026.10.2