Method and system for jump instruction encoding
A technology of jump instructions and instructions, applied in the field of processors, can solve the problems of lack of adaptability and many hardware resources, and achieve the effects of saving hardware logic and hardware resources, simplifying hardware logic, saving area and cost
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0029] Since it takes N cycles to fetch the LOOP_BEGIN instruction from MEMORY when looping back, if you start to fetch instructions from MEMORY after waiting for the LOOP_END instruction, then the pipeline must stop for N cycles, and the performance loss is great. In order to avoid this loss, you can fetch instructions from MEMORY N cycles in advance in the hardware, so that when LOOP_END is executed, the instructions of LOOP_BEGIN have also been fetched from MEMORY, so that PIPELINE does not need to pause.
[0030] The above-mentioned solution can be realized by an assembly compiler (ASS). ASS can encode the assembly instructions written by the programmer into binary or hexadecimal. When ASS is coding, the LOOP_END flag can be advanced by N weeks (this cycle is the operation cycle from LOOP_BEGIN to LOOP_END) to generate the required execution file exe.bin. When the exe.bin instruction is executed, the hardware can see LOOP_END N weeks in advance, so that the instruction ca...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

