A COMPUTER SYSTEM CONFIGURED TO TRANSLATE A COMPUTER PROGRAM INTO A SECOND COMPUTER PROGRAM PRIOR TO EXECUTING THE COMPUTER PROGRAM

Abstract: A computer system is provided which includes at least two microprocessors. The first microprocessor is configured to translate instructions from an original computer program coded in a first instruction set to a translated computer program coded in a second instruction set. The second microprocessor is configured to execute the translated program. In one particular embodiment, the original program is coded in the x86 instruction set and the translated program is coded in the ADSP 2171 instruction set. Instead of manually performing the translation, the translation is automatically performed by the computer system upon invocation of the original computer program. Those computer programs which may be more efficiently executed by the second microprocessor may be translated into the instruction set executed by the second microprocessor. In one embodiment, the translation of the computer program is performed in page-sized portions. The first microprocessor translates a first page of the original computer program. While the first microprocessor translates a second page of the original computer program, the second microprocessor begins execution of the first page of translated instructions.

Description: TITLE: A Computer System Configured to Translate A Computer Program into a Second Computer Program Prior to Executing the Computer Program BACKGROUND OF THE INVENTION 1 Field of the Invention This invention relates to the field of computer systems and, more particularly, to a computer system having a first microprocessor configured to translate a first computer program to a second computer program The computer system also includes a second microprocessor configured to execute the second computer program 2 Description of the Relevant Art Microprocessors are an integral part of computer systems, generally controlling other devices within the computer system The performance of the computer system is often in large part dictated by the performance of the microprocessors included within the system As used herein the term microprocessor refers to an integrated circuit configured to execute instructions from an instruction set and to interface to other devices in a computer system in order to convey actions required by the instructions being executed Exemplary microprocessors are general purpose microprocessors such as x86 microprocessors which control the entire computer system, microcontrollers often included within devices in a computer system to perform specific processing functions unique to the devices, and digital signal processors optimized for performing signal processing functions A sequence of instructions (i e a computer program) executed by the microprocessor defines the operations to be performed by the computer system, as well as the order of those operations An instruction set comprises a plurality of instructions which a microprocessor is configured to execute Each instruction has a particular encoding of bits which uniquely identifies the instruction within the instruction set The microprocessor includes circuitry configured to recognize each instruction and perform operations defined for that instruction Instruction sets are generally classified as fixed length instruction sets or variable length instructions sets In fixed length instruction sets, each instruction is represented by a set number of bits The set number of bits is equal for each instruction within the instruction set In variable length instruction sets, each instruction is specified by a variable number of bits Due to its widespread acceptance in the computer industry, the x86 instruction set is a popular instruction set in which many computer programs are coded Unfortunately, many computer programs may be more efficiently coded in a DSP instruction set such as the instruction set employed by the ADSP 2171 available from Analog Devices, Inc of Norwood, Massachusetts Computer programs which perform complex mathematical operations may be particularly suitable for coding in a DSP instruction set Even more particularly suitable for a DSP instruction set are computer programs which perform mathematical algorithms such as correlation convolution, finite impulse response (FIR) filters, infinite impulse response (IIR) filters Fast Fourier Transforms (FFTs), matrix computations, and inner products, among other operations Manually converting a computer program from the x86 instruction set to a DSP instruction set may require a large and expensive investment of manpower A less expensive means of translating a computer program from one instruction set to another is desired SUMMARY OF THE INVENTION The problems outlined above are in large part solved by a computer system in accordance with the present invention The computer system includes at least two microprocessors The first microprocessor is configured to translate instructions from an original computer program coded in a first instruction set to a translated computer program coded in a second instruction set The second microprocessor is configured to execute the translated program In one particular embodiment, the original program is coded in the x86 instruction set and the translated program is coded in the ADSP 2171 instruction set Advantageously, the expense of translating from the original computer program to the translated computer program may be reduced Instead of manually performing the translation, the translation is automatically performed by the computer system upon invocation of the original computer program Due to the decreased expense of translating computer programs, those computer programs which may be more efficiently executed by the second microprocessor may be translated The computer system may therefore achieve increased performance when executing those computer programs In one embodiment, the translation of the computer program is performed in page-sized portions The first microprocessor translates a first page of the original computer program While the first microprocessor translates a second page of the original computer program, the second microprocessor begins execution of the first page of translated instructions Advantageously, original computer program translation may occur concurrently with translated computer program execution Performance may be increased over embodiments which perform the translation and execution tasks serially In one particular embodiment, the first and second microprocessors and a buffer are integrated onto a single semiconductor substrate The first microprocessor (which may be a simpler unit than the second microprocessor) translates instructions and stores them into the buffer The second microprocessor executes instructions from the buffer Computer system costs may be decreased if the microprocessors and buffer are configured upon the same substrate Additionally, communication between the microprocessors and the buffer may be substantially faster due to the lower capacitance of substrate interconnect as opposed to the board interconnect used between discrete devices Broadly speaking, the present invention contemplates a computer system comprising a bus, a first microprocessor coupled to the bus, and a second microprocessor coupled to the bus The first microprocessor is configured to translate at least a portion of a first computer program coded in a first instruction set into at least a portion of a second computer program coded in a second instruction set The second instruction set is different from the first instruction set The second microprocessor is configured to execute the second computer program The present invention further contemplates a method for executing a first computer program coded in a first instruction set withm a computer system, comprising several steps The first computer program is translated into a second computer program coded in a second instruction set A first microprocessor within the computer system is configured to perform the translation The second computer program is executed upon a second microprocessor within the computer system BRIEF DESCRIPTION OF THE DRAWINGS Other objects and advantages of the invention will become apparent upon reading the following detailed description and upon reference to the accompanying drawings in which Fig 1 is a block diagram of a first embodiment of a computer system including a pair of microprocessors Fig 2 is a block diagram of a second embodiment of a computer system including a pair of microprocessors and a buffer coupled between the microprocessors Fig 3 is a flow chart showing the actions performed by one of the microprocessors shown in Fig 2, according to one embodiment Fig 4 is a table of instructions created while performing the actions shown in Fig 3 While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail It should be understood, however, that the drawings and detailed description thereto are not intended to limit the invention to the particular form disclosed, but on the contrary, the intention is to cover all modifications, equivalents and alternatives falling within the spirit and scope of the present invention as defined by the appended claims DETAILED DESCRIPTION OF THE INVENTION Turning now to Fig 1, one embodiment of a computer system 10 is shown Computer system 10 includes a first microprocessor 12, a second microprocessor 14, a bus bridge 16, a main memory 18, and a plurality of input/output (I/O) devices 20A-20N (collectively referred to as I/O devices 20) A system bus 22 couples first microprocessor 12, second microprocessor 14, bus bridge 16, and main memory 18 I/O devices 20A-20N are coupled to bus bridge 16 via an I/O bus 24 Generally speaking, first microprocessor 12 is configured to translate an ongmal computer program coded in a first instruction set into a translated computer program coded m a second instruction set Second microprocessor 14 is configured to execute the second instruction set The original computer program is stored in mam memory 18 The ongmal computer program may be transferred into main memory 18 from an I/O device 20 when a user of computer system 10 attempts to execute the ongmal computer program, for example First microprocessor 12 transfers (or reads) the original computer program from main memory 18 and translates the original computer program into the translated computer program First microprocessor 12 translates the origma! computer program a portion at a time, and then stores the translated portion such that second microprocessor 14 may access it In this manner second microprocessor 14 may begin execution of the translated computer program while first microprocessor 12 translates subsequent portions of the original computer program Advantageously, the original computer program is translated by computer system 10 while the translated computer program is executed Manpower need not be invested in translating the original computer program from one instruction set to another Another advantage of translating the original computer program into the translated computer program involves the dissimilar goals of program transmission and program execution For transmitting and storing a program, the most compact possible expression of the program is desired The compact size occupies less storage and may be transmitted (from a hard disk storage to main memory 18 and from main memory 18 to the microprocessors) efficiently For example, a variable byte length instruction set such as the x86 instruction set may be suitable for program storage and transmission (i e for the original computer program) Each instruction occupies only those bytes which are necessary to specify the instruction Conversely, computer program execution may be most efficient if the instructions are simple to detect and decode Since simpler logic may require fewer cascaded logic levels, fewer pipeline stages and/or higher clock frequencies may be achieved Variable byte length instructions are typically difficult to detect and decode One instruction must be at least partially decoded prior to detection of the subsequent instruction Fixed length instruction sets (in which each instruction occupies the same number of bytes as each other instruction) may be suitable for computer program execution (i.e for the translated computer program) Because each instruction is fixed length, knowledge of the location of the first instruction implies the location of each subsequent instruction Additionally, opcode and operand fields are typically located in the same position withm each instruction, further simplifying instruction decode By employing the translation scheme described herein, the original computer program may be coded using an instruction set which is ideal for program storage and transmission Meanwhile, the translated computer program may be coded using another instruction set which is ideal for program execution The size of the portions processed by first microprocessor 12 may vary, and comprises a page in one embodiment. A page is a predefined number of consecutive memory locations within mam memory 18 The page is aligned to a page boundary, such that an offset of a byte within the page may be concatenated with high order address bits to form the address of the byte In other words, only a number of low order bits of the address are varied to access each of the consecutive memory locations For example, a page may include 4 kilobytes of consecutive memory locations. The 4 kilobyte page begins at an address having twelve low order zeros, such that the upper order 20 bits (of a 32 bit address) are common to all bytes within the page Other portion sizes may be employed by other embodiments By translating the program in portions, second microprocessor 14 may begin execution of the translated program prior to completion of the translation Advantageously, translated program execution and program translation may be performed concurrently In the embodiment shown, first microprocessor 12 stores portions of the translated computer program into main memory 18. Second microprocessor 14 reads the translated computer program from main memory 18 A particular memory location within mam memory 18 may be defined for communicatmg when a particular page is stored in mam memory 18 First microprocessor 12 translates a page of instructions, stores them into mam memory 18, and stores a value indicative of the page into the particular memory location. Pages of instructions in the translated program are thereby communicated between first microprocessor 12 and second microprocessor 14. It is noted that data used by second microprocessor 14 is stored in main memory 18 and accessed by second microprocessor 14 as needed. In one embodiment, the original program is coded in the x86 instruction set and the translated program is coded in the ADSP 2171 instruction set. First microprocessor 12 may be designed to execute any instruction set, but is designed to execute the x86 instruction set in one embodiment. In particular, first microprocessor 12 need not execute the instruction set in which the original program is coded. Similarly, second microprocessor 14 may be configured to execute any instruction set, but is designed to execute the ADSP 2171 instruction set in one embodiment. Bus bridge 16 is provided to assist in communications between I/O devices 20 and devices coupled to system bus 22. I/O devices 20 typically require longer bus clock cycles than first microprocessor 12, second microprocessor 14, and other devices coupled to system bus 22. Therefore, bus bridge 16 provides a buffer between system bus 22 and input/output bus 24. Additionally, bus bridge 16 translates transactions from one bus protocol to another. In one embodiment, input/output bus 24 is an Enhanced Industry Standard Architecture (EISA) bus and bus bridge 16 translates from the system bus protocol to the EISA bus protocol. In another embodiment, input/output bus 24 is a Peripheral Component Interconnect (PCI) bus and bus bridge 16 translates from the system bus protocol to the PCI bus protocol. It is noted that many variations of system bus protocols exist. First microprocessor 12 and second microprocessor 14 may employ any suitable system bus protocol. I/O devices 20 provide an interface between computer system 10 and other devices external to the computer system. Exemplary I/O devices include a modem, a serial or parallel port, a sound card, etc. I/O devices 20 may also be referred to as peripheral devices. Main memory 18 stores data and instructions for use by first microprocessor 12 and second microprocessor 14. In particular, main memory 18 is configured to store the original computer program and the translated computer program. In one embodiment, main memory 20 includes at least one Dynamic Random Access Memory (DRAM) chip and a DRAM memory controller. It is noted that although computer system 10 as shown in Fig. 1 includes two microprocessors, other embodiments of computer system 10 may included multiple microprocessors similar to microprocessor 12 and/or multiple microprocessors similar to microprocessor 14. It is further noted that the discussion herein may refer to the assertion of various signals. As used herein, a signal is "asserted" if it conveys a value indicative of a particular condition. Conversely, a signal is "deasserted" if it conveys a value indicative of a lack of a particular condition. A signal may be defined to be asserted when it conveys a logical zero value or, conversely, when it conveys a logical one value. Turning next to Fig. 2, another embodiment of computer system 10 is shown. Like numbered elements in Figs. 1 and 2 are similar. In addition to the elements shown in Fig. 1 , the embodiment shown in Fig. 2 includes a buffer 30. Buffer 30 is used to store portions of the translated computer program, and is coupled between first microprocessor 12 and second microprocessor 14. First microprocessor 12 is coupled to store portions of the translated computer program into buffer 30, and second microprocessor 14 is coupled to read portions of the translated computer program from buffer 30. In order to allow for first microprocessor 12 to continue translation with subsequent portions of the original computer program while second microprocessor 14 executes a portion of the translated computer program, buffer 30 is divided into two symmetrical sections in one embodiment. Each section includes a page of storage and an indication that the page of storage is valid (i.e. that first microprocessor 12 has stored the page of storage into buffer 30). The pages of storage are indicated as reference numerals 32 A and 32B, while the corresponding valid indications are indicated as reference numerals 34A and 34B. In one embodiment, each valid indication comprises a bit indicative, when set, that the corresponding page of storage is valid. The configuration of buffer 30 as shown in Fig. 2 is often referred to as a ping-pong buffer. First microprocessor 12 may store a page of instructions into page of storage 32 A. While second microprocessor 14 reads and executes the instructions within page of storage 32 A, first microprocessor 12 stores a subsequent page of instructions into page of storage 32B. When second microprocessor 14 completes the instructions stored in page of storage 32A, second microprocessor 14 begins executing instructions from page of storage 32B and first microprocessor 12 begins storing instructions into page of storage 32 A. Hence, first microprocessor 12 alternately stores instructions into page of storages 32. Second microprocessor 14 alternately reads from the page of storage 32 opposite to the page of storage being stored to by first microprocessor 12. Therefore, each microprocessor is seen to "ping-pong" from one page of storage 32 to the other. In the embodiment of Fig. 2, second microprocessor 14 is configured to detect when the instructions being executed from one of page of storages 32 have been exhausted. Upon exhaustion of the instructions, second microprocessor 14 checks the valid indication 34 of the alternate page of storage 32 prior to reading instructions from the alternate page of storage 32. If the valid indication 34 is not yet set, then second microprocessor 14 waits for the valid indication 34 to be set before reading instructions. Second microprocessor 14 resets the valid indication 34 upon exhausting the instructions within the corresponding page of storage 32. In this manner, first microprocessor 12 may determine when it may begin storing instructions into a page of storage 32 (i.e. the corresponding valid indication 34 is reset before first microprocessor 12 begins storing instructions into the page of storage 32). It is noted that first microprocessor 12, second microprocessor 14, and buffer 30 may be integrated onto a single substrate (as indicated by dashed enclosure 36 in Fig. 2). First microprocessor 12 may be a simple processor configured only to translate instructions from the original computer program to the translated computer program. In this manner, computer system 10 may include fewer discrete devices. Cost may be advantageously decreased in the resulting computer system. Still further, communication between microprocessors 12 and 14 and buffer 30 may be performed at the typically higher clock rate of internal circuitry, as opposed to the typically lower clock rate of system bus 22. Turning now to Fig. 3, a flow chart showing actions performed by first microprocessor 12 according to one embodiment is shown. The flow chart includes steps 40, 42, 44, and 48. Additionally, the flow chart includes decision boxes 46 and 50 As noted above, first microprocessor 12 performs the translation of an original computer program on a page by page basis When first microprocessor 12 begins translating the original computer program, first microprocessor 12 preprocesses the instructions within a page Steps 40, 42 and 44 and decision box 46 indicate the actions included in preprocessing a page according to the embodiment of Fig 3 A table of instructions within the page is built, storing each instruction and the information generated in the preprocess stage The table of instructions may then be translated into instructions in the instruction set employed by second microprocessor 14 For each instruction in the page (the "current instruction"), steps 40, 42, and 44 are performed First, the subsequent instructions in the page are scanned to determine if any of the subsequent instructions have dependencies upon the current instruction The scan stops when a branch instruction is detected or when another instruction has a destination equal to the destination of the current instruction Scanning is ended for branch instructions because a dependency beyond a branch may not be statically determinable Determining whether or not an instruction subsequent to a branch instruction depends upon the current instruction includes determining the direction the branch instruction selects when the program is executed Similarly, once another instruction stores a value to the destination of the current instruction, any subsequent instructions are dependent upon the other instruction If a dependency is detected upon the current instruction, first microprocessor 12 determines if the current instruction and the dependent instruction may be combined into a single operation within the instruction set employed by second microprocessor 14 For example, the ADSP 2171 is configured to perform a multiply-add instruction in which a pair of operands are multiplied and the product is added to a third operand Therefore, if the current instruction is a multiply and the dependent instruction is an add, the instructions may be combined First microprocessor 12 notes the position within the page of the dependent instruction which mav be combined with the current instruction Searching the subsequent instructions for dependencies is represented by step 40 As used herein, a second instruction is dependent upon a first instruction prior to the second instruction if the first instruction produces a result which is used as an operand of the second instruction The second instruction is said to have a "dependency" upon the first instruction In addition to searching for dependencies, other types of instruction operations may be combined in the instruction set of second microprocessor 14 For example, the ADSP 2171 is configured to perform an operation upon two operands, read new values from memory to be stored in the registers holding the two operands, and increment two other registers stormg the addresses of the new values Therefore, instructions which use registers as operands and subsequent instructions which read operands into those registers may be combined into a single operation First microprocessor 12 notes the position in the page of such instructions Instructions which are not dependent in the original computer program but which may be combined into a single operation within the instruction set employed by second microprocessor 14 are said to be "combinable" The step of searching for combinable instructions is shown in Fig 3 as step 42 It is noted that steps 40 and 42 may be performed in parallel, such that the subsequent instructions within the page are traversed only once It is further noted that first microprocessor 12 ends the search through subsequent instructions for similar reasons to ending the search performed in step 40 (l e detection of a branch instruction or a subsequent instruction which updates the destination of the current instruction) In step 44, each instruction in the page is stored into a table of instructions by first microprocessor 12 The dependencies and combinable instructions which were noted in steps 40 and 42 are stored into the table along with the instruction As represented by decision box 46, first microprocessor 12 determines if all instructions in the page have been preprocessed and placed into the table of instructions If not, then first microprocessor 12 reads the next instruction and repeats steps 40, 42, and 44 If all instructions in the page have been processed, then first microprocessor 12 proceeds to step 48 First microprocessor 12 translates the instructions in the table of instructions during step 48 Starting with the first instruction the page, first microprocessor 12 creates equivalent instructions in the instruction set executed by second microprocessor 14 If one or more instructions are noted as dependent upon the instruction being translated or as combinable with the instruction being translated, those one or more instructions are translated concurrently into a single instruction in the instruction set employed by second microprocessor 14 Each equivalent instruction is stored into a designated storage location In one embodiment, the equivalent instructions are stored in buffer 30 The equivalent instructions may be additionally stored into main memory 18, such that if the page of instructions is executed again at later time the instructions need not be retranslated In another embodiment, the equivalent instructions are stored into main memory 18 and buffer 30 is not included Once the page of instructions has been translated and stored, first microprocessor 12 sets the valid indication with respect to the page Second microprocessor 14 may then access and execute the page of equivalent instructions Subsequent to setting the valid indication, first microprocessor 12 determines if all pages m the original computer program have been translated (decision box 50) First microprocessor 12 repeats steps 40 through 48 for any additional pages in the computer program Once the entire original program has been translated, first microprocessor 12 has completed the translation task In embodiments of computer system 10 including buffer 30, step 50 involves a test to see if the alternate page of storage is available for storing a newly translated page As discussed earlier, the valid indication 34 associated with the alternate page of storage 32 being reset indicates that the page of storage is available It is noted that, although the previously described procedure details translating consecutive pages of a program, many programs do not execute consecutive pages Instead, subroutine calls and other branching behavior may cause pages to be accessed in an essentially random order with respect to their storage in main memory 18 First microprocessor 12 may be configured to detect that second microprocessor 14 requires a particular page to be translated in order to continue instruction execution Upon detection of such a requirement, first microprocessor 12 may translate that particular page out of order with respect to the consecutive pages being translated It is further noted that consecutive pages may not be adjacent in memory Instead, a page may be consecutive to another page if no pages of instructions are stored in memory addresses between the two pages It is still further noted that the steps of detecting dependent and combinable instructions and the step of creating equivalent instructions may be performed in parallel In other words, each instruction may be preprocessed and the equivalent instruction immediately created, as opposed to tabulating the instructions and translating from the table For such an embodiment, the table of instructions may include simply an indication that the instruction has been combined with a prior instruction First microprocessor 12 may then skip preprocessing and translating an instruction which has already been translated Turning now to Fig 4, an embodiment of the table of instructions 60 formed by first microprocessor 12 durmg instruction preprocessing is shown Table of instructions 60 includes a plurality of storage locations 62 (including storage locations 62A, 62B, and 62C shown in Fig 4) Each storage location 62 includes an instruction field 64, a dependency field 66, a combine field 68, and a combined bit 70 Instruction field 64 stores the instruction corresponding to the storage location 62 Instructions are stored in table of instructions 60 in program order, such that the instruction stored in storage location 62 A is prior to the instruction stored in storage location 62B in program order An instruction address locating the instruction withm the page may also be stored in instruction field 64 Dependency field 66 stores an indication of instructions subsequent to the instruction stored in the current storage location 62 which are dependent upon the instruction In one embodiment, a number indicative of the storage location 62 which stores the subsequent instruction is stored in dependency field 66 Combine field 68 similarly stores and indication of instructions subsequent to the instruction stored in the current storage location 62 However, instructions indicated by combine field 68 are not dependent upon the current instruction Instead, the instructions indicated by combine field 68 perform operations which second microprocessor 14 is configured to perform in parallel with operations defined by the current instruction In one embodiment, combine field 68 stores a number indicative of the storage location 62 which stores the combinable instruction When first microprocessor 12 creates equivalent instructions in the instruction set of second microprocessor 14, first microprocessor 12 parses through table of instructions 60 If an instruction identified by dependency field 66 or combine field 68 is combined with an instruction stored in the corresponding storage location 62, first microprocessor 12 sets the combined bit 70 of the instructions identified by dependency field 66 or combine field 68 First microprocessor 12, when processing a storage location 62, checks the state of the combined bit 70 If the combined bit 70 is set, first microprocessor 12 skips the current instruction and beg s processing the subsequent storage location 62 In this manner, first microprocessor 12 does not attempt to create an equivalent instruction for one of the identified instructions The operation performed by the identified instructions is performed by the equivalent instruction previously created, and therefore should not be performed a second time In accordance with the above disclosure, a computer system has been disclosed The computer system includes a first microprocessor configured to translate an original computer program into a translated computer program A second microprocessor is configured to execute the translated computer program Certain ongmal computer programs may execute more efficiently in the translated instruction set, advantageously increasing performance However, the cost associated with manually converting the ongmal program to the translated instruction set is avoided through the operation of the first microprocessor Numerous variations and modifications will become apparent to those skilled in the art once the above disclosure is fully appreciated It is intended that the following claims be interpreted to embrace all such variations and modifications

