-
Optimal Shuffle Code with Permutation Instructions
Abstract: During compilation of a program, register allocation is the task of mapping program variables to machine registers. During register allocation, the compiler may introduce shuffle code, consisting of copy and swap operations, that transfers data between the registers. Three common sources of shuffle code are conflicting register mappings at joins in the control flow of the program, e.g, due to if-s… ▽ More
Submitted 18 May, 2015; v1 submitted 27 April, 2015; originally announced April 2015.
Comments: 20 pages, 5 figures, full version of a paper accepted at WADS'15. Minor update: fixed typos, corrected comma placement
-
Saying Hello World with GrGen.NET - A Solution to the TTC 2011 Instructive Case
Abstract: We introduce the graph transformation tool GrGen.NET (www.grgen.net) by solving the Hello World Case of the Transformation Tool Contest 2011 which consists of a collection of small transformation tasks; for each task a section is given explaining our implementation.
Submitted 21 November, 2011; originally announced November 2011.
Comments: In Proceedings TTC 2011, arXiv:1111.4407
Journal ref: EPTCS 74, 2011, pp. 281-294
-
Solving the TTC 2011 Reengineering Case with GrGen.NET
Abstract: The challenge of the Reengineering Case is to extract a state machine model out of the abstract syntax graph of a Java program. The extracted state machine offers a reduced view on the full program graph and thus helps to understand the program regarding the question of interest. We tackle this task employing the general purpose graph rewrite system GrGen.NET (www.grgen.net).
Submitted 21 November, 2011; originally announced November 2011.
Comments: In Proceedings TTC 2011, arXiv:1111.4407
Journal ref: EPTCS 74, 2011, pp. 168-180
-
Solving the TTC 2011 Compiler Optimization Case with GrGen.NET
Abstract: The challenge of the Compiler Optimization Case is to perform local optimizations and instruction selection on the graph-based intermediate representation of a compiler. The case is designed to compare participating tools regarding their performance. We tackle this task employing the general purpose graph rewrite system GrGen.NET (www.grgen.net).
Submitted 21 November, 2011; originally announced November 2011.
Comments: In Proceedings TTC 2011, arXiv:1111.4407
Journal ref: EPTCS 74, 2011, pp. 42-53
-
Compiler Optimization: A Case for the Transformation Tool Contest
Abstract: An optimizing compiler consists of a front end parsing a textual programming language into an intermediate representation (IR), a middle end performing optimizations on the IR, and a back end lowering the IR to a target representation (TR) built of operations supported by the target hardware. In modern compiler construction graph-based IRs are employed. Optimization and lowering tasks can then be… ▽ More
Submitted 21 November, 2011; originally announced November 2011.
Comments: In Proceedings TTC 2011, arXiv:1111.4407
Journal ref: EPTCS 74, 2011, pp. 6-16