University of Bristol Microarchitecture
University of Bristol Microarchitecture
Tom Deakin
Lecture 1
University of Bristol
Instruction Set Architecture Recap
Instruction Set Architecture forms the interface between software and hardware.
Describes how software controls the hardware.
Abstract model:
Definition:
A micro-architecture is an implementation of an Instruction Set Architecture (ISA).
For an instruction:
• The architecture (ISA) says what the instruction should do at a high level, e.g add
two numbers together.
• The micro-architecture is how the processor implements each instruction.
64B/cycle
MOP MOP MOP MOP MOP MOP
Loop Stream
Detector (LSD)
Allocation Queue (IDQ) (128, 2x64 µOPs) Micro-Fusion
fetch-decode.
Int Vect
µOP µOP µOP µOP µOP µOP µOP µOP
Scheduler
Integer Physical Register File Vector Physical Register File
Int Unified Reservation Station (RS)
(180 Registers) (168 Registers)
(97 entries)
256KiB 4-Way
Port 0 Port 1 Port 5 Port 6 Port 2 Port 3 Port 4 Port 7
Unified STLB
L2 Cache
µOP µOP µOP µOP µOP µOP µOP µOP 32B/cycle
INT ALU INT ALU INT ALU INT ALU AGU AGU Store Data AGU To L3
INT DIV INT MUL Vect Shuffle Branch Load Data Load Data
INT Vect ALU INT Vect ALU INT Vect ALU
EUs
Branch
• Memory Subsystem to support access Execution Engine Store Buffer & Forwarding
(56 entries)
64B/cycle
32B/cycle
32B/cycle
Data TLB
L1 Data Cache
to memory. Load Buffer
(72 entries) 32KiB 8-Way
32B/cycle
Line Fill Buffers (LFB)
(10 entries)
Memory Subsystem
Picture from https://en.wikipedia.org/wiki/Intel 8086#/media/File:Intel D8086 CS.jpg, https://upload.wikimedia.org/wikipedia/commons/a/a8/Intel 8086 CPU Die.JPG
Arm ISA:
• Arm do not manufacture chips, but license the ISA (under various models) to
others.
• Also provide a reference implementation (a micro-architecture). E.g. Neoverse.
https://www.anandtech.com/show/15578/cloud-clash-amazon-graviton2-arm-against-intel-and-amd/10