Claims Analysis
Total Claims: 4
Claim 1
Independent Claim
291 words
A method for use in a microprocessor, comprising the steps of: fetching instructions from a main instruction stream and storing them in a main buffer section of a prefetch buffer; executing said instructions from said main buffer; in response to a procedural or branch target instruction in said main instruction stream, (a) fetching further instructions from an emulation or a branch target instruction stream and storing them in a procedural buffer section of the prefetch buffer or a target buffer section of the prefetch buffer, respectively; (b) executing said further instructions, while maintaining said instructions in said main buffer that follow said procedural or target instruction so that they do not have to be refetched and an indication of a first return address to said main instruction stream; in response to a synchronous exception occurring relative to a given instruction in said main instruction steam, (a) fetching a first handler instruction stream and storing it in the procedural buffer section of the prefetch buffer; (b) executing instructions from said first handler instruction stream, while maintaining said instructions in said main buffer that follow said given instruction so that they do not have to be refetched and an indication of a second return address to said main instruction stream; and in response to a synchronous exception occurring relative to a further given instruction in said emulation or said branch target instruction stream, (a) fetching a second handler instruction stream and storing it in the procedural buffer section of the prefetch buffer; (b) executing instructions from said second handler instruction stream, while maintaining both an indication of a third return address to said emulation or said branch target instruction stream and said indication of said first return address to said main instruction stream.
Claim 2
Independent Claim
291 words
A method for use in a microprocessor, comprising the steps of: fetching instructions from a main instruction stream and storing them in a main buffer section of a prefetch buffer; executing said instructions from said main buffer; in response to a procedural or branch target instruction in said main instruction stream, (a) fetching further instructions from an emulation or a branch target instruction stream and storing them in a procedural buffer section of the prefetch buffer or a target buffer section of the prefetch buffer, respectively; (b) executing said further instructions, while maintaining said instructions in said main buffer that follow said procedural or target instruction so that they do not have to be refetched and an indication of a first return address to said main instruction stream; in response to a synchronous exception occurring relative to a given instruction in said main instruction steam, (a) fetching a first handler instruction stream and storing it in the procedural buffer section of the prefetch buffer; (b) executing instructions from said first handler instruction stream, while maintaining said instructions in said main buffer that follow said given instruction so that they do not have to be refetched and an indication of a second return address to said main instruction stream; and in response to a synchronous exception occurring relative to a further given instruction in said emulation or said branch target instruction stream, (a) fetching a second handler instruction stream and storing it in the procedural buffer section of the prefetch buffer; (b) executing instructions from said second handler instruction stream, while maintaining both an indication of a third return address to said emulation or said branch target instruction stream and said indication of said first return address to said main instruction stream.
Claim 3
Dependent Claim
70 words
A method according to claim 1, further comprising the steps of: resuming execution of instructions from said main instruction stream beginning at said second return address, in response to a return from trap instruction in said second handler instruction stream; and resuming execution of instructions from said emulation instruction stream beginning at said third return address, in response to a return from trap instruction in said third handler instruction stream.
Claim 4
Dependent Claim
39 words
A method according to claim 1, further comprising the step of resuming execution of instructions from said main instruction stream beginning at said first return address in response to a return from procedure instruction in said emulation instruction stream.