Patent №
US 9,529,595
Granted
2016-12-27
Filed 2015
Owner
SHANGHAI XINHAO MICROELECTRONICS CO. LTD.
Lab
—
AI components
1
hardware
Assignment
Recorded
Dataset
AIPD
2023_r1 edition
Application
14443393
A method for branch processing is provided. The method includes determining an instruction type of an instruction written into a cache memory and recording the instruction type. The method also includes calculating a branch target instruction address of the branch instruction and recording target address information corresponding to the branch target instruction address when the instruction is a branch instruction, where the target address information corresponds to one instruction segment containing at least the branch target instruction. Further, the method includes filling the instruction segment containing at least the branch target instruction into the position corresponding to the target address information in the cache memory based on the branch target instruction address when the branch target instruction is not stored in the cache memory, such that before a CPU core executes the branch instruction, a next instruction following the branch instruction in a program sequence and the branch target instruction of the branch instruction are stored in the cache memory.
AI classification
Ownership
SHANGHAI XINHAO MICROELECTRONICS CO. LTD.
assignment · 356540525
Assignors
LIN, KENNETH CHENGHAO
On an employer assignment, the assignors are typically the inventors.