Method and apparatus for instruction and data serialization in a computer processor
Abstract
A new instruction that ensures that the effects of a control register write will be observed at a well defined time is introduced. Specifically, the present invention introduces the concept of a serialization fence instruction. The serialization fence instruction ensures that after a control register in a computer has been modified, all subsequent instructions will observe the effects of the control register modification. Two different serialization fence instructions are illustrated: a data memory reference serialization fence instruction (SRLZ.d) and an instruction fetch serialization fence instruction (SRLZ.i). The data memory reference serialization fence instruction ensures that subsequent instruction executions and data memory references will observe the effects of the control register write. The instruction fetch serialization fence instruction ensures that the entire machine pipeline, starting at the initial instruction fetch stage, will observe the effects of the control register write.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 39.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
In a computer processor, a method of ensuring that the effects of control register writes are visible to succeeding instructions, said method comprising: executing a first instruction that modifies at least one bit in a control register in said computer processor; executing a serialization fence instruction, said serialization fence instruction determining if said processor should stall a subsection of a pipeline in said computer processor until a latency period expires to ensure that effects from said modified control register are observable by a next sequential instruction; and executing
- Claim 2Depends on #1
The method as claimed in claim 1 wherein said latency period comprises a worst case latency period.
- Claim 3Depends on #1
The method as claimed in claim 1 wherein said latency period associated with said control
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 39 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (5)
- "Power PC 601 User's Manual", 1993, p. 3.53-3.56, G.4-6.
- "Power PC Microprocessor Family: The Programming Environments For 32-Bit roprocessors", Motorola, Inc. Rev. 1, pp. 4-8, 4-9, 6-6, 6-7, 8-99, 8-211, Jan. 1997.
- Power PC 601 User s Manual , 1993, p. 3.53 3.56, G.4 6.
- Power PC Microprocessor Family: The Programming Environments For 32 Bit Microprocessors , Motorola, Inc. Rev. 1, pp. 4 8, 4 9, 6 6, 6 7, 8 99, 8 211, Jan. 1997.
- PowerPC 601 RISC Microprocessor User s Manual, 1993, p. 10 212.