# US 2025/0156189 A1 · Microprocessor with speculative and in-order register sets

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0156189 A1
- Document ID: US20250156189A1
- Status: Published application
- Kind: A1
- Application number: 18/388,908
- Filed: 2023-11-13
- Published: 2025-05-15
- Earliest claimed: 2023-11-13
- Assignees: Simplex Micro, Inc.
- Applicants: Simplex Micro, Inc.
- Inventors: Thang Minh Tran
- Web page: https://patentgrep.com/patent/US20250156189A1

## CPC

- G06F 9/3842: {Speculative instruction execution}
- G06F 9/3836: {Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution}
- G06F 9/3838: {Dependency mechanisms, e.g. register scoreboarding}
- G06F 9/384: {Register renaming}
- G06F 9/3856: {Reordering of instructions, e.g. using queues or age tags}
- G06F 9/3858: {Result writeback, i.e. updating the architectural state or memory}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A processor includes a time counter and a time-resource matrix and statically dispatches speculative and in-order instructions. The time counter increments periodically, for example, every clock cycle, and the resulting count is used to statically schedule instruction execution. The processor includes a speculative register rename unit and a non-speculative register rename unit to allow certain types of instructions to be executed speculatively while other instructions are executed non-speculatively.

## Claims

### Claim 1

A processor comprising:
a time counter storing a time count representing a current time of the processor, wherein the time count is incremented periodically;
a register renaming unit comprising,
a register free list that identifies a plurality of temporary registers wherein a first temporary register is used to rename a first destination register of a first speculative instruction;
a register alias table that identifies for each architectural register of the processor wherein the first destination register is renamed to the first temporary r register at issuance of the first speculative instruction;
an architectural register table that identifies for each architectural register of the processor wherein the first destination register is renamed to the first temporary register at retiring of the first speculative instruction and wherein a previous renamed register of the first destination register is released to the register free list as a temporary register;
an instruction issue unit is coupled to the time counter and receives the first speculative instruction and wherein the first destination register of the first speculative instruction is renamed with the first temporary register of the register free list;
a register scoreboard coupled to the time counter and the instruction issue unit and the register renaming unit to record a write back time of the first temporary register; and
a first execution queue coupled to the time counter and the instruction issue unit to receive the first speculative instruction from the instruction issue unit, and dispatch the first speculative instruction to a first functional unit at a first preset execution time that corresponds to a first time count and wherein the first functional unit writes a result data to the first temporary register of a register file; and
wherein the instruction issue unit receives a second non-speculative instruction and issues the second instruction wherein a second destination register of the second instruction is not renamed by a temporary register from the register free list and references a renamed register from the register alias table and wherein the instruction is issued to the execution queue when the second instruction cannot be cancelled by the first speculative instruction.

### Claim 2 (depends on 1)

The processor of claim 1 wherein the first speculative instruction takes the form of one of a branch instruction, a load instruction, and a store instruction.

### Claim 3 (depends on 2)

The processor of claim 2 further comprising:
a re-order buffer that tracks for all decoded instructions, an order of the decoded instructions, a corresponding instruction type of each decoded instruction, and completion status of each decoded instruction;
wherein the instruction type includes speculative and non-speculative instructions.

### Claim 4 (depends on 3)

The processor of claim 3 further comprising:
a clock circuit, wherein the time counter increments the time count with each clock cycle of the clock circuit;
wherein the time counter comprises an N-bit counter wherein an N-bit count value represents a largest future time for the instruction issue unit to issue a first instruction wherein the N-bit counter returns to a zero count after reaching the N-bit value;
the register scoreboard storing a write time, corresponding to the first instruction, of a first register in a register file, wherein the write time corresponds to a future time of the time count;
an instruction decode unit coupled to the register scoreboard, wherein the instruction decode unit reads at least one write time for source operands of the first instruction from the register scoreboard, and uses the at least one write time to determine an execution time for the first instruction; and
a time-resource matrix unit comprising a plurality of the time-resource registers for storing information relating to available resources for each time count of the N-bit time counter, and wherein the resources include at least one of: a plurality of read buses, a plurality of write buses, and a plurality of each type of functional units.

