encyclopegia.org

Instruction selection

__NOTOC__ In computer science, instruction selection is the stage of a compiler backend that transforms its middle-level intermediate representation (IR) into a low-level IR. In a typical compiler, instruction selection precedes both instruction scheduling and register allocation; hence its output IR has an infinite set of pseudo-registers (often known as temporaries) and may still be – and typically is – subject to peephole optimization. Otherwise, it closely resembles the target machine code, bytecode, or assembly language. For example, for the following sequence of middle-level IR code t1 = a t2 = b t3 = t1 + t2 a = t3 b = t1 a good instruction sequence for the x86 architecture is MOV EAX, a XCHG EAX, b ADD a, EAX For a comprehensive survey on instruction selection, see.

__NOTOC__ In computer science, instruction selection is the stage of a compiler backend that transforms its middle-level intermediate representation (IR) into a low-level IR. In a typical compiler, instruction selection precedes both instruction scheduling and register allocation; hence its output IR has an infinite set of pseudo-registers (often known as temporaries) and may still be – and typically is – subject to peephole optimization. Otherwise, it closely resembles the target machine code, bytecode, or assembly language. For example, for the following sequence of middle-level IR code t1 = a t2 = b t3 = t1 + t2 a = t3 b = t1 a good instruction sequence for the x86 architecture is MOV EAX, a XCHG EAX, b ADD a, EAX For a comprehensive survey on instruction selection, see. ==References== ==External links== Alternative ways of supporting different generations of computer

References

No reference rows published for this article.

Cite this article

MLA

"Instruction selection." encyclopegia.org, 2026, https://encyclopegia.org/wiki/instruction-selection. Accessed 24 November 2026.

Chicago

"Instruction selection." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/instruction-selection.

APA

encyclopegia.org. (2026). Instruction selection. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/instruction-selection

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

curriculum and instruction

stub · references available

instruction set architecture

stub · references available

Disruptive selection

stub · references available

Instruction of Ankhsheshonq

stub · references available

Rado’s selection principle

stub · references available

instruction cycle

stub · references available

r/K selection theory

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1374730341 · 0.5 · snapshot enwiki-001374730341

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.