摘要 |
PROBLEM TO BE SOLVED: To provide an arithmetic processing unit that can widen an area to which history information is to be written according to mode information; and a method of controlling the arithmetic processing unit.SOLUTION: An arithmetic processing unit includes: a first core unit (101) that outputs history information (A1 and A2) and occupancy mode information (DA4) that are related to arithmetic processing; a memory that includes a first storage area (141) and second storage area (142); and a control circuit (130) that when the occupancy mode information that is output by the first core unit indicates an invalid state, writes the history information that is output by the first core unit to the first storage area of the memory, and when the occupancy mode information that is output by the first core unit indicates a valid state, writes the history information that is output by the first core unit to the first storage area and second storage area of the memory. |