摘要 |
PURPOSE: A vector processor programming and a parallel programming in an asymmetric duplex processor are provided to create a computer program executed by a vector processor by reading a program including at least one sentence for creating an executable program which is prepared in a high-level programming language, has a vector operand, and includes at least one second command for embodying a sentence. CONSTITUTION: A "VIVID" means a vectorization programming language based on the C¬++ for recording a program on a multimedia signal processor(MSP@). The MSP@ includes a vector processor and a main processor combined by a cache memory. The "VIVID" expands the standard ANSI C/C¬++ language through a special data type and a language constitution, helps a programming in a dual thread vectorization format effectively and intuitively, and supports a compiler in generating an effective and intuitive MSP command code. A "VIVID" compiler reads the high-level language(200). The "VIVID" compiler decides whether the high-level language program includes a "VIVID" command(210). If the high-level language program does not include a "VIVID" command, the next operation by a "VIVID" compiler is unnecessary and a C/C¬++ compiler compiles the program. If the high-level language program includes a "VIVID" command, the command is translated as an executable program by the vector processor(220).
|