Handling dependency conditions between machine instructions
Abstract
Techniques for handling dependency conditions, including evil twin conditions, are disclosed herein. An instruction may designate a source register comprising two portions. The source register may be a double-precision register and its two portions may be single-precision portions, each specified as destinations by two other single-precision instructions. Execution of these two single-precision instructions, especially on a register renaming machine, may result in the appropriate values for the two portions of the source register being stored in different physical locations, which can complicate execution of an instruction stream. In response to detecting a potential dependency, one or more instructions may be inserted in an instruction stream to enable the appropriate values to be stored within one physical double precision register, eliminating an actual or potential evil twin dependency. Embodiments including a compiler that inserts instructions in a generated instruction stream to eliminate dependency conditions are also contemplated.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 32 · Forward citations: 10.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A non-transitory computer-readable storage medium having instructions stored thereon that are executable by a computing device to cause the computing device to perform operations comprising: generating, from source code, a computer-executable instruction stream including a plurality of machine instructions, wherein said generating includes: determining that a first machine instruction to be generated in the computer-executable instruction stream specifies a first portion of a logical register as a destination, wherein the logical register has at least the first portion and a second portion; de
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (10 of 10 total)
References Cited — Backward Prior Art (32)
Non-Patent Literature (1)
- Moshovos et al., "Dynamic Speculation and Synchronization of Data Dependences," 1997, ACM, p. 181-193.