OORS: An Object-Oriented Rewrite System
Computer Science and Information Systems, Tome 4 (2007) no. 2.

Voir la notice de l'article provenant de la source Computer Science and Information Systems website

Retargeting a compiler's back end to a new architecture is a time-consuming process. This becomes an evident problem in the area of programmable graphics hardware (graphics processing units, GPUs) or embedded processors, where architectural changes are faster than elsewhere. We propose the object-oriented rewrite system OORS to overcome this problem. Using the OORS language, a compiler developer can express the code generation and optimization phase in terms of cost-annotated rewrite rules supporting complex non-linear matching and replacing patterns. Retargetability is achieved by organizing rules into profiles, one for each supported target architecture. Featuring a rule and profile inheritance mechanism, OORS makes the reuse of existing specifications possible. This is an improvement regarding traditional approaches. Altogether OORS increases the maintainability of the compiler's back end and thus both decreases the complexity and reduces the effort of the retargeting process. To show the potential of this approach, we have implemented a code generation and a code optimization pattern matcher supporting different target architectures using the OORS language and introduced them in a compiler of a programming language for CPUs and GPUs.
@article{CSIS_2007_4_2_a1,
     author = {Gernot Gebhard and Philipp Lucas},
     title = {OORS: {An} {Object-Oriented} {Rewrite} {System}},
     journal = {Computer Science and Information Systems},
     publisher = {mathdoc},
     volume = {4},
     number = {2},
     year = {2007},
     url = {http://geodesic.mathdoc.fr/item/CSIS_2007_4_2_a1/}
}
TY  - JOUR
AU  - Gernot Gebhard
AU  - Philipp Lucas
TI  - OORS: An Object-Oriented Rewrite System
JO  - Computer Science and Information Systems
PY  - 2007
VL  - 4
IS  - 2
PB  - mathdoc
UR  - http://geodesic.mathdoc.fr/item/CSIS_2007_4_2_a1/
ID  - CSIS_2007_4_2_a1
ER  - 
%0 Journal Article
%A Gernot Gebhard
%A Philipp Lucas
%T OORS: An Object-Oriented Rewrite System
%J Computer Science and Information Systems
%D 2007
%V 4
%N 2
%I mathdoc
%U http://geodesic.mathdoc.fr/item/CSIS_2007_4_2_a1/
%F CSIS_2007_4_2_a1
Gernot Gebhard; Philipp Lucas. OORS: An Object-Oriented Rewrite System. Computer Science and Information Systems, Tome 4 (2007) no. 2. http://geodesic.mathdoc.fr/item/CSIS_2007_4_2_a1/