×

Thread context preservation in a multithreading computer system

  • US 9,804,846 B2
  • Filed: 03/27/2014
  • Issued: 10/31/2017
  • Est. Priority Date: 03/27/2014
  • Status: Active Grant
First Claim
Patent Images

1. A computer system, comprising:

  • a configuration comprising a core configurable between a single thread (ST) mode and a multithreading (MT) mode, the ST mode addressing a primary thread and the MT mode addressing the primary thread and one or more secondary threads on shared resources of the core; and

    a multithreading facility configured to control utilization of the configuration to perform a method comprising;

    based on determining, by the core in the MT mode, that MT is to be disabled in response to a reset or a deactivation, switching from the MT mode to the ST mode, wherein the primary thread of the MT mode is maintained as the primary thread of the ST mode, wherein a thread context comprising program accessible register values and program counter values of the one or more secondary threads is made inaccessible to programs by shifting an expanded address value comprising a core address value and a thread address value to eliminate the thread address value based on a requested maximum thread identifier; and

    based on the switching, performing any one of clearing the program accessible register values or retaining the program accessible register values.

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