# US 2012/0260066 A1 · Heterogeneous isa microprocessor that preserves non-isa-specific configuration state when reset to different isa

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

- Number: US 2012/0260066 A1
- Document ID: US20120260066A1
- Status: Published application
- Kind: A1
- Application number: 13/412,914
- Filed: 2012-03-06
- Published: 2012-10-11
- Earliest claimed: 2011-04-07
- Assignees: VIA Technologies, Inc.
- Inventors: G. Glenn Henry; Terry Parks; Rodney E. Hooker
- Web page: https://patentgrep.com/patent/US20120260066A1

## CPC

- G06F 9/30174: {for non-native instruction set, e.g. Javabyte, legacy code}
- G06F 9/30189: {according to execution mode, e.g. mode flag}
- G06F 9/3844: {using dynamic branch prediction, e.g. using branch history tables}
- G06F 9/461: {Saving or restoring of program or task context}
- G06F 9/3017: {Runtime instruction translation, e.g. macros}
- G06F 9/30181: {Instruction operation extension or modification}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A microprocessor capable of operating as both an x86 ISA and an ARM ISA microprocessor includes first, second, and third storage that stores x86 ISA-specific, ARM ISA-specific, and non-ISA-specific state, respectively. When reset, the microprocessor initializes the first storage to default values specified by the x86 ISA, initializes the second storage to default values specified by the ARM ISA, initializes the third storage to predetermined values, and begins fetching instructions of a first ISA. The first ISA is the x86 ISA or the ARM ISA and a second ISA is the other ISA. The microprocessor updates the third storage in response to the first ISA instructions. In response to a subsequent one of the first ISA instructions that instructs the microprocessor to reset to the second ISA, the microprocessor refrains from modifying the non-ISA-specific state stored in the third storage and begins fetching instructions of the second ISA.

## Claims

### Claim 1

A microprocessor capable of operating as both an x86 instruction set architecture (ISA) microprocessor and an Advanced RISC Machines (ARM) ISA microprocessor, the microprocessor comprising:
first storage, that stores x86 ISA-specific state of the microprocessor;
second storage, that stores ARM ISA-specific state of the microprocessor; and
third storage, that stores non-ISA-specific state of the microprocessor;
wherein, in response to a reset, the microprocessor:
initializes the first storage to default values specified by the x86 ISA;
initializes the second storage to default values specified by the ARM ISA;
initializes the third storage to predetermined values; and
begins fetching instructions of a first ISA, wherein the first ISA is the x86 ISA or the ARM ISA and a second ISA is the other ISA;
wherein the microprocessor updates at least a portion of the third storage in response to one or more of the first ISA instructions;
wherein, in response to a subsequent one of the first ISA instructions that instructs the microprocessor to reset to the second ISA, the microprocessor:
refrains from modifying the non-ISA-specific state stored in the third storage; and
begins fetching instructions of the second ISA.

### Claim 2 (depends on 1)

The microprocessor of claim 1, further comprising:
an operation mode indicator, that indicates whether the microprocessor is operating as an x86 ISA or an ARM ISA microprocessor;
wherein, in response to the reset, the microprocessor:
initializes the operation mode indicator to indicate operation according to the first ISA; and
wherein, in response to the one of the first ISA instructions instructing the microprocessor to reset to the second ISA, the microprocessor:
initializes the operation mode indicator to indicate operation according to the second ISA.

### Claim 3 (depends on 2)

The microprocessor of claim 2, further comprising:
a hardware instruction translator, that translates x86 ISA instructions and ARM ISA instructions into microinstructions defined by a microinstruction set of the microprocessor, wherein the microinstructions are encoded in a distinct manner from the manner in which the instructions defined by the instruction sets of the x86 ISA and ARM ISA are encoded; and
an execution pipeline, coupled to the hardware instruction translator, wherein the execution pipeline executes the microinstructions to generate results defined by the x86 ISA and ARM ISA instructions;
wherein the hardware instruction translator translates the ISA instructions as x86 ISA instructions when the operation mode indicator indicates operation according to the x86 ISA, and the hardware instruction translator translates the ISA instructions as ARM ISA instructions when the operation mode indicator indicates operation according to the ARM ISA.

### Claim 4 (depends on 1)

The microprocessor of claim 1, wherein the microprocessor begins fetching instructions of the second ISA at a memory address specified in a predetermined portion of the first or second storage specific to the first ISA.

### Claim 5 (depends on 1)

The microprocessor of claim 1, wherein the microprocessor begins fetching instructions of the first ISA at a reset memory address specified by the first ISA.

### Claim 6 (depends on 1)

The microprocessor of claim 1, wherein the first ISA is encoded in microcode of the microprocessor.

### Claim 7 (depends on 6)

The microprocessor of claim 6, wherein the first ISA encoded in the microcode is modifiable by patching the microcode.

