ArticleslgStudy

computer science

Flynn's taxonomy

Flynn's taxonomy is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Flynn's taxonomy rather than just read about it. In short: Flynn's taxonomy is a classification of computer architectures, proposed by Michael J. Flynn in 1966 and extended in 1972.

Flynn's taxonomy — main illustration
Flynn's taxonomy — illustration

Key takeaways

  • Flynn's taxonomy belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Flynn's taxonomy to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Flynn's taxonomy from memory before moving on to harder problems.

Reference excerpt

Flynn's taxonomy is a classification of computer architectures, proposed by Michael J. Flynn in 1966 and extended in 1972. The classification system has stuck, and it has been used as a tool in the design of modern processors and their functionalities. Since the rise of multiprocessing central processing units (CPUs), a multiprogramming context has evolved as an extension of the classification system. Vector processing, covered by Duncan's taxonomy, is missing from Flynn's work because the Cray-1 was released in 1977: Flynn's second paper was published in 1972.

Classifications The four initial classifications defined by Flynn are based upon the number of concurrent instruction (or control) streams and data streams available in the architecture. Flynn defined three additional sub-categories of SIMD in 1972.

Single instruction stream, single data stream (SISD)

A sequential computer which exploits no parallelism in either the instruction or data streams. Single control unit (CU) fetches a single instruction stream (IS) from memory. The CU then generates appropriate control signals to direct a single processing element (PE) to operate on a single data stream (DS) i.e., one operation at a time. Examples of SISD architectures are the traditional uniprocessor machines such as older personal computers (PCs) (by 2010, many PCs had multiple cores) and older mainframe computers.

Single instruction stream, multiple data streams (SIMD)

A single instruction is simultaneously applied to multiple different data streams. Instructions can be executed sequentially, such as by pipelining, or in parallel by multiple functional units. Flynn's 1972 paper subdivided SIMD down into three further categories:

Array processor known today as SIMT – These receive the one (same) instruction but each parallel processing unit (PU) has its own separate and distinct memory and register file. The memory connected to each PU is not shared between other PUs. Early SIMT processors had scalar PUs (1 bit in SOLOMON, 64 bit in ILLIAC IV) but modern SIMT processors - GPUs - invariably have SWAR ALUs. Pipelined processor – These receive the one (same) instruction but then read data from a central resource, each processes fragments of that data (typically termed "elements"), then writes back the results to the same central resource. In Figure 5 of Flynn's 1972 paper that resource is main memory: for modern CPUs that resource is now more typically the register file. Associative processor – These receive the one (same) instruction but in addition a register value from the control unit is also broadcast to each PU. In each PU an independent decision is made, based on data local to the unit, comparing against the broadcast value, as to whether to perform the broadcast instruction, or whether to skip it.

Array processor The modern term for an array processor is "single instruction, multiple threads" (SIMT). This is a distinct classification in Flynn's 1972 taxonomy, as a subcategory of SIMD. It is identifiable by the parallel subelements having their own independent register file and memory (cache and data memory). Flynn's original papers cite two historic examples of SIMT processors: SOLOMON and ILLIAC IV. Each processing element also has an independent active/inactive bit that enables/disables the PE:

for each (PE j) // synchronously-concurrent array if (active-maskbit j) then broadcast_instruction_to(PE j)

Nvidia commonly uses the term in its marketing materials and technical documents, where it argues for the novelty of its architecture. SOLOMON predates Nvidia by more than 60 years.

Pipelined processor

Flynn's 1972 paper calls pipelined processors a form of "time-multiplexed" Array processing, where elements are read sequentially from memory, processed in (pipelined) stages, and written out, again sequentially to memory, from the last stage. From this description (page 954) it is likely that Flynn was referring to vector chaining, and to memory-to-memory vector processors such as the TI ASC designed manufactured and sold between 1966 and 1973, and the CDC STAR-100 which had just been announced at the time of writing of Flynn's paper. At the time that Flynn wrote his 1972 paper many systems were using main memory as the resource from which pipelines were reading and writing. When the resource that all "pipelines" read and write from is the scalar register file rather than main memory, modern variants of SIMD result. Examples include Altivec, NEON, and AVX. An alternative name for this type of register-based SIMD is "packed SIMD" and another is SIMD within a register (SWAR).

Associative processor

The modern term for associative processor is analogous to cells of content-addressable memory each having their own processor. Such processors are very rare.

The Aspex Microelectronics Associative String Processor (ASP) categorised itself in its marketing material as "massive wide SIMD" but had bit-level ALUs and bit-level predication (Flynn's taxonomy: array processing), and each of the 4096 processors had their own registers and memory including content-addressable memory (Flynn's taxonomy: associative processing). The Linedancer, released in 2010, contained 4096 2-bit predicated SIMD ALUs, each with its own CAM, and was capable of 800 billion instructions per second. Aspex's ASP associative array SIMT processor predates NVIDIA by 20 years. There is some difficulty in classifying this processor according to Flynn's taxonomy as it had both associative processing capability and array processing, both under explicit programmer control.

Multiple instruction streams, single data stream (MISD)

Multiple instructions operate on one data stream. This is an uncommon architecture which is generally used for fault tolerance. Heterogeneous systems operate on the same data stream and must agree on the result. Examples include the Space Shuttle flight control computer.

Multiple instruction streams, multiple data streams (MIMD)

Multiple autonomous processors simultaneously execute different instructions on different data. MIMD architectures include multi-core superscalar processors, and distributed systems, using either one shared memory space or a distributed memory space.

Diagram comparing classifications These four architectures are shown below visually. Each processing unit (PU) is shown for a uni-core or multi-core computer:

… excerpt ends here. Continue reading the full article.

Illustrations

Flynn's taxonomy: Flynn 1972 taxonomy pipelined processor, Figure 5b from Flynn's 1972 paper[2]
Flynn 1972 taxonomy pipelined processor, Figure 5b from Flynn's 1972 paper[2]
Flynn's taxonomy: Associative array processor diagram from Flynn 1972 taxonomy, Figure 5c from Flynn's 1972 paper[2]
Associative array processor diagram from Flynn 1972 taxonomy, Figure 5c from Flynn's 1972 paper[2]
Flynn's taxonomy illustration
Flynn's taxonomy illustration
Flynn's taxonomy illustration

Worked examples

Example 1 — a first encounter with Flynn's taxonomy

Start with the simplest possible case. Write down what Flynn's taxonomy claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Flynn's taxonomy before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Flynn's taxonomy ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Flynn's taxonomy

In research
Flynn's taxonomy appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Flynn's taxonomy in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Flynn's taxonomy is common in secondary-school and first-year university syllabi. It links to neighbouring topics Classes of computers, Flynn's taxonomy, so understanding it makes those chapters shorter.
In everyday life
Look for Flynn's taxonomy outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Flynn's taxonomy” →

How to study Flynn's taxonomy in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Flynn's taxonomy means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Flynn's taxonomy out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Flynn's taxonomy in simple terms?

Flynn's taxonomy is a classification of computer architectures, proposed by Michael J. Flynn in 1966 and extended in 1972.

Why does Flynn's taxonomy matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Flynn's taxonomy?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Flynn's taxonomy.

Tags

  • Classes of computers
  • Flynn's taxonomy

Keep exploring