首页>
外国专利>
Method and system for managing registers in a data processing system supports out-of-order and speculative instruction execution
Method and system for managing registers in a data processing system supports out-of-order and speculative instruction execution
展开▼
机译:在数据处理系统中管理寄存器的方法和系统支持乱序和推测性指令执行
展开▼
页面导航
摘要
著录项
相似文献
摘要
A method and a system in a data processing system for managing registers in a register array wherein the data processing system has M architected registers and the register array has greater than M registers. A first physical register address is selected from a group of available physical register addresses in a renamed table in response to dispatching a register-modifying instruction that specifies an architected target register address. The architected target register address is then associated with the first physical register address, and a result of executing the register-modifying instruction is stored in a physical register pointed to by the first physical register address. In response to completing the register-modifying instruction, the first physical address in the rename table is exchanged with a second physical address in a completion renamed table, wherein the second physical address is located in the completion rename table at a location pointed to by the architected target register address. Therefore, upon instruction completion, the completion rename table contains pointers that map architected register addresses to physical register addresses. The rename table maps architected register addresses to physical register addresses for instructions currently being executed, or for instructions that have finished and have not yet been completed. Bits indicating the validity of an association between an architected register address and a physical register address are stored before instructions are speculatively executed following an unresolved conditional branch.
展开▼