Abstract multiple specialization and its application to program parallelization.

Puebla Sánchez, Alvaro Germán and Hermenegildo, Manuel V. ORCID: https://orcid.org/0000-0002-7583-323X (1999). Abstract multiple specialization and its application to program parallelization.. "The journal of logic programming", v. 41 (n. 283); pp. 279-316. ISSN 0743-1066. https://doi.org/10.1016/S0743-1066(99)00031-X.


Title: Abstract multiple specialization and its application to program parallelization.
Item Type: Article
Título de Revista/Publicación: The journal of logic programming
Date: November 1999
ISSN: 0743-1066
Volume: 41
Freetext Keywords: Program specialization, Abstract interpretation, Partial evaluation, Static analysis, Parallelization, Loop invariant Detection, Programas de especialización, Interpretación abstracta, Evaluación parcial, Análisis estático, Paralelización, Circuito de detección invariable.
Faculty: Facultad de Informática (UPM)
Department: Inteligencia Artificial
Creative Commons Licenses: Recognition - No derivative works - Non commercial

Full text

[thumbnail of HERME_A_1999-2.pdf]
PDF - Requires a PDF viewer, such as GSview, Xpdf or Adobe Acrobat Reader
Download (2MB) | Preview


Program specialization optimizes programs for known valúes of the input. It is often the case that the set of possible input valúes is unknown, or this set is infinite. However, a form of specialization can still be performed in such cases by means of abstract interpretation, specialization then being with respect to abstract valúes (substitutions), rather than concrete ones. We study the múltiple specialization of logic programs based on abstract interpretation. This involves in principie, and based on information from global analysis, generating several versions of a program predicate for different uses of such predicate, optimizing these versions, and, finally, producing a new, "multiply specialized" program. While múltiple specialization has received theoretical attention, little previous evidence exists on its practicality. In this paper we report on the incorporation of múltiple specialization in a parallelizing compiler and quantify its effects. A novel approach to the design and implementation of the specialization system is proposed. The resulting implementation techniques result in identical specializations to those of the best previously proposed techniques but require little or no modification of some existing abstract interpreters. Our results show that, using the proposed techniques, the resulting "abstract múltiple specialization" is indeed a relevant technique in practice. In particular, in the parallelizing compiler application, a good number of run-time tests are eliminated and invariants extracted automatically from loops, resulting generally in lower overheads and in several cases in increased speedups.

More information

Item ID: 14265
DC Identifier: https://oa.upm.es/14265/
OAI Identifier: oai:oa.upm.es:14265
DOI: 10.1016/S0743-1066(99)00031-X
Official URL: http://www.sciencedirect.com/science/article/pii/S...
Deposited by: Biblioteca Facultad de Informatica
Deposited on: 13 Jan 2013 08:43
Last Modified: 28 Feb 2023 10:41
  • Logo InvestigaM (UPM)
  • Logo GEOUP4
  • Logo Open Access
  • Open Access
  • Logo Sherpa/Romeo
    Check whether the anglo-saxon journal in which you have published an article allows you to also publish it under open access.
  • Logo Dulcinea
    Check whether the spanish journal in which you have published an article allows you to also publish it under open access.
  • Logo de Recolecta
  • Logo del Observatorio I+D+i UPM
  • Logo de OpenCourseWare UPM