Data Centers

An Implementation of a MATLAB Compiler for Matrix Processors

Date Added: Feb 2012
Format: PDF

Not only did the compiler writers have to track new language features, they also had to devise translation algorithms that would take maximal advantage of the modern processors capabilities. This paper implements a compiler for Mat-Core processor, where applications written in MATLAB are compiled into sequences of scalar/vector/matrix instructions to execute on Mat-Core hardware. Mat-Core is a matrix processor that extends a general-purpose scalar processor with a matrix unit for processing vector/matrix data. Scalar-scalar, scalar-vector, vector - vector, scalar matrix, vector-matrix, and matrix-matrix instructions can be executed on Mat-Core.