Title :
An efficient register allocation for a WAM PROLOG compiler
Author :
Ku, Francisco P. ; Cheung, Y.S. ; Tse, K.W.
Author_Institution :
Dept. of Electr. & Electron. Eng., Hong Kong Univ., Hong Kong
Abstract :
The authors outline an experiment on Warren abstract machine (WAM) based compiler technology. In preparation for a self-configured PROLOG system on a multi-node transputer network, a sequential PROLOG compiler is needed as a test bed. The compiler generates intermediate WAM codes, enhancing both the efficiency and portability. Another feature used by the compiler is an efficient register allocation mechanism. The WAM´s parameter passing convention uses register k to pass the k th parameter to a procedure. Since the number of registers in the transputer is limited, data movements between registers are inevitable. The register allocation scheme minimizes data movement, and is somewhat different from that of minimizing the number of loads and stores in a conventional machine
Keywords :
PROLOG; program compilers; storage allocation; Warren abstract machine; data movements; efficiency; intermediate WAM codes; multi-node transputer network; parameter passing convention; portability; register allocation; self-configured PROLOG system; sequential PROLOG compiler; Automatic testing; Logic design; Logic programming; Optimizing compilers; Parallel machines; Registers; Runtime; Sequential analysis; System testing; Usability;
Conference_Titel :
Computer and Communication Systems, 1990. IEEE TENCON'90., 1990 IEEE Region 10 Conference on
Print_ISBN :
0-87942-556-3
DOI :
10.1109/TENCON.1990.152766