8. The compilation method according to claim 2 , wherein the operations include a function that returns a sign-expanded value based on bits extracted at designated bit positions from input data, and one of the first instructions takes out bits at the bit positions designated by a second register from a value stored in a first register, sign-expands said bits and stores the sign-expanded bits in a third register.
2. A compilation method for translating a source program into a machine language program, using operation definition information in which an operation that corresponds to a machine language instruction for a target processor is defined in a format of a function invocation, the compilation method comprising: a parser step of analyzing, using a processor, the source program; and a code generation step of generating machine language instructions including first instructions and second instructions from the analyzed source program which includes operations defined in the operation definition information, the first instructions corresponding to the operations, the second instructions not corresponding to the operations, wherein the code generation step includes a removing sub-step of removing redundancy between the first instructions and the second instructions.