TY - GEN
T1 - Software code generation for dynamic dataflow programs
AU - Cedersjö, Gustav
AU - Janneck, Jörn
PY - 2014
Y1 - 2014
N2 - In this paper we address the problem of generating efficient software implementations for a large class of dataflow programs that is characterized by highly data-dependent behavior and which is therefore in general not amenable to compile-time scheduling. Previous work on implementing dataflow programs has emphasized classes of stream processing algorithms that exhibit sufficiently regular behavior to permit extensive compile-time analysis and scheduling, however many real-world stream programs, do not fall into these classes and exhibit behavior that can, for example, depend on the values and even the timing of their input data. Based on an abstract machine model, we partition the problem of implementing such programs in software into three parts, viz. reduction, composition, and code emission, and present solutions for each of them. Using the reference code of an MPEG decoder, we evaluate the resulting code quality and compare it to the state of the art compilers for the same class of stream programs, with favorable results.
AB - In this paper we address the problem of generating efficient software implementations for a large class of dataflow programs that is characterized by highly data-dependent behavior and which is therefore in general not amenable to compile-time scheduling. Previous work on implementing dataflow programs has emphasized classes of stream processing algorithms that exhibit sufficiently regular behavior to permit extensive compile-time analysis and scheduling, however many real-world stream programs, do not fall into these classes and exhibit behavior that can, for example, depend on the values and even the timing of their input data. Based on an abstract machine model, we partition the problem of implementing such programs in software into three parts, viz. reduction, composition, and code emission, and present solutions for each of them. Using the reference code of an MPEG decoder, we evaluate the resulting code quality and compare it to the state of the art compilers for the same class of stream programs, with favorable results.
U2 - 10.1145/2609248.2609260
DO - 10.1145/2609248.2609260
M3 - Paper in conference proceeding
SN - 978-1-4503-2941-5
SP - 31
EP - 39
BT - [Host publication title missing]
PB - Association for Computing Machinery (ACM)
T2 - SCOPES '14 Proceedings of the 17th International Workshop on Software and Compilers for Embedded Systems
Y2 - 10 June 2014 through 11 June 2014
ER -