IP Library Granted Patent US 7,185,338
Granted Patent B2
US 7,185,338 · App. 10/271,838 · Granted Feb 27, 2007

Processor with speculative multithreading and hardware to support multithreading software

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,185,338
App. No.
10/271,838
Granted
Feb 27, 2007
Kind
B2
Abstract

A computer system includes a processor capable of executing a plurality of N threads of instructions, N being an integer greater than one, with a set of global registers visible to each of the plurality of threads and a plurality of busy bit memory elements used to signal whether or not a register is in use by a thread. The processor includes logic to stall a read from global register if the thread reading the global register is a speculative thread and the busy bits for prior threads are set. The processor might also include a speculative load address memory, into which speculative loads from speculative threads are entered and logic to compare addresses for stores from nonspeculative threads with addressees in the speculative load address memory and invalidate speculative threads corresponding to the speculative load addresses stored in the speculative load address memory. In an efficient implementation, aliasing load instructions can be distinct from nonaliasing load instructions, whereby addresses of aliasing load instructions are selectively stored in the speculative load address memory.

Claims (8)

1. In a computer system having a processor capable of executing a plurality of N threads of instructions, N being an integer greater than one, comprising:

a set of K global registers, wherein a register is a global register if it is visible to each of the plurality of N threads of instructions, K being an integer;

a plurality of K by N busy bit memory elements, each N elements corresponding to one of the set of K global registers;

processor logic to set busy bit memory elements for global registers that are used in more than one of the plurality of N threads of instructions;

processor logic to stall a read from global register if a thread of the plurality of N threads of instructions reading that global register is a speculative thread and at least one busy bit for a prior thread and for that global register is set; and

processor logic to clear a busy bit for a thread of the plurality of N threads of instructions and a global register of the set of K global registers when the thread writes the corresponding global register.

2. The computer system of claim 1 , wherein N is two.

3. The computer system of claim 1 , wherein K is eight.

Assignments (2)
MERGER AND CHANGE OF NAME Recorded Dec 16, 2015
From: ORACLE USA, INC.; SUN MICROSYSTEMS, INC.; ORACLE AMERICA, INC.
To: ORACLE AMERICA, INC.
Reel/Frame 037302/0719 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 15, 2002
From: CHAMDANI, JOSEPH; CHOU, YUAN
To: SUN MICROSYSTEMS, INC.
Reel/Frame 013407/0135 →