ACM Home Page
Please provide us with feedback. Feedback
Discovering machine-specific code improvements
Full text PdfPdf (725 KB)
Source Symposium on Compiler Construction archive
Proceedings of the 1986 SIGPLAN symposium on Compiler construction table of contents
Palo Alto, California, United States
Pages: 249 - 254  
Year of Publication: 1986
ISBN:0-89791-197-0
Also published in ...
Author
Peter B. Kessler  Univ. of California, Berkeley
Sponsor
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 8,   Downloads (12 Months): 29,   Citation Count: 6
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/12276.13336
What is a DOI?

ABSTRACT

I have designed and built a compiler construction tool that automates much of the case analysis necessary to exploit special purpose instructions on a target machine. Given a suitable description of the target machine, my analysis identifies instruction sequences that are equivalent to single instructions. During code generation, these equivalences can be used to avoid inefficient instruction sequences in favor of more efficient instructions.I present a working prototype of the instruction set analyzer needed in the framework outlined by [Giegerich 83]. In contrast to the work presented in [Davidson and Fraser 80, 84], I analyze machine descriptions during compiler construction, rather than analyzing instruction sequences that occur during code generation. [R Kessler 84] describes a system which analyzes machine descriptions during compiler construction, but which which is limited to discovering instructions that are equivalent to instruction sequences of length 2. The techniques presented here can identify instruction sequences of arbitrary length that are equivalent to single instructions.I have applied this analysis to the descriptions of two machines, and used the results to replace hand-written case analysis routines in an otherwise table-driven code generator [Henry 84].


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
Backus et al. 57
I.W. Backus, R, .I. Beeber, S. Best, R. Goldberg, L. M. ttaibt, H. L. Herrick, R. A. Nelson. D. Sayre, P. B. Sheridan, !-!. Stern. I. Ziiler, R, A. Hughes and R. Nutt, '"l'he FORTRAN Coding System", Proceedings of the Weslern Joinl Computer Conference, Los Angeles, CA, February 1957, 188-198.
 
Cocke and Schwartz 70
Davidson and Fraser 80
Davidson and Fraser 84
 
Ganapathi 80
Giegerich 83
 
Henry 84
 
Johnson 78
S, C. Johnson, "'YACC: Yet Another Compiler-Compiler", Bell Laboratories Murray Hilt, N J, July 1978.
RKessler 84
 
Lesk and Schmidt 75
M. E. Lesk and E. Schmidt, "'EEX - A Lexical Analyzer Generator", Computer Science Technical Report TR-39, Bell Laboratories Murray mliil. N.I. October, 1975.
Morgan and Rowe 82
 
Wulf et al. 75