摘要 |
A processor apparatus and a complex condition processing method are provided to process complex conditional branching at a high speed by restricting the number of cycles and the increase of length of instruction. A processor includes units for executing an instruction decoded by an instruction decoder, a complex condition setting storage unit(1), a condition comparison unit(2) and a complex condition branching decision unit(3). The complex condition setting storage unit is configured to store one or more set of complex conditions, specified by the condition setting instruction. The condition comparison unit executes comparison operation on each of plural conditions that make up a complex condition specified by the complex conditional branch instruction, out of the complex condition stored and stored by the complex condition setting storage unit. The complex condition branching decision unit determines whether or not branching to a branch target is to be performed, with the use of comparison of the results of comparison operations performed by the condition comparison unit with the value of the conditional branching specified by the complex conditional branch instruction.
|