发明名称 Computer processor with instruction for execution based on available instruction sets
摘要 A system and method for testing whether a computer processor is capable of executing a requested instruction set. The system includes a computer processor configured to receive an encoded conditional branch instruction in a form of machine code executable directly by the computer processor, and implement the encoded conditional branch instruction unconditionally, based on underlying hardware architecture of the computer processor. The Method for testing whether a computer processor is capable of executing a requested instruction set, the method including, receiving an encoded conditional branch instruction in a form of machine code executable directly by the computer processor, and implementing the encoded conditional branch instruction unconditionally, based on underlying hardware architecture of the computer processor.
申请公布号 US9274797(B2) 申请公布日期 2016.03.01
申请号 US201213719537 申请日期 2012.12.19
申请人 International Business Machines Corporation 发明人 Garza Jose E.;Hobson Stephen J.
分类号 G06F7/38;G06F9/00;G06F9/44;G06F9/38;G06F9/30;G06F11/22;G06F11/14;G06F9/46 主分类号 G06F7/38
代理机构 代理人 Tuchman Ido;Ray Jeanine S.
主权项 1. A system for testing whether a computer processor is capable of executing a requested instruction set, the system comprising: a computer processor configured to: receive an encoded conditional branch instruction in a form of machine code executable directly by the computer processor; and implement the encoded conditional branch instruction unconditionally, based on underlying hardware architecture of the computer processor; wherein implementing the encoded conditional branch instruction includes updating a program counter of the computer processor with an unconditional branch address if the computer processor is capable of executing the requested instruction set; wherein the computer processor further includes an instruction set array that each bit value contained indicates whether an instruction set is executable by the computer processor; wherein the encoded conditional branch instruction is in a bit array format comprising: an operation code field representing the encoded conditional branch instruction;an instruction set index field containing an index value into the instruction set array; anda relative instruction address field containing an offset address for updating the program counter; wherein the program counter is updated by adding the offset address when the corresponding bit value of the instruction set array is 1.
地址 Armonk NY US