Re: Caller/Callee saved Registers

ghiya@flo.cs.mcgill.ca (Rakesh GHIYA)
Thu, 24 Mar 1994 17:30:49 GMT

          From comp.compilers

Related articles
[6 earlier articles]
Re: Caller/Callee saved Registers cliffc@noel.cs.rice.edu (1994-03-22)
Re: Caller/Callee saved Registers alk@et.msc.edu (1994-03-23)
Re: Caller/Callee saved Registers bart@cs.uoregon.edu (1994-03-23)
Re: Caller/Callee saved Registers robertsw@agcs.com (1994-03-23)
Re: Caller/Callee saved Registers Peter-Lawrence.Montgomery@cwi.nl (1994-03-24)
Re: Caller/Callee saved Registers pdp8@ai.mit.edu (1994-03-24)
Re: Caller/Callee saved Registers ghiya@flo.cs.mcgill.ca (1994-03-24)
Re: Caller/Callee saved Registers paulb@travis.csd.harris.com (1994-03-24)
Re: Caller/Callee saved Registers hbaker@netcom.com (1994-03-24)
Re: Caller/Callee saved Registers bart@cs.uoregon.edu (1994-03-25)
Re: Caller/Callee saved Registers hbaker@netcom.com (1994-03-25)
Re: Caller/Callee saved Registers pardo@cs.washington.edu (1994-03-25)
Re: Caller/Callee saved Registers zsh@cs.princeton.edu (1994-03-25)
[17 later articles]
| List of all articles for this month |

Newsgroups: comp.compilers
From: ghiya@flo.cs.mcgill.ca (Rakesh GHIYA)
Keywords: registers, design
Organization: Compilers Central
References: 94-03-054 94-03-105
Date: Thu, 24 Mar 1994 17:30:49 GMT

>Anthony L Kimball writes......


>Contra M. Beusterien, I feel it is an architectural issue in as
>much as it is a problem most appropriately solved by throwing
>hardware at it: The obvious architectural solution seems to be for
>the caller to set a use mask, for the callee to set another
>use mask, and for the processor to do a save of the intersection,
>with special-purpose logic. Anything like this out there?




The study of architectural support to reduce RSR traffic across function
calls is presented in the following paper:


Architectural Support for Reduced Register Saving/Restoring in
Single-Window Register Files. Miquel Huguet and Tomas Lang. ACM
Transactions on Computer Systems. Volume 9, No 1, Feb 1991.


A more detailed study can be found in Huguet's PhD thesis.


Architectural and Compiler Support for Efficient Function Calls. Ph.D.
Dissertation. Computer Science Dept, Univ. of California at Los Angeles,
Sep 1989.


They study the impact of hardware support (use masks) and compiler
optimizations, individually, and also when put together. The experimental
results are very interesting (difficult to summarize them here, though!).


Rakesh Ghiya.
School of Computer Science,
McGill University,
Montreal, Canada.
--


Post a followup to this message

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