Claims: WHAT IS CLAIMED IS: 1 A computer system, comprising a bus, a first microprocessor coupled to said bus, wherein said first microprocessor is configured to translate at least a portion of a first computer program coded in a first instruction set into at least a portion of a second computer program coded in a second instruction set different from said first instruction set, and a second microprocessor coupled to said bus, wherein said second microprocessor is configured to execute said second computer program 2 The computer system as recited in claim 1 further comprising a buffer coupled between said first and said second microprocessor, wherein said first microprocessor is configured to store said portion of said second computer program into said buffer 3 The computer system as recited in claim 2 wherein said second microprocessor is configured to fetch said portion of said second computer program from said buffer 4 The computer system as recited in claim 2 wherein said buffer comprises a storage location configured to store a value indicative that said portion of said second computer program is stored within said buffer 5 The computer system as recited in claim 4 wherein said buffer comprises a ping-pong buffer 6 The computer system as recited in claim 5 wherein said first microprocessor is configure to translate a second portion of said first computer program into a second portion of said second computer program while said first processor is executing said portion of said second computer program 7 The computer system as recited in claim I further comprising a mam memory coupled to said bus, wherein said mam memory is configured to store said first computer program, and wherein said first microprocessor is configured to access said first computer program from said mam memory 8 The computer system as recited in claim 7 wherein said first microprocessor is further configured to store said second computer program within said main memory, and wherein said second microprocessor is configured to fetch said second program from said main memory 9 The computer system as recited in claim 1 wherein said first instruction set comprises the x86 instruction set 10 The computer system as recited in claim 9 wherein said second instruction set comprises the ADSP 2171 instruction set 1 1 A method for executing a first computer program coded in a first instruction set withm a computer system, comprising translating said first computer program into a second computer program coded in a second instruction set, wherein a first microprocessor within said computer system is configured to perform said translating, and executing said second computer program upon a second microprocessor within said computer system 12 The method as recited in claim 11 wherein said translating comprises translating a first portion of said first computer program into a first portion of said second computer program and translating a second portion of said first computer program into a second portion of said second computer program 13 The method as recited in claim 12 wherein said executing comprises executing said first portion of said second computer program and executing said second portion of said second computer program 14 The method as recited in claim 13 wherein said translating said second portion of said first computer program and said executing said first portion of said second computer program are performed concurrently 15 The method as recited in claim 14 wherein said first portion of said first computer program comprises a page 16 The method as recited in claim 1 1 further comprising storing said second computer program into a buffer prior to executing said second computer program 17 The method as recited in claim 1 1 wherein said translating comprises detecting a dependency between a first instruction and a second instruction within said first computer program, wherein said first instruction and said second instruction may be combined into an instruction within said second instruction set, and combining said first instruction and said second instruction into said instruction 18 The method as recited in claim 1 1 wherein said translating compnses detecting a third instruction and a fourth instruction within said first computer program which may be combined into another instruction within said second instruction set, and combining said third instruction and said fourth instruction into said another instruction

Inventors: LYNCH THOMAS W, LYNCH, THOMAS, W.
Applicants: ADVANCED MICRO DEVICES INC, ADVANCED MICRO DEVICES, INC.
Application year: 1996
Main classification: G06F9
IPC codes: G06F9