skip to main content
article
Free access

Run-time checking in Lisp by integrating memory addressing and range checking

Published: 01 April 1989 Publication History

Abstract

This paper describes the BL addressing mode and the address tag in FLATS2 machine, which is a general-purpose MIMD computer now under construction. The BL addressing mode integrates memory accessing and range checking by hardware. Address tag is a bit in word, which indicates the capability for memory access. Combining them together, efficient memory protection is provided at run-time. It reduces the cost of run-time type checking in Lisp by checking the address tag and the address of a pointer against the range of the region associated to a type, in parallel with the memory access. The arithmetic instructions check the address tags of operands to support the generic arithmetic in Lisp. We can also make use of this scheme to check the number of arguments and multiple return values and to check array-bounds to support faster execution of Common Lisp program. These facilities are not specific to Lisp, so that they can be used more generally than other tagged architectures.

References

[1]
Bosshart,P., Hewes,C., Chang, M., and Chau, K. "A553K-Transistor LISP Processor Chip". Digest 1987 Intematkmal Solid-State Circuits CorJcrcnce, IEEE, New York, February 1987.
[2]
Chow,P.,and Horowitz,M. "/mhitectural Ttndeoffs in the Design of MIPS-X". Proceedings qf ths 14th Annual lntunational Synqxkwn on Computer Architecture, ACM, June, 1987.
[3]
Gabriel,R.P. Computer System S&es. Volume: Performance and evaluation of LISP systems. The MIT Ross. 1985.
[4]
Gehringer, RF. and Keedy. J.L 'Tagged Archikcture: How Compelling Are its Advantage?"". Proceedings 4 the 12th Annual Intermational Sympasiwn on Camputer Architecture, ACM. June, 1985.
[5]
Goto. E. Soma, T., Inada, N., Ida, T., ldesawa, M., Hiraki K., Suzuki, M., Shim& K., and Philipov, B. "Design of a L&p Machine - FLATSZ". Cotference Proceedings of 1982 ACM Sym. LISP and Functional Programming, PittsPur& August 1982
[6]
Hill, D.D. "A hardware mechanism for supporting range checks". Comprrter Architecture News(ACM/SIGARCH), vol. 9, M. 4, pp. 15-21, June 1881.
[7]
Ichikawa, s. ""A study on the Cyclic Pipeline Computer: F%ATS2". MS Thesis. February 1987. University of Tokyo.
[8]
Moon,D.A. "Architecture of the Symbolics 3600". Procadings of the 12th Annual Internaticvual Symposium on Computer Architecture, ACM, June 1985.
[9]
Shimizu, K. Goto. E. and Ichikawa, S. "CPC(Cyclic Pipeline Computer) - An Architecture Suited for Josephson Pipelined-Memory Machines". Proceedings of 4th Rikzn Symposium on Josephron Electronics, W&o&i. March 1987 (to appear in IEEE Transactions on Computers).
[10]
Spee, P. "Dynamic Type and Range Checking in C wing a Tagged Architecture". Research and Development Corp. of Japan, 1988.
[11]
Stecskistc, P. and Hennessy, J. "LISP on a Reduce- Instruction-set-processor". Proceedings of the 19% Cor#rence on WSP and Functional Programming, ACM, Boston, August 1986.
[12]
Steenkiste, P. and Humessy, J. 'Tags and Type checking in LISP: H&ware and Software Approaches". Proceedings of 2nd International Conference on Architectural Support for Programming Lmguages and Operating Systems, Palo Alto. October 1987.
[13]
Steele, Jr. G. Common Lisp - The language. Digital Equipment Corporation. 1984.
[14]
Taylor. S.T. Hilfinger. P3U. Lams. J.R. Patterson, D.A. and Zom, B.C. "Evaluation of the SPUR Lisp Architecture". Proceedings of the 12th Annual lntemational Symposium on Computer Architecture, ACM, June 1986.
[15]
VAX Architecture Handkok, Digital Equipment Corp., 1981.
[16]
Wilkes. M.V. "Hardware Support for Memory Protection: Capability Implementations". Proceedings of International Ccfeerence on Architectural Support for Programming Lmguages and Operating System, Pal0 Alto, Cs., March 1982.

Cited By

View all
  • (2007)Evaluation of range‐checking addressing modes and the architecture of FLATS2Systems and Computers in Japan10.1002/scj.469023100123:10(1-13)Online publication date: 21-Mar-2007

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM SIGARCH Computer Architecture News
ACM SIGARCH Computer Architecture News  Volume 17, Issue 3
Special Issue: Proceedings of the 16th annual international symposium on Computer Architecture
June 1989
400 pages
ISSN:0163-5964
DOI:10.1145/74926
Issue’s Table of Contents
  • cover image ACM Conferences
    ISCA '89: Proceedings of the 16th annual international symposium on Computer architecture
    April 1989
    426 pages
    ISBN:0897913191
    DOI:10.1145/74925

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 April 1989
Published in SIGARCH Volume 17, Issue 3

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)79
  • Downloads (Last 6 weeks)5
Reflects downloads up to 24 Oct 2024

Other Metrics

Citations

Cited By

View all
  • (2007)Evaluation of range‐checking addressing modes and the architecture of FLATS2Systems and Computers in Japan10.1002/scj.469023100123:10(1-13)Online publication date: 21-Mar-2007

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media