Go to:
Logótipo
Comuta visibilidade da coluna esquerda
Você está em: Start > Publications > View > SSA-based MATLAB-to-C compilation and optimization
Publication

Publications

SSA-based MATLAB-to-C compilation and optimization

Title
SSA-based MATLAB-to-C compilation and optimization
Type
Article in International Conference Proceedings Book
Year
2016
Authors
Reis, L
(Author)
Other
The person does not belong to the institution. The person does not belong to the institution. The person does not belong to the institution. View Authenticus page Without ORCID
Conference proceedings International
Pages: 55-62
3rd ACM SIGPLAN International Workshop on Libraries, Languages, and Compilers for Array Programming, ARRAY 2016
14 June 2016
Indexing
Other information
Authenticus ID: P-00K-MQD
Abstract (EN): Many fields of engineering, science and finance use models that are developed and validated in high-level languages such as MATLAB. However, when moving to environments with resource constraints or portability challenges, these models often have to be rewritten in lower-level languages such as C. Doing so manually is costly and error-prone, but automated approaches tend to generate code that can be substantially less efficient than the handwritten equivalents. Additionally, it is usually difficult to read and improve code generated by these tools. In this paper, we describe how we improved our MATLAB-to-C compiler, based on the MATISSE framework, to be able to compete with handwritten C code. We describe our new IR and the most important optimizations that we use in order to obtain acceptable performance. We also analyze multiple C code versions to identify where the generated code is slower than the handwritten code and identify a few key improvements to generate code capable of outperforming handwritten C. We evaluate the new version of our compiler using a set of benchmarks, including the Disparity benchmark, from the San Diego Vision Benchmark Suite, on a desktop computer and on an embedded device. The achieved results clearly show the efficiency of the current version of the compiler. Copyright is held by the owner/author(s). Publication rights licensed to ACM.
Language: English
Type (Professor's evaluation): Scientific
Documents
We could not find any documents associated to the publication.
Related Publications

Of the same authors

Compilation of MATLAB computations to CPU/GPU via C/OpenCL generation (2020)
Article in International Scientific Journal
Reis, L; João Bispo; João M. P. Cardoso
Techniques for efficient MATLAB-to-C compilation (2015)
Article in International Conference Proceedings Book
João Bispo; Reis, L; João M. P. Cardoso
Multi-target c code generation from MATLAB (2014)
Article in International Conference Proceedings Book
João Bispo; Reis, L; João M. P. Cardoso
Compiler Techniques for Efficient MATLAB to OpenCL Code Generation (2017)
Article in International Conference Proceedings Book
Reis, L; João Bispo; João M. P. Cardoso
C and OpenCL Generation from MATLAB (2015)
Article in International Conference Proceedings Book
João Bispo; Reis, L; João M. P. Cardoso
Recommend this page Top
Copyright 1996-2025 © Faculdade de Direito da Universidade do Porto  I Terms and Conditions  I Acessibility  I Index A-Z
Page created on: 2025-07-12 at 01:54:04 | Privacy Policy | Personal Data Protection Policy | Whistleblowing