# US 2017/0286110 A1 · Auxiliary Cache for Reducing Instruction Fetch and Decode Bandwidth Requirements

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

- Number: US 2017/0286110 A1
- Document ID: US20170286110A1
- Status: Published application
- Kind: A1
- Application number: 15/087,786
- Filed: 2016-03-31
- Published: 2017-10-05
- Earliest claimed: 2016-03-31
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Jason M. Agron; Alex Merrick; Vineeth Mekkat
- Web page: https://patentgrep.com/patent/US20170286110A1

## CPC

- G06F 9/30145: {Instruction analysis, e.g. decoding, instruction word fields}
- G06F 9/30167: {of immediate specifier, e.g. constants}
- G06F 9/3017: {Runtime instruction translation, e.g. macros}
- G06F 9/30181: {Instruction operation extension or modification}
- G06F 9/3832: {Value prediction for operands; operand history buffers}
- G06F 12/0875: with dedicated cache, e.g. instruction or stack
- G06F 2212/452: Instruction code
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A hardware-software co-designed processor includes a front end to decode an instruction, an execution unit to execute the instruction, an auxiliary cache to store auxiliary information for consumption during execution of the instruction, an instruction blender, and a retirement unit to retire the instruction. The auxiliary information may include long immediate values, non-working instructions for emulating an untranslated instruction stream, or execution hints, and is not decoded by the front end. The auxiliary cache includes circuitry to receive the auxiliary information from a binary translator, to store the auxiliary information in the auxiliary cache, and to provide the auxiliary information to the instruction blender prior to execution. The instruction blender includes circuitry to receive the auxiliary information, to blend the instruction with the auxiliary information, and to provide the blended instruction to the execution unit. Use of the auxiliary cache may reduce fetch and decode bandwidth requirements.

## Claims

### Claim 1

A processor, comprising:
a front end including circuitry to decode an instruction in an instruction stream;
an execution unit including circuitry to execute the instruction;
an auxiliary cache including circuitry to store auxiliary information for the instruction;
an instruction blender; and
a retirement unit including circuitry to retire the instruction;
wherein:
the auxiliary information is not decoded by the front end;
the auxiliary cache comprises circuitry to:
receive a request from a binary translator to write the auxiliary information to the auxiliary cache;
store the auxiliary information in the auxiliary cache; and
provide the auxiliary information to the instruction blender prior to execution of the instruction;
the instruction blender comprises circuitry to:
receive, from the auxiliary cache prior to execution of the instruction, the auxiliary information for the instruction;
blend the decoded instruction with the auxiliary information to produce a blended instruction; and
provide the blended instruction to the execution unit for execution.

### Claim 2 (depends on 1)

The processor of claim 1, wherein the request to write the auxiliary information to the auxiliary cache includes information usable to identify the location within the auxiliary cache at which to store the auxiliary information.

### Claim 3 (depends on 1)

The processor of claim 1, wherein:
the instruction is an instruction of a first instruction set architecture (ISA) implemented by the processor;
the instruction is produced by the binary translator dependent on an instruction of a second ISA; and
the auxiliary information comprises information included in the instruction of the second ISA that is not to be consumed until execution of the instruction.

### Claim 4 (depends on 1)

The processor of claim 1, wherein:
the instruction is an instruction of a first instruction set architecture (ISA) implemented by the processor;
the instruction is produced by the binary translator dependent on an instruction of a second ISA; and
the auxiliary information comprises information associated with a non-working instruction that is added to the instruction stream by the binary translator, the non-working instruction to be dependent on translation of an instruction stream comprising instructions of the second ISA to the instruction stream comprising the instruction of the first ISA.

### Claim 5 (depends on 1)

The processor of claim 1, wherein the instruction comprises an encoding to indicate that the decoded instruction is to be blended with the auxiliary information for the instruction, the encoding added to the instruction by the binary translator

### Claim 6 (depends on 1)

The processor of claim 1, wherein:
the auxiliary cache comprises a hardware table with a plurality of columns, each of which is to store auxiliary information of a respective one of multiple auxiliary information types supported in the processor, the multiple auxiliary information types to include one or more of:
immediate values;
branch hints;
prediction hints;
next-branch-distances;
jump distances;
prefetch hints;
branch type indicators;
amounts by which to increment an instruction pointer;
page identifiers;
keys; or
identifiers of functions to be performed during execution of the instruction in addition to functions defined for the instruction by an instruction set architecture (ISA) implemented by the processor.

### Claim 7 (depends on 1)

The processor of claim 1, wherein:
the instruction is an instruction of a first instruction set architecture (ISA) implemented by the processor;
the instruction is produced by the binary translator dependent on an instruction of a second ISA;
the instruction of the second ISA is an instruction within a super block of instructions on which the binary translator performed a translation; and
the auxiliary cache further comprises circuitry to:
load all auxiliary information for instructions within the super block of instructions into the auxiliary cache in a single operation.

### Claim 8

