Instruction conversion device, instruction conversion method, instruction conversion system, and processor for converting extended instructions based on an emulation flag
AssigneeShanghai Zhaoxin Semiconductor Co., Ltd.
InventorsWeilin Wang, Yingbing Guan, Mengchen Yang
Life of this patent
Estimating the term…
Abstract
An instruction conversion system including a processor is provided. The processor receives a ready-for-execution instruction from an application program. The processor decodes the ready-for-execution instruction, and determines that the ready-for-execution instruction is an extended instruction. The processor sends the information of the ready-for-execution instruction to an external conversion system. The conversion system converts the ready-for-execution instruction into a converted instruction sequence, and then sends the converted instruction sequence to the processor for executions.
Claims8
An instruction conversion system, comprising:
- a processor receiving a ready-for-execution instruction from an application program, wherein a register of the processor includes an emulation flag which indicates whether a format type of the ready-for-execution instruction is an extended instruction, wherein the processor includes:
- a monitor, configured to set the emulation flag included in the register of the processor as a first logic level for indicating the format type of the ready-for-execution instruction is an extended instruction;
- and
- a conversion cache, including a controller and an extended instruction storage table, wherein the controller of the conversion cache is configured to compare the format type of the ready-for-execution instruction with a valid extended instruction tag stored in the extended instruction storage table of the conversion cache,
- wherein the processor is configured to decode the ready-for-execution instruction, and the processor is configured to determine that the ready-for-execution instruction is an extended instruction based on the emulation flag;
- and then
- the processor is configured to send information of the ready-for-execution instruction to an external conversion system, the external conversion system is configured to convert the ready-for-execution instruction into a converted instruction sequence, and then the external conversion system is configured to send the converted instruction sequence to the processor for execution.
Dependencies are inferred from the claim text.