ACM Home Page
Please provide us with feedback. Feedback
Comparing tag scheme variations using an abstract machine generator
Full text PdfPdf (254 KB)
Source
International Conference on Principles and Practice of Declarative Programming archive
Proceedings of the 10th international ACM SIGPLAN conference on Principles and practice of declarative programming table of contents
Valencia, Spain
SESSION: Theory & semantics table of contents
Pages 32-43  
Year of Publication: 2008
ISBN:978-1-60558-117-0
Authors
José F. Morales  U. Complutense de Madrid
Manuel Carro  U. Politécnica de Madrid
Manuel Hermenegildo  U. Politécnica de Madrid and IMDEA-Software
Sponsors
SIGPLAN: ACM Special Interest Group on Programming Languages
ACM: Association for Computing Machinery
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 0,   Downloads (12 Months): 21,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

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

ABSTRACT

In this paper we study, in the context of a WAM-based abstract machine for Prolog, how variations in the encoding of type information in tagged words and in their associated basic operations impact performance and memory usage.We use a high-level language to specify encodings and the associated operations. An automatic generator constructs both the abstract machine using this encoding and the associated Prolog-to-bytecode compiler. Annotations in this language make it possible to impose constraints on the final representation of tagged words, such as the effectively addressable space (fixing, for example, the word size of the target processor / architecture), the layout of the tag and value bits inside the tagged word, and how the basic operations are implemented. We evaluate a large number of combinations of the different parameters in two scenarios: a) trying to obtain an optimal general-purpose abstract machine and b) automatically generating a specially-tuned abstract machine for a particular program. We conclude that we are able to automatically generate code featuring all the optimizations present in a hand-written, highly-optimized abstract machine and we can also obtain emulators with larger addressable space and better performance


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.

 
1
 
2
3
 
4
F. Bueno, D. Cabeza, M. Carro, M. Hermenegildo, P. López-García, and G. P. (Eds.). The Ciao System. Ref. Manual (v1.13). Technical report, C. S. School (UPM), 2006. Available at http://www.ciaohome.org.
5
6
 
7
A. Casas, D. Cabeza, and M. Hermenegildo. A Syntactic Approach to Combining Functional Notation, Lazy Evaluation and Higher-Order in LP Systems. In FLOPS'06, Fuji Susono (Japan), April 2006.
 
8
 
9
ECRC. Eclipse User's Guide. European Computer Research Center, 1993.
 
10
11
 
12
J. Morales, M. Carro, and M. Hermenegildo. Towards Description and Optimization of Abstract Machines in an Extension of Prolog. In G. Puebla, editor, Logic-Based Program Synthesis and Transformation (LOPSTR'06), number 4407 in LNCS, pages 77--93, July 2007.
 
13
J. Morales, M. Carro, G. Puebla, and M. Hermenegildo. A Generator of Efficient Abstract Machine Implementations and its Application to Emulator Minimization. In M. Gabbrielli and G. Gupta, editors, International Conference on Logic Programming, number 3668 in LNCS, pages 21--36. Springer Verlag, October 2005.
14
 
15
 
16
V. Santos-Costa, L. Damas, R. Reis, and R. Azevedo. The Yap Prolog User's Manual, 2000. Available from http://www.ncc.up.pt/~vsc/Yap.
 
17
Swedish Institute for Computer Science, PO Box 1263, S-164 28 Kista, Sweden. SICStus Prolog 3.8 User's Manual, 3.8 edition, Oct. 1999. Available from http://www.sics.se/sicstus/.
 
18
D. Warren. An Abstract Prolog Instruction Set. Technical Report 309, Artificial Intelligence Center, SRI International, 333 Ravenswood Ave, Menlo Park CA 94025, 1983.

Collaborative Colleagues:
José F. Morales: colleagues
Manuel Carro: colleagues
Manuel Hermenegildo: colleagues