### Claim 5 (depends on 1)

The processor of claim 1 further comprising:
a read control unit having registers storing time count entries specifying when operands may be read and transported on a read bus, and wherein the read control unit further accesses a register scoreboard to determine availability of a first register in a register file, wherein if a write time of the first register is the same as the time count then data is forwarded instead of being read from the register file; and
a write control unit having write bus control registers storing time count entries specifying when result data may be transported on a write bus and written to a second register of the register file, and wherein the write control unit further accesses the register scoreboard to clear a valid bit if a write time stored in a write bus control register of the write bus control registers is the same as the time count.

### Claim 6 (depends on 5)

The processor of claim 5 wherein at least the first execution queue stores a plurality of instructions, wherein each instruction of the plurality of instructions includes a read time which is represented by a future time count wherein at least the first execution queue dispatches instructions to at least one functional unit and wherein the read control unit is synchronized with a read time in the first execution queue.

### Claim 7

A processor comprising:
a clock circuit;
a time counter storing a time count representing a specific time of operation of the processor, wherein the time count is incremented by the clock circuit;
a plurality of architectural registers;
a first register renaming unit comprising
a register free list for temporary registers, each temporary register used to rename a destination register of a first speculative instruction,
a register alias table that tracks register renaming of the architectural registers upon issuance of a speculative instruction, and
an architectural register table that tracks register renaming of the architectural registers upon of retiring an instruction;
a second register renaming unit that renames a destination register of a second instruction wherein contents of the second register renaming unit are copied to the first register renaming unit if the first speculative instruction encounter a branch misprediction or an exception;
a register scoreboard coupled to the time counter to record a write back time of a destination register and a read time of a source register referenced by the first speculative instruction;
a time-resource matrix coupled to the register scoreboard and the time counter for storing information relating to available resources for each time count of the time counter;
a first execution queue coupled to the time counter and an instruction issue unit to receive the first speculative instruction from the instruction issue unit, and dispatch the first speculative instruction to a first functional unit when the first preset execution time corresponds to the time count;
wherein the instruction issue unit receives a second non-speculative instruction and issues the second instruction wherein a second destination register of the second instruction is not renamed by a temporary register from the register free list and references a renamed register from the register alias table and wherein the instruction is issued to the execution queue when the second instruction cannot be cancelled by the first speculative instruction; and
a re-order buffer that keeps track of order of all instructions, instruction type of all instructions, the instruction type including speculative and non-speculative, and completion status of all instructions.

### Claim 8

A computer program product stored on a non-transitory computer readable storage medium and including computer system instructions for causing a computer system to execute a method that is executable by a processor, the method comprising:
issuing a first speculative instruction to a first execution queue at a first future time and issuing a second non-speculative instruction to a second execution queue upon determination that the second instruction cannot be cancelled by the first speculative instruction; and
renaming with a first register renaming unit a first destination register corresponding to the first speculative instruction and not renaming a second destination register corresponding to the second non-speculative instruction.

### Claim 9 (depends on 8)

The computer program product of claim 8 wherein the method further comprises:
tracking for all decoded instructions an order of the decoded instructions, a corresponding instruction type of each of the decoded instructions, and completion status of each of the decoded instructions, wherein the instruction type includes speculative and non-speculative instructions.

### Claim 10 (depends on 9)

The computer program product of claim 9 wherein the method further comprises:
storing a write time and a read time of a first register of a register file wherein the write time and read time are future times defined by a time count.

### Claim 11 (depends on 10)

The computer program product of claim 10 wherein the method further comprises:
storing in a register of a read control unit a read time that specifies when data may be read from the register file and transported on a read bus;
storing in a register of a write control unit a write time that specifies when result data may be transported on a write bus and written to a second register of the register file;
storing a plurality of instructions in an execution queue, wherein each instruction includes a read time defined by the time count; and
synchronizing the read time of the execution queue with the read control unit.

### Claim 12 (depends on 11)

The computer program product of claim 11 wherein the time count is generated by a time counter that provides a maximum time count corresponding to a latest future time to issue an instruction.
