Sujet : Re: Parsing timestamps?
De : anton (at) *nospam* mips.complang.tuwien.ac.at (Anton Ertl)
Groupes : comp.lang.forthDate : 05. Jul 2025, 15:28:02
Autres entêtes
Organisation : Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID : <2025Jul5.162802@mips.complang.tuwien.ac.at>
References : 1 2 3 4 5 6
User-Agent : xrn 10.11
minforth <
minforth@gmx.net> writes:
Am 05.07.2025 um 14:21 schrieb albert@spenarnc.xs4all.nl:
I investigated the instruction set, and I found no way to detect
if the 8 registers stack is full.
This would offer the possibility to spill registers to memory only
if it is needed.
>
IIRC signaling and handling fp-stack overflow is not an easy task.
The stopry I read is that Kahan and the 8087 architects intended to
support extending the 8087 stack into memory with an exception
handler, but that part of the specification did not get implemented as
intended, and it was then extremely hard or impossible to implement
that feature. The problem was not noticed until after it was too
late; apparently 8 stack items was sufficient for most uses also
outside the Forth context, too.
- anton
-- M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.htmlcomp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html New standard: https://forth-standard.org/EuroForth 2023 proceedings: http://www.euroforth.org/ef23/papers/EuroForth 2024 proceedings:
http://www.euroforth.org/ef24/papers/