US7356673B2 - System and method including distributed instruction buffers for storing frequently executed instructions in predecoded form - Google Patents

System and method including distributed instruction buffers for storing frequently executed instructions in predecoded form Download PDF

Info

Publication number
US7356673B2
US7356673B2 US09/845,693 US84569301A US7356673B2 US 7356673 B2 US7356673 B2 US 7356673B2 US 84569301 A US84569301 A US 84569301A US 7356673 B2 US7356673 B2 US 7356673B2
Authority
US
United States
Prior art keywords
instruction
instructions
processor
execution
buffers
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime, expires
Application number
US09/845,693
Other versions
US20020161987A1 (en
Inventor
Erik R. Altman
Clair John Glossner, III
Erdem Hokenek
David Meltzer
Mayan Moudgill
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meta Platforms Inc
Original Assignee
International Business Machines Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by International Business Machines Corp filed Critical International Business Machines Corp
Priority to US09/845,693 priority Critical patent/US7356673B2/en
Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATION reassignment INTERNATIONAL BUSINESS MACHINES CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: MOUDGILL, MAYAN, HOKENEK, ERDEM, GLOSSNER, CLAIR JOHN, III, MELTZER, DAVID, ALTMAN, ERIK R.
Priority to EP02729032A priority patent/EP1384146A1/en
Priority to CA002444543A priority patent/CA2444543A1/en
Priority to CN02808973.1A priority patent/CN1243305C/en
Priority to PCT/US2002/013394 priority patent/WO2002088941A1/en
Publication of US20020161987A1 publication Critical patent/US20020161987A1/en
Publication of US7356673B2 publication Critical patent/US7356673B2/en
Application granted granted Critical
Assigned to FACEBOOK, INC. reassignment FACEBOOK, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: INTERNATIONAL BUSINESS MACHINES CORPORATION
Assigned to META PLATFORMS, INC. reassignment META PLATFORMS, INC. CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: FACEBOOK, INC.
Adjusted expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline, look ahead
    • G06F9/3802Instruction prefetching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline, look ahead
    • G06F9/3867Concurrent instruction execution, e.g. pipeline, look ahead using instruction pipelines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline, look ahead
    • G06F9/3885Concurrent instruction execution, e.g. pipeline, look ahead using a plurality of independent parallel functional units

Definitions

  • the present invention relates to the design of semiconductor processors, and more particularly, to processors which can execute two or more operations per processor cycle.
  • Modern computer processors have several independent execution units which are capable of simultaneous operation. However, the number of execution units which can actually do useful work (confirmed or speculative) is limited by the number of instructions issued per cycle and the logic in the instruction issue unit.
  • the issue logic determines dependencies prior to sending the instructions to the execution units. For out-of-order processors, the issue logic limits the performance of the processor, while in-order processors are limited by the available instruction fetch bandwidth to the memory subsystem.
  • VLIW very long instruction word
  • VLIW instruction sets using format bits are also known in the art. Format bits can be used to reduce the size of code without compromising the issue width advantages of the VLIW format.
  • Other proposed solutions for reducing the stored size of VLIW programs are known in the prior art, however, these systems require decompression of the code as well as full decoding of each of the resulting VLIW instructions.
  • subset encoding for some part of a reduced instruction set computer (RISC) instruction set has been used in ARM® architecture based processors to reduce the size of instructions without reducing the issue width.
  • a two instruction set processor in which the second instruction set is a proper subset of the first instruction set is one example of subset encoding.
  • Each instruction set may be decoded by different instruction decoders, but executed on the same pipeline. This results in an instruction encoding of the second instruction set which includes fewer bits per instruction but which may be processed by the same instruction fetch/decode/issue logic as the primary encoding.
  • the processor must decompress the encoded second instruction set and then perform a full decode on the decoded instruction, or provide an alternate decoder for the second instruction set.
  • Another proposed solution includes a processor which executes a complex instruction set computer (CISC) instruction set and a RISC instruction set by translating each into the same format control word which is sent to the pipeline execution resources.
  • the format control word is the output of the instruction decoder, as in any conventional processor, and is not stored nor visible to software.
  • Some prior art systems have used modified instruction set encoding to increase the efficiency with which an instruction set can accomplish useful work. These encodings need a full instruction decoder to generate the controls for the execution resources and the pipeline connections between them.
  • the alternate encoding uses the same pipeline template no matter which instruction format is used.
  • the choice between which mechanism to use can be made by a compiler with a view of the source code and an execution profile. This compiler would need to analyze the execution profile and encode the instructions for the program into the different instruction formats based on execution performance and code size.
  • the code output from a compiler is formatted so that different routines may be in different instruction sets as directed by a programmer with the appropriate transfer between them.
  • no known system or method exists for scheduling to different instruction sets based on performance and usage.
  • processors e.g., signal processors
  • processors which spend a significant percentage of execution time in small kernels
  • an instruction fetch/decode/execute mechanism and pipeline template which would permit increased use of the execution resources and eliminate the work associated with instruction decoding. Therefore, a need exists for a system and method including distributed instruction buffers holding a second instruction set.
  • a method for processing a first instruction set and a second instruction set in a single processor.
  • the method includes storing a plurality of instructions of the second instruction set in a plurality of buffers proximate to a plurality of execution units, executing an instruction of the first instruction set in response to a first counter, and executing at least one instruction of the second instruction set in response to at least a second counter, wherein the second counter is invoked by a branch instruction of the first instruction set.
  • the instructions of the first form and instructions of the second form are generated by a compiler based on execution frequency. Instructions of the second form are more frequently executed than instructions of the first form.
  • Executing the control signals for the instruction of the second instruction set comprises de-gating a plurality of execution queues storing a plurality of control signals of the first instruction set, and pausing the fetching of the first set of instructions.
  • Executing the control signals for the instruction of the second instruction set further includes addressing the control signals, of the instruction, in the buffers, and sequencing the addressed control signals to the execution units.
  • the control signals of the second set of instructions are a logical subset of the control signals for the first instruction set.
  • Executing an instruction of the first instruction set may include fetching an instruction of the first set from a memory storing instructions of the first instruction set, decoding the instruction into a plurality of control signals, and issuing the control signals to the execution units.
  • Each execution unit is associated with one buffer.
  • a processor for processing a first instruction set and a second instruction set.
  • the processor includes a plurality of execution units which receive control signals, and a branch unit connected to an instruction fetch unit of the first instruction set and a sequencer of the second instruction set.
  • the processor includes a decode unit which decodes instructions of the first instruction set into control signals for the execution units, and a plurality of buffers, proximate to the execution units, for storing decoded instructions of the second instruction set.
  • the processor further includes a compiler which generates instructions of the first form and instructions of the second form based on execution frequency, wherein instructions of the second form are executed more frequently than instructions of the first form.
  • the sequencer engaged by the branch unit, addresses the decoded instructions of the second instruction set stored in the buffers and sequences control signals of the second instruction set.
  • the sequencer is connected to a plurality of gates connected between a plurality of execution queues for storing the control signals of the first instruction set and the plurality of execution units, the sequencer controls the gates.
  • Each execution unit is connected to a buffer.
  • the branch unit switches the processor from the first instruction set to the second instruction set in response to an unconditional branch instruction of the first instruction set.
  • the branch unit switches the processor from the second instruction set to the first instruction set in response to an unconditional branch instruction of the second instruction set.
  • a switch bit in a buffer connected to the branch unit signals the sequencer to stop fetching from the buffers and enables instruction fetching in primary instruction memory, fetching the next instruction after the unconditional branch.
  • the execution bandwidth of the execution units is larger than the fetch/decode/issue bandwidth.
  • the control signals of the second instruction set are a logical subset of the control signals of the first instruction set.
  • FIG. 1 shows an illustration of a multi-issue processor with an issue width of three and an execution width of five;
  • FIG. 2 shows a pipeline template according to the processor of FIG. 1 and a branch penalty without branch prediction
  • FIG. 3 shows a representation of a processor according to an embodiment of the present invention.
  • FIG. 4 shows a pipeline template according to the processor of FIG. 3 when executing from an execution local pre-decoded instruction buffer according to an embodiment of the present invention.
  • a system and method for a processor which can execute at least two operations per processor cycle and the execution bandwidth is wider than the instruction fetch/decode/issue bandwidth used in processing programs developed by compilers which analyze the code to be run on the processor.
  • the present invention may be implemented in various forms of hardware, software, firmware, special purpose processors, or a combination thereof.
  • the present invention may be implemented in software as an application program tangibly embodied on a program storage device.
  • the application program may be uploaded to, and executed by, a machine comprising any suitable architecture.
  • the machine is implemented on a computer platform having hardware such as one or more central processing units (CPU), a random access memory (RAM), and input/output (I/O) interface(s).
  • CPU central processing units
  • RAM random access memory
  • I/O input/output
  • the computer platform also includes an operating system and micro instruction code.
  • the various processes and functions described herein may either be part of the micro instruction code or part of the application program (or a combination thereof) which is executed via the operating system.
  • various other peripheral devices may be connected to the computer platform such as an additional data storage device and a printing device.
  • FIG. 1 shows a diagram of a prior art processor including five execution units 102 to 110 coupled to an instruction fetch/decode/issue complex 112 capable of issuing three instructions per cycle.
  • Each execution unit includes hardware controlled by signals decoded from the instruction in the decode, issue and EXecute1 cycles and presented to the hardware in the EXecute1 cycle. (See FIG. 2 .)
  • the issue of instructions can be limited by any of several causes, depending on the design of the processor. For example, in a compound instruction processor, the instruction text length may be too short to encode the controls for five execution units. Thus, the processor may not realize the potential maximum number of instructions issued per cycle, e.g., three. Similarly, in a conventional RISC processor, a limitation in bandwidth between the memory/cache subsystem and instruction fetch unit, or from a limitation in the dependency scheduling mechanism in the issue logic, may limit the issue of instructions.
  • FIG. 2 shows the pipeline characteristics of a processor in accordance with FIG. 1 .
  • the pipeline includes two cycles of instruction fetch 202 and 204 , and separate decode 206 and issue cycles 208 , totaling four cycles.
  • FIG. 2 also shows the branch penalty associated with the pipeline length 210 .
  • FIG. 3 is a diagram of a processor according to an embodiment of the present invention.
  • the processor includes a decoder 323 for a primary instruction form stored in the primary instruction cache or memory 321 .
  • the processor also includes hardware for handling an alternate form of the instruction set stored in local predecoded instruction buffers 306 - 310 .
  • the alternate form of the instruction is generated by a compiler, or other means, as control signals (decoded instructions) such that each buffer includes a different set of control signals.
  • Instructions to be stored in the primary instruction memory 321 and decoded instructions (control signals) to be stored in the local predecoded instruction buffers 306 - 310 can be generated by the code assignment phase of a compiler.
  • the compiler can target the two instruction formats and issue widths. Instructions of the second format contain one bit for each of the control signals generated by the instruction decoder of the first format. Because the second format includes the predecoded form of the first format, instructions of the second format will be wider, or include more bits, than instructions of the first format.
  • the increase in instruction width may be accompanied by an increase in execution speed as described below.
  • the compiler places decoded blocks of machine code (e.g., a small loop which is frequently accessed) into the local predecoded instruction buffers based either on static analysis or execution profiling.
  • a compiler determines execution frequency for blocks of machine code using any or all of the following: hints provided by a user in the form of source code annotations understandable to the computer; static evaluation of the structure of the code to determine, e.g., inner loops as distinguished from outer loops; or execution profiling.
  • the local predecoded instruction buffers 306 - 310 are associated one-to-one, in close physical proximity, with each execution unit 301 - 305 .
  • Each local predecoded instruction buffer is statically loaded with decoded instructions (control signals) of the alternate instruction form. Because these local buffers are smaller than the primary instruction cache 321 and proximate to the execution unit, they can be accessed faster than the primary instruction cache 321 . Proximity is a function of speed, in a processor according to the present invention, there is no significant logic delay in fetching the decoded instructions stored in the buffers for the execution hardware.
  • a buffer may be located at a position spatially distant from the execution hardware, however, according to the present invention, a buffer-to-execution hardware pathway with no significant logic delay as compared to the primary instruction fetch mechanism is considered proximate.
  • An alternate fetch/issue mechanism eliminates any instruction fetch bandwidth limitation.
  • the total pipeline length may be reduced by up to two cycles for predecoded instructions fetched from the local predecoded instruction buffers.
  • FIG. 4 shows this pipeline stage reduction for a non-branch instruction. The instruction fetch has been reduced to one cycle due to the faster buffer access as compared to the primary instruction cache 321 . The decode cycle has been eliminated since the contents of the local buffers are predecoded.
  • FIG. 4 shows the pipeline stages for a taken branch instruction within the local decoded instruction buffers, for example, for a loop closing branch. Comparing this with FIG. 2 shows that the shorter pipeline has reduced the branch penalty, or the number of stages between issue of the branch and the issue of the target of the taken branch, by two. Therefore, high frequency sequences of instructions, as determined by the compiler, stored in the local predecoded instruction buffers, which may include looping code, execute in fewer cycles due to the reduction in branch penalty without the need for branch prediction and target prefetch mechanisms.
  • the processor also includes a branch unit 305 .
  • a program counter in the processor advances through the instructions in the primary memory 321 .
  • the branch unit shifts the processor from the primary fetch/decode/issue mechanism 322 - 324 to the alternate mechanism for the alternate instruction form stored in the buffers.
  • a sequencer 325 is provided to control the fetching of the alternate instruction form because the addressing is different than that understood by the instruction fetch hardware 323 .
  • the alternate fetch/issue mechanism is embodied in the sequencer 325 .
  • the sequencer is invoked by an unconditional branch instruction (e.g., branch_to_C$) detected by the decode/issue/branch mechanism, 323 / 324 / 305 , of the primary instruction form.
  • the branch instruction suspends primary instruction fetch/decode/issue/execute functions and enables the alternate mechanism of the sequencer 325 .
  • sequencer 325 After the sequencer 325 is invoked, it switches a plurality of gates 316 - 320 prior to the execution units 301 - 305 for the primary instruction form, de-gating execution queues 311 - 315 of the primary instruction form.
  • the branch unit 305 signals the fetch unit 322 to stop fetching instructions of the primary form from memory 321 .
  • the sequencer 325 includes an alternate program counter for directing the fetching of the decoded instructions. Further, the sequencer 325 sequences of the decoded instructions (control signals) from the local predecoded instruction buffers. Individual program counters can be implemented for each buffer to improve the efficiency with which the buffer space is used.
  • each execution unit is associated with its own buffer, a full complement of instructions (e.g., five) can be executed per clock cycle.
  • a full complement of instructions e.g., five
  • five instructions of the alternate form can be executed during each clock cycle.
  • An exit from the alternate instruction fetching can be signaled to the sequencer 325 by any of several means.
  • a switch bit in the buffer 310 local to the branch unit 305 may signal the sequencer 325 to stop fetching from the local predecoded instruction buffers 306 - 310 and enable instruction fetching in primary instruction memory 321 , fetching the next instruction after the unconditional switch branch.
  • Another example may include defining a RETURN_TO_NORMAL_FETCHING instruction in the buffer 310 which can behave as a branch to a designated instruction in the primary instruction memory 321 .
  • FIG. 4 shows the pipeline when fetching from the local buffer as well as the reduced branch penalty compared to the prior art.

Abstract

A system and method is provided for processing a first instruction set and a second instruction set in a single processor. The method includes storing a plurality of instructions of the second instruction set in a plurality of buffers proximate to a plurality of execution units, executing an instruction of the first instruction set in response to a first counter, and executing at least one instruction of the second instruction set in response to at least a second counter, wherein the second counter is invoked by a branch instruction of the first instruction set.

Description

BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to the design of semiconductor processors, and more particularly, to processors which can execute two or more operations per processor cycle.
2. Description of Related Art
Modern computer processors have several independent execution units which are capable of simultaneous operation. However, the number of execution units which can actually do useful work (confirmed or speculative) is limited by the number of instructions issued per cycle and the logic in the instruction issue unit. The issue logic determines dependencies prior to sending the instructions to the execution units. For out-of-order processors, the issue logic limits the performance of the processor, while in-order processors are limited by the available instruction fetch bandwidth to the memory subsystem.
The use of very long instruction word (VLIW) instruction sets for in-order processors is one proposed solution to the issue logic limitation. However, use of a VLIW is accompanied by significant demands on the instruction fetch bandwidth to the memory subsystem.
Compressed VLIW instruction sets using format bits are also known in the art. Format bits can be used to reduce the size of code without compromising the issue width advantages of the VLIW format. Other proposed solutions for reducing the stored size of VLIW programs are known in the prior art, however, these systems require decompression of the code as well as full decoding of each of the resulting VLIW instructions.
For example, subset encoding for some part of a reduced instruction set computer (RISC) instruction set has been used in ARM® architecture based processors to reduce the size of instructions without reducing the issue width. A two instruction set processor in which the second instruction set is a proper subset of the first instruction set is one example of subset encoding. Each instruction set may be decoded by different instruction decoders, but executed on the same pipeline. This results in an instruction encoding of the second instruction set which includes fewer bits per instruction but which may be processed by the same instruction fetch/decode/issue logic as the primary encoding. However, the processor must decompress the encoded second instruction set and then perform a full decode on the decoded instruction, or provide an alternate decoder for the second instruction set.
Another proposed solution includes a processor which executes a complex instruction set computer (CISC) instruction set and a RISC instruction set by translating each into the same format control word which is sent to the pipeline execution resources. The format control word is the output of the instruction decoder, as in any conventional processor, and is not stored nor visible to software.
Some prior art systems have used modified instruction set encoding to increase the efficiency with which an instruction set can accomplish useful work. These encodings need a full instruction decoder to generate the controls for the execution resources and the pipeline connections between them. The alternate encoding uses the same pipeline template no matter which instruction format is used. The choice between which mechanism to use can be made by a compiler with a view of the source code and an execution profile. This compiler would need to analyze the execution profile and encode the instructions for the program into the different instruction formats based on execution performance and code size. In one proposed system, the code output from a compiler is formatted so that different routines may be in different instruction sets as directed by a programmer with the appropriate transfer between them. However, no known system or method exists for scheduling to different instruction sets based on performance and usage.
For processors (e.g., signal processors) which spend a significant percentage of execution time in small kernels, it would be desirable to have an instruction fetch/decode/execute mechanism and pipeline template which would permit increased use of the execution resources and eliminate the work associated with instruction decoding. Therefore, a need exists for a system and method including distributed instruction buffers holding a second instruction set.
SUMMARY OF THE INVENTION
According to an embodiment of the present invention, a method is provided for processing a first instruction set and a second instruction set in a single processor. The method includes storing a plurality of instructions of the second instruction set in a plurality of buffers proximate to a plurality of execution units, executing an instruction of the first instruction set in response to a first counter, and executing at least one instruction of the second instruction set in response to at least a second counter, wherein the second counter is invoked by a branch instruction of the first instruction set.
The instructions of the first form and instructions of the second form are generated by a compiler based on execution frequency. Instructions of the second form are more frequently executed than instructions of the first form.
Executing the control signals for the instruction of the second instruction set comprises de-gating a plurality of execution queues storing a plurality of control signals of the first instruction set, and pausing the fetching of the first set of instructions. Executing the control signals for the instruction of the second instruction set further includes addressing the control signals, of the instruction, in the buffers, and sequencing the addressed control signals to the execution units. The control signals of the second set of instructions are a logical subset of the control signals for the first instruction set.
Executing an instruction of the first instruction set may include fetching an instruction of the first set from a memory storing instructions of the first instruction set, decoding the instruction into a plurality of control signals, and issuing the control signals to the execution units. Each execution unit is associated with one buffer.
According to an embodiment of the present invention, a processor is provided for processing a first instruction set and a second instruction set. The processor includes a plurality of execution units which receive control signals, and a branch unit connected to an instruction fetch unit of the first instruction set and a sequencer of the second instruction set. The processor includes a decode unit which decodes instructions of the first instruction set into control signals for the execution units, and a plurality of buffers, proximate to the execution units, for storing decoded instructions of the second instruction set. The processor further includes a compiler which generates instructions of the first form and instructions of the second form based on execution frequency, wherein instructions of the second form are executed more frequently than instructions of the first form.
The sequencer, engaged by the branch unit, addresses the decoded instructions of the second instruction set stored in the buffers and sequences control signals of the second instruction set. The sequencer is connected to a plurality of gates connected between a plurality of execution queues for storing the control signals of the first instruction set and the plurality of execution units, the sequencer controls the gates. Each execution unit is connected to a buffer.
The branch unit switches the processor from the first instruction set to the second instruction set in response to an unconditional branch instruction of the first instruction set. The branch unit switches the processor from the second instruction set to the first instruction set in response to an unconditional branch instruction of the second instruction set. Alternatively, a switch bit in a buffer connected to the branch unit signals the sequencer to stop fetching from the buffers and enables instruction fetching in primary instruction memory, fetching the next instruction after the unconditional branch.
The execution bandwidth of the execution units is larger than the fetch/decode/issue bandwidth. The control signals of the second instruction set are a logical subset of the control signals of the first instruction set.
BRIEF DESCRIPTION OF THE DRAWINGS
Preferred embodiments of the present invention will be described below in more detail, with reference to the accompanying drawings:
FIG. 1 shows an illustration of a multi-issue processor with an issue width of three and an execution width of five;
FIG. 2 shows a pipeline template according to the processor of FIG. 1 and a branch penalty without branch prediction;
FIG. 3 shows a representation of a processor according to an embodiment of the present invention; and
FIG. 4 shows a pipeline template according to the processor of FIG. 3 when executing from an execution local pre-decoded instruction buffer according to an embodiment of the present invention.
DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS
According to an embodiment of the present invention, a system and method is provided for a processor which can execute at least two operations per processor cycle and the execution bandwidth is wider than the instruction fetch/decode/issue bandwidth used in processing programs developed by compilers which analyze the code to be run on the processor.
It is to be understood that the present invention may be implemented in various forms of hardware, software, firmware, special purpose processors, or a combination thereof. In one embodiment, the present invention may be implemented in software as an application program tangibly embodied on a program storage device. The application program may be uploaded to, and executed by, a machine comprising any suitable architecture. Preferably, the machine is implemented on a computer platform having hardware such as one or more central processing units (CPU), a random access memory (RAM), and input/output (I/O) interface(s). The computer platform also includes an operating system and micro instruction code. The various processes and functions described herein may either be part of the micro instruction code or part of the application program (or a combination thereof) which is executed via the operating system. In addition, various other peripheral devices may be connected to the computer platform such as an additional data storage device and a printing device.
It is to be further understood that, because some of the constituent system components and method steps depicted in the accompanying figures may be implemented in software, the actual connections between the system components (or the process steps) may differ depending upon the manner in which the present invention is programmed. Given the teachings of the present invention provided herein, one of ordinary skill in the related art will be able to contemplate these and similar implementations or configurations of the present invention.
FIG. 1 shows a diagram of a prior art processor including five execution units 102 to 110 coupled to an instruction fetch/decode/issue complex 112 capable of issuing three instructions per cycle. Each execution unit includes hardware controlled by signals decoded from the instruction in the decode, issue and EXecute1 cycles and presented to the hardware in the EXecute1 cycle. (See FIG. 2.) The issue of instructions can be limited by any of several causes, depending on the design of the processor. For example, in a compound instruction processor, the instruction text length may be too short to encode the controls for five execution units. Thus, the processor may not realize the potential maximum number of instructions issued per cycle, e.g., three. Similarly, in a conventional RISC processor, a limitation in bandwidth between the memory/cache subsystem and instruction fetch unit, or from a limitation in the dependency scheduling mechanism in the issue logic, may limit the issue of instructions.
Irrespective of the particular limitation, such a design cannot achieve an instruction pipeline completion rate greater than three-fifths of the potential peak rate for the issue unit. For small loops which use all execution resources, such as a signal or video processing kernel, this results in a significant reduction in processor performance. FIG. 2 shows the pipeline characteristics of a processor in accordance with FIG. 1. The pipeline includes two cycles of instruction fetch 202 and 204, and separate decode 206 and issue cycles 208, totaling four cycles. FIG. 2 also shows the branch penalty associated with the pipeline length 210.
FIG. 3 is a diagram of a processor according to an embodiment of the present invention. The processor includes a decoder 323 for a primary instruction form stored in the primary instruction cache or memory 321. The processor also includes hardware for handling an alternate form of the instruction set stored in local predecoded instruction buffers 306-310. The alternate form of the instruction is generated by a compiler, or other means, as control signals (decoded instructions) such that each buffer includes a different set of control signals.
Instructions to be stored in the primary instruction memory 321 and decoded instructions (control signals) to be stored in the local predecoded instruction buffers 306-310 can be generated by the code assignment phase of a compiler. The compiler can target the two instruction formats and issue widths. Instructions of the second format contain one bit for each of the control signals generated by the instruction decoder of the first format. Because the second format includes the predecoded form of the first format, instructions of the second format will be wider, or include more bits, than instructions of the first format. The increase in instruction width may be accompanied by an increase in execution speed as described below. The compiler places decoded blocks of machine code (e.g., a small loop which is frequently accessed) into the local predecoded instruction buffers based either on static analysis or execution profiling.
Compilers which target two instruction sets in one machine are known in the art, e.g., compilers which target the ARM instruction set and the THUMB® instruction set. However, these compilers first attempt to put code into the THUMB code and when this fails, revert to the ARM code. According to an embodiment of the present invention, a compiler determines execution frequency for blocks of machine code using any or all of the following: hints provided by a user in the form of source code annotations understandable to the computer; static evaluation of the structure of the code to determine, e.g., inner loops as distinguished from outer loops; or execution profiling. Those blocks of code which are determined to be the most frequently executed and whose size allows them to fit within a local predecoded instruction buffer are stored therein in the second (predecoded) instruction format. The compiler continues to generate instructions of the alternate, decoded form until all available space in the local predecoded instruction buffers is occupied.
The local predecoded instruction buffers 306-310 are associated one-to-one, in close physical proximity, with each execution unit 301-305. Each local predecoded instruction buffer is statically loaded with decoded instructions (control signals) of the alternate instruction form. Because these local buffers are smaller than the primary instruction cache 321 and proximate to the execution unit, they can be accessed faster than the primary instruction cache 321. Proximity is a function of speed, in a processor according to the present invention, there is no significant logic delay in fetching the decoded instructions stored in the buffers for the execution hardware. Thus, a buffer may be located at a position spatially distant from the execution hardware, however, according to the present invention, a buffer-to-execution hardware pathway with no significant logic delay as compared to the primary instruction fetch mechanism is considered proximate. An alternate fetch/issue mechanism eliminates any instruction fetch bandwidth limitation.
In a processor according to FIG. 3 the total pipeline length may be reduced by up to two cycles for predecoded instructions fetched from the local predecoded instruction buffers. FIG. 4 shows this pipeline stage reduction for a non-branch instruction. The instruction fetch has been reduced to one cycle due to the faster buffer access as compared to the primary instruction cache 321. The decode cycle has been eliminated since the contents of the local buffers are predecoded. FIG. 4 shows the pipeline stages for a taken branch instruction within the local decoded instruction buffers, for example, for a loop closing branch. Comparing this with FIG. 2 shows that the shorter pipeline has reduced the branch penalty, or the number of stages between issue of the branch and the issue of the target of the taken branch, by two. Therefore, high frequency sequences of instructions, as determined by the compiler, stored in the local predecoded instruction buffers, which may include looping code, execute in fewer cycles due to the reduction in branch penalty without the need for branch prediction and target prefetch mechanisms.
The processor also includes a branch unit 305. A program counter in the processor advances through the instructions in the primary memory 321. However, upon determining an unconditional switch branch instruction of the primary instruction form, the branch unit shifts the processor from the primary fetch/decode/issue mechanism 322-324 to the alternate mechanism for the alternate instruction form stored in the buffers.
A sequencer 325 is provided to control the fetching of the alternate instruction form because the addressing is different than that understood by the instruction fetch hardware 323. The alternate fetch/issue mechanism is embodied in the sequencer 325. The sequencer is invoked by an unconditional branch instruction (e.g., branch_to_C$) detected by the decode/issue/branch mechanism, 323/324/305, of the primary instruction form. The branch instruction suspends primary instruction fetch/decode/issue/execute functions and enables the alternate mechanism of the sequencer 325.
After the sequencer 325 is invoked, it switches a plurality of gates 316-320 prior to the execution units 301-305 for the primary instruction form, de-gating execution queues 311-315 of the primary instruction form. In addition, the branch unit 305 signals the fetch unit 322 to stop fetching instructions of the primary form from memory 321. The sequencer 325 includes an alternate program counter for directing the fetching of the decoded instructions. Further, the sequencer 325 sequences of the decoded instructions (control signals) from the local predecoded instruction buffers. Individual program counters can be implemented for each buffer to improve the efficiency with which the buffer space is used.
Because each execution unit is associated with its own buffer, a full complement of instructions (e.g., five) can be executed per clock cycle. In a processor according to FIG. 3, five instructions of the alternate form can be executed during each clock cycle. Thus, for the predecoded blocks of code (instructions), the potential instruction pipeline completion rate can be achieved.
An exit from the alternate instruction fetching can be signaled to the sequencer 325 by any of several means. For example, a switch bit in the buffer 310 local to the branch unit 305 may signal the sequencer 325 to stop fetching from the local predecoded instruction buffers 306-310 and enable instruction fetching in primary instruction memory 321, fetching the next instruction after the unconditional switch branch. Another example may include defining a RETURN_TO_NORMAL_FETCHING instruction in the buffer 310 which can behave as a branch to a designated instruction in the primary instruction memory 321. FIG. 4 shows the pipeline when fetching from the local buffer as well as the reduced branch penalty compared to the prior art.
Having described embodiments of a system and method for a distributed instruction buffer holding a second instruction form, it is noted that modifications and variations can be made by persons skilled in the art in light of the above teachings. It is therefore to be understood that changes may be made in the particular embodiments of the invention disclosed which are within the scope and spirit of the invention as defined by the appended claims. Having thus described the invention with the details and particularity required by the patent laws, what is claimed and desired protected by Letters Patent is set forth in the appended claims.

Claims (17)

1. A computer-implemented method for processing a first instruction set and a second instruction set in a processor comprising the steps of:
providing a program of instructions comprising a plurality of instructions of the first instruction set and a plurality of instructions of the second instruction set, wherein the plurality of instructions of the first instruction set are decoded by a decoder in an execution pipeline and the plurality of instructions of the second instruction set are predecoded by a compiler, wherein the second instruction set is a logical subset of the first instruction set, and wherein the instructions of the second instruction set are control signals generated by the compiler and are not decoded during a runtime of the program;
storing the plurality of instructions of the second set in a plurality of buffers proximate to a plurality of execution units;
executing at least one instruction of the first instruction set in response to a first counter; and
executing at least one instruction of the second instruction set in response to at least a second counter, wherein the second counter is invoked by a branch instruction of the first instruction set,
wherein the step of executing at least one instruction of the second instruction set further comprises the steps of
de-gating a plurality of execution queues storing the plurality of instructions of the first instruction set, and
pausing a fetching of the first instruction set from a memory.
2. The method of claim 1, wherein the instructions of the first set and instructions of the second set are generated by the compiler, wherein instructions of the second set are statically loaded into the plurality of buffers as control signals ready for execution.
3. The method of claim 2, wherein instructions of the second set are more frequently executed than instructions of the first set.
4. The method of claim 1, wherein the step of executing at least one instruction of the second instruction set further comprises the steps of:
fetching at least one instruction of the second instruction set from a buffer of the plurality of buffers; and
sequencing the at least one instruction of the second instruction set to the execution units.
5. The method of claim 1, wherein the step of executing at least one instruction of the first instruction set further comprises the steps of:
fetching an instruction of the first set form a memory;
decoding the instruction; and
issuing the decoded instruction to at least one execution unit.
6. The method of claim 1, wherein a return to fetching of the first instruction set is signaled by a switch bit in a buffer of a branch unit storing instructions of the second set.
7. The method of claim 1, wherein a return to fetching of the first instruction set is signaled by a return instruction of the second instruction set stored in a buffer of a branch unit.
8. The method of claim 1, wherein each execution unit is associated with a different buffer of the plurality of buffers.
9. A processor for processing a program of instructions comprising instructions of a first instruction form and a second instruction form comprising:
a plurality of execution units for receiving instructions;
a branch unit connected to an instruction fetch unit for the first instruction form and a sequencer for the second instruction form, wherein the sequencer controls a plurality of gates connected between a plurality of execution queues for storing decoded instructions of the first instruction form and the plurality of execution units;
a decode unit for decoding instructions of the first instruction form into control signals for the execution units; and
a plurality of buffers, proximate to the execution units, for storing predecoded instructions of the second instruction form, wherein the second instruction form is a logical subset of the first instruction form, wherein the predecoded instructions of the second instruction form are statically stored in the plurality of buffers, and wherein the predecoded instructions of the second instruction form are control signals generated by a compiler and are not decoded during a runtime of the program.
10. The processor of claim 9, wherein the instructions of the first form and instructions of the second form are generated based on execution frequency, wherein instructions of the second form are executed more frequently than instructions of the first form.
11. The processor of claim 9, wherein the sequencer, engaged by the branch unit, addresses the predecoded instructions of the second instruction form stored in the buffers and sequences predecoded instructions of the second instruction form to the execution units.
12. The processor of claim 9, wherein each execution unit is connected to a corresponding buffer of the plurality of buffers.
13. The processor of claim 9, wherein the branch unit switches the processor from the first instruction form to the second instruction form in response to a branch instruction of the first instruction form.
14. The processor of claim 9, wherein the branch unit switches the processor from the second instruction form to the first instruction form in response to a branch instruction of the secondinstruction form.
15. The processor of claim 9, wherein a switch bit in a buffer of the plurality of buffers connected to the branch unit signals the sequencer to stop fetching from the buffers and enables instruction fetching from a memory storing instructions of the first instruction form.
16. The processor of claim 9, wherein an execution bandwidth of the execution units is larger than a fetch/issue bandwidth of the first form.
17. A processor for processing a first instruction form and a second instruction form of an instruction set comprising:
a plurality of execution units for receiving instructions;
a branch unit connected to an instruction fetch unit for the first instruction form and a sequencer for the second instruction form, wherein the branch unit switches the processor from the first instruction form to the second instruction form in response to a branch instruction of the first instruction form and switches the processor from the second instruction form to the first instruction form in response to a branch instruction of the second instruction form;
a decode unit adapted to decode instructions of the first instruction form into control signals for the execution units;
an issue unit adapted to sequence decoded instructions of the first instruction form;
a plurality of buffers, proximate to the execution units, for statically storing predecoded instructions of the second instruction form, wherein the predecoded instructions of the second instruction form are not decoded during a runtime, and wherein each execution unit is connected to a corresponding buffer of the plurality of buffers; and
the sequencer, engaged by the branch unit, adapted to fetch the predecoded instructions and sequence the predecoded instructions of the second instruction form, wherein the sequencer is connected to a plurality of gates connected between a plurality of execution queues adapted to store the decoded instructions of the first instruction form and the plurality of execution units, the sequencer further adapted to control the gates.
US09/845,693 2001-04-30 2001-04-30 System and method including distributed instruction buffers for storing frequently executed instructions in predecoded form Expired - Lifetime US7356673B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
US09/845,693 US7356673B2 (en) 2001-04-30 2001-04-30 System and method including distributed instruction buffers for storing frequently executed instructions in predecoded form
PCT/US2002/013394 WO2002088941A1 (en) 2001-04-30 2002-04-26 System and method including distributed instruction buffers holding a second instruction form
CA002444543A CA2444543A1 (en) 2001-04-30 2002-04-26 System and method including distributed instruction buffers holding a second instruction form
CN02808973.1A CN1243305C (en) 2001-04-30 2002-04-26 System and method including distributed instruction buffers holding a second instruction form
EP02729032A EP1384146A1 (en) 2001-04-30 2002-04-26 System and method including distributed instruction buffers holding a second instruction form

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US09/845,693 US7356673B2 (en) 2001-04-30 2001-04-30 System and method including distributed instruction buffers for storing frequently executed instructions in predecoded form

Publications (2)

Publication Number Publication Date
US20020161987A1 US20020161987A1 (en) 2002-10-31
US7356673B2 true US7356673B2 (en) 2008-04-08

Family

ID=25295863

Family Applications (1)

Application Number Title Priority Date Filing Date
US09/845,693 Expired - Lifetime US7356673B2 (en) 2001-04-30 2001-04-30 System and method including distributed instruction buffers for storing frequently executed instructions in predecoded form

Country Status (5)

Country Link
US (1) US7356673B2 (en)
EP (1) EP1384146A1 (en)
CN (1) CN1243305C (en)
CA (1) CA2444543A1 (en)
WO (1) WO2002088941A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050055677A1 (en) * 2003-09-10 2005-03-10 Murthi Nanja Methods and apparatus for dynamic best fit compilation of mixed mode instructions
US20060265573A1 (en) * 2005-05-18 2006-11-23 Smith Rodney W Caching instructions for a multiple-state processor
US20080177993A1 (en) * 2006-08-08 2008-07-24 International Business Machines Corporation System, method and program product for control of sequencing of data processing by different programs
US20100169615A1 (en) * 2007-03-14 2010-07-01 Qualcomm Incorporated Preloading Instructions from an Instruction Set Other than a Currently Executing Instruction Set
US9323530B2 (en) 2012-03-28 2016-04-26 International Business Machines Corporation Caching optimized internal instructions in loop buffer
US20170177366A1 (en) * 2015-12-22 2017-06-22 Qualcomm Incorporated Selective storing of previously decoded instructions of frequently-called instruction sequences in an instruction sequence buffer to be executed by a processor

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8131984B2 (en) * 2009-02-12 2012-03-06 Via Technologies, Inc. Pipelined microprocessor with fast conditional branch instructions based on static serializing instruction state
US9372695B2 (en) 2013-06-28 2016-06-21 Globalfoundries Inc. Optimization of instruction groups across group boundaries
US9348596B2 (en) 2013-06-28 2016-05-24 International Business Machines Corporation Forming instruction groups based on decode time instruction optimization
CN106557301B (en) * 2015-09-25 2019-05-07 上海兆芯集成电路有限公司 Via the multistage firing order allocating method for retaining station structure

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5172379A (en) * 1989-02-24 1992-12-15 Data General Corporation High performance memory system
US5317745A (en) * 1992-01-10 1994-05-31 Zilog, Inc. Minimal interrupt latency scheme using multiple program counters
US5615375A (en) * 1992-11-17 1997-03-25 Fujitsu Limited Interrupt control circuit
US5638525A (en) * 1995-02-10 1997-06-10 Intel Corporation Processor capable of executing programs that contain RISC and CISC instructions
US5742782A (en) * 1994-04-15 1998-04-21 Hitachi, Ltd. Processing apparatus for executing a plurality of VLIW threads in parallel
US5794010A (en) * 1996-06-10 1998-08-11 Lsi Logic Corporation Method and apparatus for allowing execution of both compressed instructions and decompressed instructions in a microprocessor
US5896522A (en) * 1996-12-31 1999-04-20 Unisys Corporation Selective emulation interpretation using transformed instructions
US5933627A (en) * 1996-07-01 1999-08-03 Sun Microsystems Thread switch on blocked load or store using instruction thread field
US6085314A (en) * 1996-03-18 2000-07-04 Advnced Micro Devices, Inc. Central processing unit including APX and DSP cores and including selectable APX and DSP execution modes
US6223254B1 (en) * 1998-12-04 2001-04-24 Stmicroelectronics, Inc. Parcel cache
US6247121B1 (en) * 1997-12-16 2001-06-12 Intel Corporation Multithreading processor with thread predictor
US6430674B1 (en) * 1998-12-30 2002-08-06 Intel Corporation Processor executing plural instruction sets (ISA's) with ability to have plural ISA's in different pipeline stages at same time
US6453407B1 (en) * 1999-02-10 2002-09-17 Infineon Technologies Ag Configurable long instruction word architecture and instruction set
US6463582B1 (en) * 1998-10-21 2002-10-08 Fujitsu Limited Dynamic optimizing object code translator for architecture emulation and dynamic optimizing object code translation method
US6502185B1 (en) * 2000-01-03 2002-12-31 Advanced Micro Devices, Inc. Pipeline elements which verify predecode information
US6625756B1 (en) * 1997-12-19 2003-09-23 Intel Corporation Replay mechanism for soft error recovery
US6643736B1 (en) * 2000-08-29 2003-11-04 Arm Limited Scratch pad memories

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5699536A (en) * 1995-04-13 1997-12-16 International Business Machines Corporation Computer processing system employing dynamic instruction formatting
US5742781A (en) * 1996-08-09 1998-04-21 Hitachi America, Ltd. Decoded instruction buffer apparatus and method for reducing power consumption in a digital signal processor

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5172379A (en) * 1989-02-24 1992-12-15 Data General Corporation High performance memory system
US5317745A (en) * 1992-01-10 1994-05-31 Zilog, Inc. Minimal interrupt latency scheme using multiple program counters
US5615375A (en) * 1992-11-17 1997-03-25 Fujitsu Limited Interrupt control circuit
US5742782A (en) * 1994-04-15 1998-04-21 Hitachi, Ltd. Processing apparatus for executing a plurality of VLIW threads in parallel
US5638525A (en) * 1995-02-10 1997-06-10 Intel Corporation Processor capable of executing programs that contain RISC and CISC instructions
US6085314A (en) * 1996-03-18 2000-07-04 Advnced Micro Devices, Inc. Central processing unit including APX and DSP cores and including selectable APX and DSP execution modes
US5794010A (en) * 1996-06-10 1998-08-11 Lsi Logic Corporation Method and apparatus for allowing execution of both compressed instructions and decompressed instructions in a microprocessor
US5933627A (en) * 1996-07-01 1999-08-03 Sun Microsystems Thread switch on blocked load or store using instruction thread field
US5896522A (en) * 1996-12-31 1999-04-20 Unisys Corporation Selective emulation interpretation using transformed instructions
US6247121B1 (en) * 1997-12-16 2001-06-12 Intel Corporation Multithreading processor with thread predictor
US6625756B1 (en) * 1997-12-19 2003-09-23 Intel Corporation Replay mechanism for soft error recovery
US6463582B1 (en) * 1998-10-21 2002-10-08 Fujitsu Limited Dynamic optimizing object code translator for architecture emulation and dynamic optimizing object code translation method
US6223254B1 (en) * 1998-12-04 2001-04-24 Stmicroelectronics, Inc. Parcel cache
US6430674B1 (en) * 1998-12-30 2002-08-06 Intel Corporation Processor executing plural instruction sets (ISA's) with ability to have plural ISA's in different pipeline stages at same time
US6453407B1 (en) * 1999-02-10 2002-09-17 Infineon Technologies Ag Configurable long instruction word architecture and instruction set
US6502185B1 (en) * 2000-01-03 2002-12-31 Advanced Micro Devices, Inc. Pipeline elements which verify predecode information
US6643736B1 (en) * 2000-08-29 2003-11-04 Arm Limited Scratch pad memories

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Hennessy and Patterson, "Computer Architecture-A Quantitative Approach, 2<SUP>nd </SUP>Edition ," 1996, pp. 130 and 134. *
Hennessy and Patterson, "Computer Architecture-A Quantitative Approach, 2nd Edition," 1996, pp. 252-253. *
Mike Johnson, "Superscalar Microprocessor Design," Prentice Hall, 1991. *
T. Ball and J. Larus, "Efficient Path Profiling," 29th Annual IEEE/ACM International Symposium on Microarchitecture, Paris, pp. 46-57, 1996. *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8732678B2 (en) 2003-09-10 2014-05-20 Intel Corporation Methods and apparatus for dynamic best fit compilation of mixed mode instructions
US20100042979A1 (en) * 2003-09-10 2010-02-18 Murthi Nanja Methods and apparatus for dynamic best fit compilation of mixed mode instructions
US20050055677A1 (en) * 2003-09-10 2005-03-10 Murthi Nanja Methods and apparatus for dynamic best fit compilation of mixed mode instructions
US7617490B2 (en) * 2003-09-10 2009-11-10 Intel Corporation Methods and apparatus for dynamic best fit compilation of mixed mode instructions
US7769983B2 (en) * 2005-05-18 2010-08-03 Qualcomm Incorporated Caching instructions for a multiple-state processor
US20060265573A1 (en) * 2005-05-18 2006-11-23 Smith Rodney W Caching instructions for a multiple-state processor
US8001540B2 (en) * 2006-08-08 2011-08-16 International Business Machines Corporation System, method and program product for control of sequencing of data processing by different programs
US20080177993A1 (en) * 2006-08-08 2008-07-24 International Business Machines Corporation System, method and program product for control of sequencing of data processing by different programs
US20100169615A1 (en) * 2007-03-14 2010-07-01 Qualcomm Incorporated Preloading Instructions from an Instruction Set Other than a Currently Executing Instruction Set
US8145883B2 (en) 2007-03-14 2012-03-27 Qualcomm Incorporation Preloading instructions from an instruction set other than a currently executing instruction set
US9323530B2 (en) 2012-03-28 2016-04-26 International Business Machines Corporation Caching optimized internal instructions in loop buffer
US9384000B2 (en) 2012-03-28 2016-07-05 International Business Machines Corporation Caching optimized internal instructions in loop buffer
US20170177366A1 (en) * 2015-12-22 2017-06-22 Qualcomm Incorporated Selective storing of previously decoded instructions of frequently-called instruction sequences in an instruction sequence buffer to be executed by a processor
US9830152B2 (en) * 2015-12-22 2017-11-28 Qualcomm Incorporated Selective storing of previously decoded instructions of frequently-called instruction sequences in an instruction sequence buffer to be executed by a processor

Also Published As

Publication number Publication date
EP1384146A1 (en) 2004-01-28
CA2444543A1 (en) 2002-11-07
WO2002088941A1 (en) 2002-11-07
CN1505781A (en) 2004-06-16
US20020161987A1 (en) 2002-10-31
CN1243305C (en) 2006-02-22

Similar Documents

Publication Publication Date Title
Ditzel et al. Branch folding in the CRISP microprocessor: Reducing branch delay to zero
US7003652B2 (en) Restarting translated instructions
US5850543A (en) Microprocessor with speculative instruction pipelining storing a speculative register value within branch target buffer for use in speculatively executing instructions after a return
US5870598A (en) Method and apparatus for providing an optimized compare-and-branch instruction
US6093213A (en) Flexible implementation of a system management mode (SMM) in a processor
EP1323036B1 (en) Storing stack operands in registers
US5884057A (en) Temporal re-alignment of a floating point pipeline to an integer pipeline for emulation of a load-operate architecture on a load/store processor
US20020069402A1 (en) Scheduling control within a system having mixed hardware and software based instruction execution
US6684323B2 (en) Virtual condition codes
US5509137A (en) Store processing method in a pipelined cache memory
US5604878A (en) Method and apparatus for avoiding writeback conflicts between execution units sharing a common writeback path
US20020083302A1 (en) Hardware instruction translation within a processor pipeline
US5799180A (en) Microprocessor circuits, systems, and methods passing intermediate instructions between a short forward conditional branch instruction and target instruction through pipeline, then suppressing results if branch taken
JPH07114469A (en) Data processing unit
US7356673B2 (en) System and method including distributed instruction buffers for storing frequently executed instructions in predecoded form
US6374351B2 (en) Software branch prediction filtering for a microprocessor
JP2003525476A (en) Apparatus and method for executing program instructions
US6735687B1 (en) Multithreaded microprocessor with asymmetrical central processing units
KR20040045467A (en) Speculative execution for java hardware accelerator
JP2006216040A (en) Method and apparatus for dynamic prediction by software
US11055099B2 (en) Branch look-ahead instruction disassembling, assembling, and delivering system apparatus and method for microprocessor system
US6170053B1 (en) Microprocessor with circuits, systems and methods for responding to branch instructions based on history of prediction accuracy
US20050108508A1 (en) Apparatus having a micro-instruction queue, a micro-instruction pointer programmable logic array and a micro-operation read only memory and method for use thereof
JP2007500404A (en) Instruction alignment method and apparatus
US10437596B2 (en) Processor with a full instruction set decoder and a partial instruction set decoder

Legal Events

Date Code Title Description
AS Assignment

Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW Y

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:ALTMAN, ERIK R.;GLOSSNER, CLAIR JOHN, III;HOKENEK, ERDEM;AND OTHERS;REEL/FRAME:012198/0586;SIGNING DATES FROM 20010426 TO 20010830

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCF Information on status: patent grant

Free format text: PATENTED CASE

REMI Maintenance fee reminder mailed
FPAY Fee payment

Year of fee payment: 4

SULP Surcharge for late payment
AS Assignment

Owner name: FACEBOOK, INC., CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:INTERNATIONAL BUSINESS MACHINES CORPORATION;REEL/FRAME:028011/0666

Effective date: 20120327

FPAY Fee payment

Year of fee payment: 8

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 12TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1553); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 12

AS Assignment

Owner name: META PLATFORMS, INC., CALIFORNIA

Free format text: CHANGE OF NAME;ASSIGNOR:FACEBOOK, INC.;REEL/FRAME:058553/0802

Effective date: 20211028