摘要 |
PURPOSE:To perform a test for a branching prediction function by setting the branching destination of a branching instruction, setting an instruction to initialize a condition to be completed and an instruction to change a comparison value, and escaping from a loop when the instruction is an unconditional branching instruction. CONSTITUTION:The branching destination of the branching instruction in instruction sequence generated by a random test program generating means 11 is set by a branching destination decision means 12. And the instruction to initialize the condition to be compared by a conditional branching instruction and the instruction to change the comparison value to escape from a cyclic loop are set in the above instruction sequence by a branching environment setting means 13 set in the instruction sequence. Furthermore, when the unconditional branching instruction is issued, the instruction to escape from the loop is set by an unconditional loop escape means 14. A generated random test program is transferred to a first random test program 40 on a second main storage 4 via an inter-device interface 7. In such a manner, it is possible to perform the test for the branching prediction function. |