摘要 |
<p>PROBLEM TO BE SOLVED: To flexibly select a hardware thread while ensuring the minimum execution time of the hardware thread in a multi-thread processor.SOLUTION: A multi-thread processor includes: a plurality of hardware threads; a thread scheduler 19 that outputs a thread selection signal TSEL for selecting one of the hardware threads; a first selector that outputs an instruction generated by the hardware thread selected according to the thread selection signal TSEL; and an arithmetic circuit that executes the instruction. The thread scheduler 19 fixedly selects from among the hardware threads in a first execution period; and arbitrarily selects from among the hardware threads in a second execution period. The ratio between the first execution period and second execution period and the ratio of hardware threads executed in the first execution period are arbitrarily set by a management program that is executed by the arithmetic circuit.</p> |