首页>
外国专利>
Compilation targeting multiple processor architectures some of which support generating exceptions for forbidden instructions in branch delay slots
Compilation targeting multiple processor architectures some of which support generating exceptions for forbidden instructions in branch delay slots
展开▼
机译:针对多种处理器体系结构的编译,其中一些支持在分支延迟槽中为禁止的指令生成异常
展开▼
页面导航
摘要
著录项
相似文献
摘要
Aspects relate to microprocessors, methods of their operation, and compilers therefor, that provide branch instructions with and without a delay slot. Branch instructions without a delay slot may have a forbidden slot. A processor, when decoding and executing a branch instruction without a delay slot, at a program counter location, executes an instruction in a subsequent program counter location (a “forbidden slot”, in some implementations) only if the branch is not taken. A pre-determined set of instruction types may be identified, and if an instruction location in the forbidden slot is from the pre-determined set of instruction types, implementations may throw an exception without executing the instruction, or may execute the instruction and throw an exception after execution. Such exceptions may be dependent or independent on an outcome of executing the instruction itself.
展开▼