发明名称
摘要 <p>A method for insertion of a dynamic number of implicit nop instructions by the microprocessor at run-time. The implicit nop instructor is a no operation instruction which is executed by the microprocessor without placing an actual nop instruction in the program itself. The method of the present invention enables the appropriate number of implicit nop instructions to be automatically calculated and executed for every occurrence of a multi-cycle instruction. Hereinafter, the term automatically refers to a process which occurs without the direct intervention of the programmer or higher-language compiler. The appropriate number of implicit nop instructions is automatically calculated by the microprocessor, by subtracting the number of IDSI from the total number of delay-slots which are required. The number of IDSI is preferably determined by the assembler, and then made available to the microprocessor. More preferably, this number is placed in a delay-slot field in the coded instruction by the assembler, and is then retrieved from the delay-slot field by the microprocessor. Thus, the method of the present invention enables the microprocessor to automatically insert the required number of implicit nop instructions, without requiring extra memory resources and without forcing the programmer or higher-language compiler to insert nop instructions into each unused delay-slot.</p>
申请公布号 JP3639557(B2) 申请公布日期 2005.04.20
申请号 JP20010500949 申请日期 2000.04.27
申请人 发明人
分类号 G06F9/30;G06F9/318;G06F9/38;G06F9/45;(IPC1-7):G06F9/38 主分类号 G06F9/30
代理机构 代理人
主权项
地址