|
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
|
|
Peer to Peer - Readers of this Article have also read:
-
Data structures for quadtree approximation and compression
Communications of the ACM
28, 9
Hanan Samet
-
A hierarchical single-key-lock access control using the Chinese remainder theorem
Proceedings of the 1992 ACM/SIGAPP Symposium on Applied computing
Kim S. Lee
, Huizhu Lu
, D. D. Fisher
-
Putting innovation to work: adoption strategies for multimedia communication systems
Communications of the ACM
34, 12
Ellen Francik
, Susan Ehrlich Rudman
, Donna Cooper
, Stephen Levine
-
The GemStone object database management system
Communications of the ACM
34, 10
Paul Butterworth
, Allen Otis
, Jacob Stein
-
An intelligent component database for behavioral synthesis
Proceedings of the 27th ACM/IEEE Design Automation Conference on
Gwo-Dong Chen
, Daniel D. Gajski
|