### Claim 8 (depends on 6)

The microprocessor of claim 6, wherein the first ISA encoded in the microcode is modifiable by blowing a fuse of the microprocessor.

### Claim 9 (depends on 1)

The microprocessor of claim 1, further comprising:
fourth storage, that stores state of the microprocessor shared by the x86 ISA and the ARM ISA;
wherein, in response to the reset, the microprocessor:
initializes the fourth storage to default values specified by the first ISA;
wherein, in response to the subsequent one of the first ISA instructions, the microprocessor:
initializes the fourth storage to initializes the fourth storage to default values specified by the second ISA.

### Claim 10 (depends on 1)

The microprocessor of claim 1, further comprising:
microcode, that initializes the first, second, and third storage in response to the reset.

### Claim 11 (depends on 1)

The microprocessor of claim 1, wherein the non-ISA-specific state stored in the third storage comprises information relating to the configuration of microcode patches applied to the microprocessor.

### Claim 12 (depends on 1)

The microprocessor of claim 1, wherein the non-ISA-specific state stored in the third storage comprises information relating to the configuration of memory performance enhancements.

### Claim 13 (depends on 1)

The microprocessor of claim 1, wherein the non-ISA-specific state stored in the third storage comprises information relating to the configuration of power management of the microprocessor.

### Claim 14 (depends on 1)

The microprocessor of claim 1, wherein the non-ISA-specific state stored in the third storage comprises information relating to the configuration of thermal control the microprocessor.

### Claim 15

A method for operating a microprocessor capable of operating as both an x86 instruction set architecture (ISA) microprocessor and an Advanced RISC Machines (ARM) ISA microprocessor, the method comprising:
in response to a reset of the microprocessor:
initializing first storage to default values specified by the x86 ISA, wherein the first storage stores x86 ISA-specific state of the microprocessor;
initializing second storage to default values specified by the ARM ISA, wherein the second storage stores ARM ISA-specific state of the microprocessor;
initializing third storage to predetermined values, wherein the third storage stores non-ISA-specific state of the microprocessor; and
fetching instructions of a first ISA, wherein the first ISA is the x86 ISA or the ARM ISA and a second ISA is the other ISA;
updating at least a portion of the third storage in response to one or more of the first ISA instructions;
in response to a subsequent one of the first ISA instructions that instructs the microprocessor to reset to the second ISA:
refraining from modifying the non-ISA-specific state stored in the third storage; and
fetching instructions of the second ISA.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
in response to the reset:
initializing an operation mode indicator to indicate operation according to the first ISA, wherein the operation mode indicator indicates whether the microprocessor is operating as an x86 ISA or an ARM ISA microprocessor; and
in response to the one of the first ISA instructions instructing the microprocessor to reset to the second ISA:
initializing the operation mode indicator to indicate operation according to the second ISA.

### Claim 17 (depends on 15)

The method of claim 15, further comprising:
translating the first and second ISA instructions into microinstructions defined by a microinstruction set of the microprocessor, wherein the microinstructions are encoded in a distinct manner from the manner in which the instructions defined by the instruction sets of the x86 ISA and ARM ISA are encoded; and
executing the microinstructions to generate results defined by the x86 ISA and ARM ISA instructions.

### Claim 18 (depends on 15)

The method of claim 15, wherein said fetching instructions of the second ISA comprises fetching instructions of the second ISA at a memory address specified in a predetermined portion of the first or second storage specific to the first ISA.

### Claim 19

A computer program product encoded in at least one computer readable storage medium for use with a computing device, the computer program product comprising:
computer readable program code embodied in said medium, for specifying a microprocessor capable of operating as both an x86 instruction set architecture (ISA) microprocessor and an Advanced RISC Machines (ARM) ISA microprocessor, the computer readable program code comprising:
first program code for specifying first storage that stores x86 ISA-specific state of the microprocessor;
second program code for specifying second storage that stores ARM ISA-specific state of the microprocessor; and
third program code for specifying third storage that stores non-ISA-specific state of the microprocessor;
wherein, in response to a reset, the microprocessor:
initializes the first storage to default values specified by the x86 ISA;
initializes the second storage to default values specified by the ARM ISA;
initializes the third storage to predetermined values; and
begins fetching instructions of a first ISA, wherein the first ISA is the x86 ISA or the ARM ISA and a second ISA is the other ISA;
wherein the microprocessor updates at least a portion of the third storage in response to one or more of the first ISA instructions;
wherein, in response to a subsequent one of the first ISA instructions that instructs the microprocessor to reset to the second ISA, the microprocessor:
refrains from modifying the non-ISA-specific state stored in the third storage; and
begins fetching instructions of the second ISA.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein the at least one computer readable storage medium is selected from the set of a disk, tape, or other magnetic, optical, or electronic storage medium and a network, wire line, wireless or other communications medium.
