Re: Caller/Callee saved Registers

pardo@cs.washington.edu (David Keppel)
Thu, 31 Mar 1994 23:22:51 GMT

          From comp.compilers

Related articles
[24 earlier articles]
Re: Caller/Callee saved Registers zsh@cs.princeton.edu (1994-03-27)
Re: Caller/Callee saved Registers pardo@cs.washington.edu (1994-03-28)
Re: Caller/Callee saved Registers pardo@cs.washington.edu (1994-03-29)
Re: Caller/Callee saved Registers bart@cs.uoregon.edu (1994-03-29)
Re: Caller/Callee saved Registers hbaker@netcom.com (1994-03-29)
Re: Caller/Callee saved Registers hbaker@netcom.com (1994-03-29)
Re: Caller/Callee saved Registers pardo@cs.washington.edu (1994-03-31)
Re: Caller/Callee saved Registers conway@munta.cs.mu.OZ.AU (1994-04-02)
Re: Caller/Callee saved Registers nandu@cs.clemson.edu (1994-04-21)
Re: Caller/Callee saved Registers preston@noel.cs.rice.edu (1994-04-22)
Re: Caller/Callee saved Registers hbaker@netcom.com (1994-04-23)
Re: Caller/Callee saved Registers preston@noel.cs.rice.edu (1994-04-26)
| List of all articles for this month |
Newsgroups: comp.compilers
From: pardo@cs.washington.edu (David Keppel)
Keywords: registers, design
Organization: Computer Science & Engineering, U. of Washington, Seattle
References: 94-03-054 94-03-178
Date: Thu, 31 Mar 1994 23:22:51 GMT

hbaker@netcom.com (Henry G. Baker) writes:
>[When I first saw 'execute' instructions I thought "Why?"]


I've long been philosophizing about the `meaning' of dynamic code and I
like to view the `execute' instruction as an early attempt at structured
self-modifying code. I guess the form of the `execute' instruction, as
compared to some more general support for dynamic compilation, was
motivated by hardware designs of the day (easy to move a register in to
the internal instruction register), and its fall from favor was driven in
part by the trend towards more regular instruction sets that do less work
on each instruction (e.g., no implied looping); these changes make it hard
to pack big commands like "walk the following memory and apply this op. to
each nonzero element" in to a single register.


>[I've rarely seen it used.]


Mimic S/370 simulator lacks general support for dynamic compilation and
SMC (I-cache flushing and moving bits from D-space to I-space) but
`execute' is widely enough that Mimic supports it.


%A Cathy May
%T Mimic: A Fast S/370 Simulator
%J Proceedings of the ACM SIGPLAN 1987 Symposium on Interpreters and
Interpretive Techniques; SIGPLAN Notices
%V 22
%N 6
%C St. Paul, MN
%D June 1987
%P 1-13


;-D on ( Coming soon: self-modifying hardware ) Pardo
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.