Address expansion and contraction in a multithreading computer system
First Claim
1. A computer implemented method for address adjustment in 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, the method comprising:
- accessing the primary thread in the ST mode using a core address value;
switching from the ST mode to the MT mode;
forming an expanded address value as a shifted core address value by shifting the core address value by an amount based on a requested maximum thread identifier and concatenating the shifted core address value with a thread address value;
accessing the primary thread or one of the one or more secondary threads in the MT mode using the expanded address value;
switching between the MT mode and the ST mode;
selecting the core address value to access the primary thread based on the core being in the ST mode; and
selecting the expanded address value to access the primary thread or one of the one or more secondary threads based on the core being in the MT mode.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments relate to address expansion and contraction in a multithreading computer system. According to one aspect, a computer implemented method for address adjustment in a configuration is provided. The configuration includes a core configurable between an ST mode and an MT mode, where the ST mode addresses a primary thread and the MT mode addresses the primary thread and one or more secondary threads on shared resources of the core. The primary thread is accessed in the ST mode using a core address value. Switching from the ST mode to the MT mode is performed. The primary thread or one of the one or more secondary threads is accessed in the MT mode using an expanded address value. The expanded address value includes the core address value concatenated with a thread address value.
-
Citations
3 Claims
-
1. A computer implemented method for address adjustment in 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, the method comprising:
-
accessing the primary thread in the ST mode using a core address value; switching from the ST mode to the MT mode; forming an expanded address value as a shifted core address value by shifting the core address value by an amount based on a requested maximum thread identifier and concatenating the shifted core address value with a thread address value; accessing the primary thread or one of the one or more secondary threads in the MT mode using the expanded address value; switching between the MT mode and the ST mode; selecting the core address value to access the primary thread based on the core being in the ST mode; and selecting the expanded address value to access the primary thread or one of the one or more secondary threads based on the core being in the MT mode. - View Dependent Claims (2, 3)
-
Specification