ArticleslgStudy

computer science

Haswell (microarchitecture)

Haswell (microarchitecture) 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 Haswell (microarchitecture) rather than just read about it. In short: Haswell is a microarchitecture for central processing units (CPUs) developed by Intel. First released in 2013, Haswell implements the x86-64 instruction set, which is the 64-bit variant of x86.

Haswell (microarchitecture) — main illustration
Haswell (microarchitecture) — illustration

Key takeaways

  • Haswell (microarchitecture) 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 Haswell (microarchitecture) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Haswell (microarchitecture) from memory before moving on to harder problems.

Reference excerpt

Haswell is a microarchitecture for central processing units (CPUs) developed by Intel. First released in 2013, Haswell implements the x86-64 instruction set, which is the 64-bit variant of x86. It is the tock part of Intel's Tick–tock model, the stage where new architectural designs are implemented, while inheriting the previous generation's manufacturing process; Haswell chips share the same 22 nm FinFET with its predecessor, Ivy Bridge. Instead, Haswell is focused on microarchitectural improvements. Products based on Haswell were marketed as the 4th generation Core, v3-suffixed Xeon processors, and various other models of Pentium and Celeron. The earliest demonstration of Haswell-based chips took place at the 2011 Intel Developer Forum, with products officially announced on June 4, 2013, at that year's Computex Taipei. Commercial sales began for manufacturers and OEMs in mid-2013, and standalone desktop chips in September 2013. Haswell CPUs are compatible with motherboards using Intel series 8, 9, C220 and C610 chipsets. At least one Haswell-based processor was still being sold in 2022 — the Pentium G3420. Windows 7 through Windows 10 were released for the Haswell microarchitecture.

Design The Haswell architecture is specifically designed to optimize the power savings and performance benefits from the move to FinFET (non-planar, "3D") transistors on the improved 22 nm process node. Haswell has been launched in three major forms:

