# US 2015/0106916 A1 · Leveraging a peripheral device to execute a machine instruction

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

- Number: US 2015/0106916 A1
- Document ID: US20150106916A1
- Status: Published application
- Kind: A1
- Application number: 14/052,182
- Filed: 2013-10-11
- Published: 2015-04-16
- Earliest claimed: 2013-10-11
- Assignees: ATI Technologies ULC; Advanced Micro Devices, Inc.
- Applicants: ATI Technologies ULC; Advanced Micro Devices, Inc.
- Inventors: David A. Kaplan; Philip Ng
- Web page: https://patentgrep.com/patent/US20150106916A1

## CPC

- G06F 9/4411: {Configuring for operating with peripheral devices; Loading of device drivers}
- G06F 9/30145: {Instruction analysis, e.g. decoding, instruction word fields}
- G06F 9/3881: {Arrangements for communication of instructions and data}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method includes executing microcode in a processing unit of a processor to implement a machine instruction, wherein the microcode is to manipulate the processing unit to access a peripheral device on a public communication bus at a private address not visible to other devices on the public communication bus and not specified in the machine instruction. A processor includes a public communication bus, a peripheral device coupled to the public communication bus, and a processing unit. The processing unit is to execute microcode to implement a machine instruction. The microcode is to manipulate the processing unit to access a peripheral device on a public communication bus at a private address not visible to other devices on the public communication bus and not specified in the machine instruction.

## Claims

### Claim 1

A method, comprising:
executing microcode in a processing unit of a processor to implement a machine instruction, wherein the microcode is to manipulate the processing unit to access a peripheral device on a public communication bus at a private address not visible to other devices on the public communication bus and not specified in the machine instruction.

### Claim 2 (depends on 1)

The method of claim 1, wherein the microcode is to manipulate the processing unit to read the private address from an architectural register associated with the processing unit.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
storing the private address in a private register of a peripheral controller coupled to the public communication bus and the architectural register.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
locking the private register in the peripheral controller.

### Claim 5 (depends on 3)

The method of claim 3, further comprising:
storing a public address associated with the peripheral device in a public register of the peripheral controller.

### Claim 6 (depends on 3)

The method of claim 3, further comprising:
reserving a range of private addresses including the private address; and
communicating the reserved range to an operating system controlling the processing unit.

### Claim 7 (depends on 3)

The method of claim 3, further comprising:
signaling an error to the processing unit responsive to detecting an attempted write to the private register.

### Claim 8 (depends on 1)

The method of claim 1, wherein the peripheral device is to generate a random number, and wherein accessing the peripheral device comprises reading the random number at the private address.

### Claim 9 (depends on 1)

The method of claim 1, wherein accessing the peripheral device comprises:
writing an operand to the peripheral device at the private address plus a first offset; and
reading a result of an arithmetic operation performed by the peripheral device based on the operand at the private address plus a second offset.

### Claim 10

A processor, comprising:
a public communication bus;
a peripheral device coupled to the public communication bus; and
a processing unit to execute microcode to implement a machine instruction, wherein the microcode is to manipulate the processing unit to access a peripheral device on a public communication bus at a private address not visible to other devices on the public communication bus and not specified in the machine instruction.

### Claim 11 (depends on 10)

The processor of claim 10, wherein the processing unit comprises an architectural register for storing the private address, and the microcode is manipulate the processing unit to read the private address from the architectural register.

### Claim 12 (depends on 10)

The processor of claim 10, further comprising:
a peripheral controller coupled to the public communication bus and comprising a private register associated with the peripheral device; and
a basic input output system (BIOS) memory to store instructions, that when executed by the processing unit store the private address in the private register and in the architectural register.

### Claim 13 (depends on 12)

The processor of claim 12, wherein the instruction in the BIOS memory, when executed, to lock the private register in the peripheral controller.

### Claim 14 (depends on 12)

The processor of claim 12, wherein the peripheral controller further comprises a public register, and the basic input output system unit is to store a public address associated with the peripheral device and visible to other devices on the public communication bus in the public register.

### Claim 15 (depends on 12)

The processor of claim 12, wherein the peripheral controller is to signal an error to the processing unit responsive to detecting an attempted write to the private register.

### Claim 16 (depends on 10)

The processor of claim 10, wherein the peripheral device is to generate a random number, and the microcode is operable to read the random number at the private address.

### Claim 17 (depends on 10)

The processor of claim 10, wherein the microcode is to write an operand to the peripheral device at an address based on the private address and a first offset and read a result of an arithmetic operation performed by the peripheral device from an address based on the operand at the private address and a second offset.

### Claim 18 (depends on 10)

The processor of claim 10, wherein the private address is fixed in the microcode.

### Claim 19

A non-transitory computer readable media storing code to adapt at least one computer system to perform a portion of a process to fabricate at least part of a processor, the processor comprising:
a public communication bus;
a peripheral device coupled to the public communication bus; and
a processing unit to execute microcode to implement a machine instruction, wherein the microcode is to manipulate the processing unit to access a peripheral device on a public communication bus at a private address not visible to other devices on the public communication bus and not specified in the machine instruction.

### Claim 20 (depends on 19)

The non-transitory computer readable storage media of claim 19, wherein the processor further comprises:
a peripheral controller coupled to the public communication bus and comprising a private register associated with the peripheral device; and
a basic input output system (BIOS) memory to store instructions, that when executed by the processing unit store the private address in the private register and in the architectural register.
