Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!sdd.hp.com!spool.mu.edu!uunet!mcsun!unido!pcsbst!rht32.pcs.com!hgw From: hgw@rht32.pcs.com (h.-g. willers) Newsgroups: comp.lang.forth Subject: TOS in a CPU register Message-ID: <1134@pcsbst.pcs.com> Date: 4 Feb 91 16:37:24 GMT Sender: news@pcsbst.pcs.com Reply-To: hgw@rht32.pcs.com (h.-g. willers) Organization: PCS Computer Systeme, GmbH Lines: 21 Can anyone in the Forth-Comunity domment on the following issue: Given an indirect threaded FORTH for a RISC-procesor (R3000 or i860). What is the best implementation (concerning speed) for Top-of-Stack, i.e. TOS not in a CPU register TOS in a CPU register TOS and NOS in a CPU register TOS and NOS and NOS+1 .... ...... Having too many stack items in CPU registers generates much shuffling of data for some stack operations. Which implementation should be chosen? H.-G. -- H.-G. Willers PCS-Mail: hgw internal phone ( -271 ) DOMAIN: hgw@rht32.pcs.de (EUR) or hgw@rht32.pcs.com (US) BANG: ..unido!pcsbst!hgw (EUR) or ..pyramid!pcsbst!hgw (US)