Desktop version (LGA 1150 socket and the LGA 2011-v3 socket): Haswell-DT Mobile/Laptop version (PGA socket): Haswell-MB BGA version: 47 W and 57 W TDP classes: Haswell-H (for "All-in-one" systems, Mini-ITX form factor motherboards, and other small footprint formats) 13.5 W and 15 W TDP classes (MCP): Haswell-ULT (for Intel's UltraBook platform) 10 W TDP class (SoC): Haswell-ULX (for tablets and certain UltraBook-class implementations)

Notes ULT = Ultra Low TDP; ULX = Ultra Low eXtreme TDP Only certain quad-core variants and BGA R-series stock keeping units (SKUs) receive GT3e (Intel Iris Pro 5200) integrated graphics. All other models have GT3 (Intel HD 5000 or Iris Pro 5100), GT2 (Intel HD 4200, 4400, 4600, P4600 or P4700) or GT1 (Intel HD Graphics) integrated graphics. See also Intel HD and Iris Graphics for more details. Due to the low power requirements of tablet and Ultrabook platforms, Haswell-ULT and Haswell-ULX are only available in dual-core configurations. All other versions come as dual- or quad-core variants.

Performance Compared to Ivy Bridge:

Approximately 8% faster vector processing Up to 5% higher single-threaded performance 6% higher multi-threaded performance Desktop variants of Haswell draw between 8% and 23% more power under load than Ivy Bridge. A 6% increase in sequential CPU performance (eight execution ports per core versus six) Up to 20% performance increase over the integrated HD4000 GPU (Haswell HD4600 vs Ivy Bridge's built-in Intel HD4000) Total performance improvement on average is about 3% Around 15 °C hotter than Ivy Bridge, while clock frequencies of over 4.6 GHz are achievable

Technology

Features carried over from Ivy Bridge 22 nm manufacturing process 3D Tri-Gate FinFET transistors Micro-operation cache (Uop Cache) capable of storing 1.5 K micro-operations (approximately 6 KB in size) 14- to 19-stage instruction pipeline, depending on the micro-operation cache hit or miss (an approach used in the even earlier Sandy Bridge microarchitecture) Mainstream variants are up to quad-core. Native support for dual-channel DDR3/DDR3L memory, with up to 32 GB of RAM on LGA 1150 variants 64 KB (32 KB Instruction + 32 KB Data) L1 cache and 256 KB L2 cache per core A total of 16 PCI Express 3.0 lanes on LGA 1150 variants

Architecture changes compared to Ivy Bridge microarchitecture

CPU Improved OoO window from 168 to 192 Queue Allocation from 28/threads to 56 Wider core: fourth arithmetic logic unit (ALU), third address generation unit (AGU), second branch execution unit (BEU), deeper buffers, higher cache bandwidth, improved front-end and memory controller, higher load/store bandwidth. New instructions: AVX2, FMA3, BMI1, BMI2, ABM and gather support. The instruction decode queue, which holds instructions after they have been decoded, is no longer statically partitioned between the two threads that each core can service. Intel Transactional Synchronization Extensions (TSX) for the Haswell-EX variant. In August 2014 Intel announced that a bug exists in the TSX implementation on the current steppings of Haswell, Haswell-E, Haswell-EP and early Broadwell CPUs, which resulted in disabling the TSX feature on affected CPUs via a microcode update. Fully integrated voltage regulator (FIVR), thereby moving some of the components from motherboard onto the CPU. New advanced power-saving system; due to Haswell's new low-power C6 and C7 sleep states, not all power supply units (PSUs) are suitable for computers with Haswell CPUs.

GPU Support for Direct3D 11.1, Direct3D 12 and OpenGL 4.3 on Windows, OpenGL 4.6 and partial support of Vulkan on Linux with HasVK. Intel 10.18.14.5180 driver is the last planned driver release on Windows 7/8.1. Four versions of the integrated GPU: GT1, GT2, GT3 and GT3e, where GT3 version has 40 execution units (EUs). Haswell's predecessor, Ivy Bridge, has a maximum of 16 EUs. GT3e version with 40 EUs and on-package 128 MB of embedded DRAM (eDRAM), called Crystalwell, is available only in mobile H-SKUs and desktop (BGA-only) R-SKUs. Effectively, this eDRAM is a Level 4 cache; it is shared dynamically between the on-die GPU and CPU, and serving as a victim cache to the CPU's Level 3 cache.

I/O New sockets and chipsets: LGA 1150 for desktops, and rPGA947 and BGA1364 for the mobile market. Z97 (performance) and H97 (mainstream) chipsets for the Haswell Refresh and Broadwell, in Q2 2014. LGA 2011-v3 with X99 chipset for the enthusiast-class desktop platform Haswell-E. DDR4 for enterprise/server segments and for the Enthusiast-Class Desktop Platform Haswell-E Variable Base clock (BClk) like LGA 2011. Optional support for Thunderbolt technology and Thunderbolt 2.0 Shrink of the Platform Controller Hub (PCH), from 65 nm to 32 nm.

… excerpt ends here. Continue reading the full article.

Illustrations

Haswell (microarchitecture) illustration
Haswell (microarchitecture): Haswell featured a Fully Integrated Voltage Regulator.
Haswell featured a Fully Integrated Voltage Regulator.
Haswell (microarchitecture): Intel Haswell i7-4771 CPU, sitting atop its original packaging that contains an OEM fan-cooled heatsink
Intel Haswell i7-4771 CPU, sitting atop its original packaging that contains an OEM fan-cooled heatsink
Haswell (microarchitecture) illustration
Haswell (microarchitecture) illustration

Worked examples

Example 1 — a first encounter with Haswell (microarchitecture)

Start with the simplest possible case. Write down what Haswell (microarchitecture) 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 Haswell (microarchitecture) 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 Haswell (microarchitecture) 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 Haswell (microarchitecture)

In research
Haswell (microarchitecture) 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 Haswell (microarchitecture) 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
Haswell (microarchitecture) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer-related introductions in 2013, Intel microarchitectures, Intel x86 microprocessors, so understanding it makes those chapters shorter.
In everyday life
Look for Haswell (microarchitecture) 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 “Haswell (microarchitecture)” →

How to study Haswell (microarchitecture) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Haswell (microarchitecture) 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 Haswell (microarchitecture) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Haswell (microarchitecture) in simple terms?

Haswell is a microarchitecture for central processing units (CPUs) developed by Intel. First released in 2013, Haswell implements the x86-64 instruction set, which is the 64-bit variant of x86.

Why does Haswell (microarchitecture) 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 Haswell (microarchitecture)?

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 Haswell (microarchitecture).

Tags

  • Computer-related introductions in 2013
  • Intel microarchitectures
  • Intel x86 microprocessors
  • Transactional memory
  • X86 microarchitectures

Keep exploring