US 11,816,487 B2
Method of converting extended instructions based on an emulation flag and retirement of corresponding microinstructions, device and system using the same
Weilin Wang, Beijing (CN); Yingbing Guan, Shanghai (CN); and Mengchen Yang, Beijing (CN)
Assigned to Shanghai Zhaoxin Semiconductor Co., Ltd., Shanghai (CN)
Filed by Shanghai Zhaoxin Semiconductor Co., Ltd., Shanghai (CN)
Filed on Sep. 10, 2021, as Appl. No. 17/471,170.
Claims priority of application No. 202011588885.3 (CN), filed on Dec. 29, 2020; and application No. 202011588921.6 (CN), filed on Dec. 29, 2020.
Prior Publication US 2022/0206807 A1, Jun. 30, 2022
Int. Cl. G06F 9/30 (2018.01); G06F 9/38 (2018.01); G06F 9/48 (2006.01); G06F 11/07 (2006.01); G06F 9/455 (2018.01)
CPC G06F 9/30145 (2013.01) [G06F 9/3017 (2013.01); G06F 9/30047 (2013.01); G06F 9/30101 (2013.01); G06F 9/30174 (2013.01); G06F 9/30185 (2013.01); G06F 9/30189 (2013.01); G06F 9/3814 (2013.01); G06F 9/3857 (2013.01); G06F 9/455 (2013.01); G06F 9/45516 (2013.01); G06F 9/4812 (2013.01); G06F 11/0772 (2013.01)] 27 Claims
OG exemplary drawing
 
1. An instruction conversion device, comprising:
a monitor adapted to determine whether a ready-for-execution instruction is a supported instruction or an extended instruction,
wherein, the ready-for-execution instruction is executed through a processor if the ready-for-execution instruction is the supported instruction; and
in response to that the ready-for-execution instruction is the extended instruction:
an emulation flag is asserted by the monitor and a microinstruction corresponding to the extended instruction is generated by the processor; and
in response to that the emulation flag is asserted by the monitor and the microinstruction corresponding to the extended instruction is retired by the processor, a conversion system is triggered to convert the ready-for-execution instruction into a converted instruction sequence, and the converted instruction sequence is sent to the processor for executions.