摘要:
In an information processing apparatus, an instruction read inhibit bit is provided for branch instruction address and target instruction address registered in pair in the branch history. When the reading of a target instruction predicted from the pair of addresses is inhibited, the instruction read inhibit bit is set to an ON state. When execution of the predicted target instruction is canceled due to the difference between the predicted target instruction and an actual target instruction and the actual target instruction is read again, an instruction read inhibit bit setting section sets the instruction read inhibit bit of the pair of addresses in the branch history to the ON state. Accordingly, even when the information processing apparatus is of a pipeline processing type and the address of the target instruction is changed every time the identical branch instruction appears, it becomes possible to execute the branch instruction without wasting time and to effectively utilize the branch history, thereby increasing the processing speed of the branch instruction, i.e., improving the information processing performance.
摘要:
The present invention discloses a processor system comprising a processor (31) and at least a first memory (32) and a second memory (34, 36, 37). The first memory (32) is normally faster than the second one, and means for memory allocation (38, 41, 48) perform the periodically static allocation of data into the first memory (32). The means for memory allocation (38, 41, 48) are run-time updateable by software. An execution profiling section (39) is provided for continuously or intermittently providing execution data used for updating the means for memory allocation (38, 41, 48). According to the invention, the memory allocation is performed on a variable or record (49, 50) level. The means for memory allocation preferably use linking tables (41, 48) supporting dynamic software changes. The first memory (32) is preferably an SRAM, connected to the processor by a dedicated bus (33).