×

Thread switching in microprocessor without full save and restore of register file

  • US 10,318,302 B2
  • Filed: 06/03/2016
  • Issued: 06/11/2019
  • Est. Priority Date: 06/03/2016
  • Status: Active Grant
First Claim
Patent Images

1. A method executed by a microprocessor, comprising:

  • transmitting a content of a program counter (PC) of a first thread to an instruction fetch unit to start execution of the first thread in the microprocessor;

    restoring, upon transmitting the content of the PC of the first thread to the instruction fetch unit, content of one or more registers of the first thread from a memory into a first register file by issuing from the instruction fetch unit a micro-op instruction to read data from the memory, the micro-op instruction issued based on the one or more registers being referenced with regard to the first thread in a scoreboard in the memory;

    storing, in the memory, content of one or more other registers of a second register file associated with a second thread by issuing from the instruction fetch unit another micro-op instruction to save data to the memory, the other micro-op instruction issued based on the one or more other registers being referenced with regard to the second thread in the scoreboard or the content of the one or more other registers being modified during execution of the second thread prior to executing the first thread; and

    executing instructions of the first thread using the content of the one or more registers restored from the memory.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×