A method, comprising:
receiving, by an auxiliary cache in a processor, a request from a binary translator to write auxiliary information for an instruction in an instruction stream to the auxiliary cache;
storing the auxiliary information to the auxiliary cache;
receiving the instruction;
decoding the instruction;
executing the instruction, including:
accessing the auxiliary information stored in the auxiliary cache;
blending the auxiliary information with the decoded instruction to produce a blended instruction; and
providing the blended instruction to an execution unit for execution; and
retiring the instruction.

### Claim 9 (depends on 8)

The method of claim 8, wherein:
the instruction is an instruction of a first instruction set architecture (ISA) implemented by the processor;
the method further includes producing, by the binary translator dependent on an instruction of a second ISA, the instruction; and
the auxiliary information comprises information included in the instruction of the second ISA that is not to be consumed until execution of the instruction.

### Claim 10 (depends on 8)

The method of claim 8, wherein:
the instruction is an instruction of a first instruction set architecture (ISA) implemented by the processor;
the method further includes:
producing, by the binary translator dependent on an instruction of a second ISA, the instruction; and
adding, to the instruction stream by the binary translator dependent on translation of an instruction stream comprising instructions of the second ISA to the instruction stream comprising the instruction of the first ISA, a non-working instruction; and
the auxiliary information comprises information associated with the non-working instruction.

### Claim 11 (depends on 8)

The method of claim 8, wherein:
the instruction is an instruction of a first instruction set architecture (ISA) implemented by the processor;
the method further includes, prior to receiving the instruction:
producing, by the binary translator dependent on an instruction of a second ISA, the instruction;
determining, by the binary translator, that the instruction of the second ISA includes the auxiliary information; and
adding, to the instruction by the binary translator, an encoding to indicate that the decoded instruction is to be blended with the auxiliary information for the instruction.

### Claim 12 (depends on 8)

The method of claim 8, wherein:
the instruction is an instruction of a first instruction set architecture (ISA) implemented by the processor;
the method further includes, prior to receiving the instruction:
translating, by the binary translator, instructions within a super block of instructions of a second ISA to the instruction stream comprising the instruction of the first ISA, including:
producing, by the binary translator dependent on an instruction of a second ISA, the instruction; and
storing, by the binary translator in a single operation, all auxiliary information for instructions within the super block of instructions into the auxiliary cache.

### Claim 13 (depends on 8)

The method of claim 8, further comprising:
receiving, by the auxiliary cache in the processor, a request from the binary translator to remove the auxiliary information from the auxiliary cache or to invalidate the auxiliary information in the auxiliary cache.

### Claim 14

A system, comprising:
a binary translator; and
a processor, including:
a front end including circuitry to decode an instruction in an instruction stream;
an execution unit including circuitry to execute the instruction;
an auxiliary cache including circuitry to store auxiliary information for the instruction;
an instruction blender; and
a retirement unit including circuitry to retire the instruction;
wherein:
the auxiliary information is not decoded by the front end;
the auxiliary cache comprises circuitry to:
receive a request from the binary translator to write the auxiliary information to the auxiliary cache;
store the auxiliary information in the auxiliary cache; and
provide the auxiliary information to the instruction blender prior to execution of the instruction;
the instruction blender comprises circuitry to:
receive, from the auxiliary cache prior to execution of the instruction, the auxiliary information for the instruction;
blend the decoded instruction with the auxiliary information to produce a blended instruction; and
provide the blended instruction to the execution unit for execution.

### Claim 15 (depends on 14)

The system of claim 14, wherein the request to write the auxiliary information to the auxiliary cache includes information usable to identify the location within the auxiliary cache at which to store the auxiliary information.

### Claim 16 (depends on 14)

The system of claim 14, wherein:
the instruction is an instruction of a first instruction set architecture (ISA) implemented by the processor;
the binary translator comprises circuitry to produce the instruction dependent on an instruction of a second ISA; and
the auxiliary information comprises information included in the instruction of the second ISA that is not to be consumed until execution of the instruction.

### Claim 17 (depends on 14)

The system of claim 14, wherein:
the instruction is an instruction of a first instruction set architecture (ISA) implemented by the processor;
the binary translator comprises circuitry to:
produce the instruction dependent on an instruction of a second ISA; and
add a non-working instruction to the instruction stream, the non-working instruction to be dependent on translation of an instruction stream comprising instructions of the second ISA to the instruction stream comprising the instruction of the first ISA; and
the auxiliary information comprises information associated with the non-working instruction.

### Claim 18 (depends on 14)

The system of claim 14, wherein the instruction comprises an encoding to indicate that the decoded instruction is to be blended with the auxiliary information for the instruction, the encoding added to the instruction by the binary translator

### Claim 19 (depends on 14)

The system of claim 14, wherein the binary translator comprises circuitry to:
issue the request to write the auxiliary information to the auxiliary cache; and
issue a request to remove the auxiliary information from the auxiliary cache or to invalidate the auxiliary information in the auxiliary cache.

### Claim 20 (depends on 14)

The system of claim 14, wherein the execution unit comprises an out-of-order execution engine.
