TeraScale is the codename for a family of graphics processing unit (GPU) microarchitectures developed by ATI Technologies and, after its acquisition, Advanced Micro Devices (AMD). It was the company's second microarchitecture to implement the unified shader model, following the Xenos design used in the Xbox 360. TeraScale replaced ATI's earlier fixed-pipeline microarchitectures and competed directly with Nvidia's first unified shader microarchitecture, Tesla. It is documented across three generations — TeraScale 1, TeraScale 2 and TeraScale 3 — introduced between 2007 and 2010, and was succeeded by AMD's Graphics Core Next (GCN) architecture, the first products of which launched in January 2012.
Overview
TeraScale is a VLIW (very long instruction word) SIMD (single instruction, multiple data) architecture, in contrast with Tesla's RISC SIMD approach, which is more similar to TeraScale's successor GCN. The architecture implements HyperZ. An LLVM code generator (compiler back-end) is available for TeraScale and is used by Mesa 3D.
TeraScale introduced flexible "unified" shader processors that could be scheduled to process multiple shader types (vertex, geometry and pixel shaders), rather than the distinct per-type shader processors used in fixed-pipeline designs. A shader cluster is organized into five stream processing units, of which the fifth is more complex and can additionally handle transcendental functions such as sine and cosine. Each cluster can execute up to six instructions per clock cycle (five shading instructions plus one branch). As with other VLIW designs, maintaining optimal instruction flow and co-issuing dependent instructions present scheduling challenges, making performance sensitive to the instruction mix and to driver-level compiler scheduling.
Generations
TeraScale 1 (VLIW5)
Announced and released with the Radeon HD 2000 series in May 2007, TeraScale 1 replaced ATI's fixed-pipeline architectures. The R600 core processes vertex, geometry and pixel shaders as specified by Direct3D 10.0 / Shader Model 4.0 and supported OpenGL 3.0 (later OpenGL 3.3). An R600 core contains 64 shader clusters; the smaller RV610 and RV630 cores contain 8 and 24 respectively.
Key architectural elements included:
- Hardware tessellation: TeraScale included programmable tessellation units similar to those in the Xenos GPU. TeraScale 1 GPUs (HD 2000, 3000, 4000 series) conformed only to Direct3D 10 and OpenGL 3.3 and used a vendor-specific tessellation extension. The approach is related to the earlier ATI TruForm technology used in the Radeon 8500.
- Ultra-threaded dispatch processor: Manages large numbers of in-flight threads of three shader types and reorders them to maximize utilization; each SIMD array of 80 stream processors has its own sequencer and arbiter.
- Texturing and anti-aliasing: Four texture units decoupled from the shader core; render output units (ROPs) performing multisample anti-aliasing (MSAA) with programmable sample grids up to 8 samples, full-speed FP16 texture filtering, and a custom filter anti-aliasing (CFAA) mode performed by shaders.
- Memory controllers: Connected via an internal bidirectional ring bus (1,024-bit on Radeon HD 2900, 512-bit on HD 3800, 256-bit on HD 2600/3600, none on HD 2400/3400).
A half-generation update used die shrinks to 55 nm (RV670, RV635, RV620), adding PCI Express 2.0, DirectX 10.1 / Shader Model 4.1 features, OpenGL 3.3, a dedicated Unified Video Decoder (UVD), and PowerPlay power management. This generation powered the Radeon HD 2000, HD 3000 and HD 4000 series.
TeraScale 2 (VLIW5)
TeraScale 2 was introduced with the Radeon HD 5000 series in the "Evergreen" generation in September 2009. Compared with the preceding RV770 (Radeon HD 4000), the Cypress implementation doubled the number of stream cores, texture units and ROP units while largely retaining the stream-core design. It added new instructions for DirectX 11 / DirectCompute 11 and full OpenGL 4.5 support, and — unlike the R700 generation — removed dedicated interpolators because DirectX 11 mandates developer control over interpolation.
The stream cores support the fused multiply–add (FMA) instruction in both single and double precision, compliant with IEEE 754-2008, and natively support the sum of absolute differences (SAD) instruction, useful for video encoding and transcoding. Each SIMD core is equipped with 32 KiB of local data share and 8 KiB of L1 cache, while all SIMD cores share 64 KiB of global data share. Each memory controller connects to two quad ROPs (one per 64-bit channel) and has a dedicated 512 KiB L2 cache. TeraScale 2 GPUs (starting with the HD 5000 series) were the first to conform to the Direct3D 11 and OpenGL 4.0 tessellation techniques, and support AMD PowerPlay and AMD Eyefinity multi-monitor output.
Applicable chips included Evergreen cores (Cedar RV810, Cypress RV870, Hemlock R800, Juniper RV840, Redwood RV830), Northern Islands cores (Barts RV940, Caicos RV910, Turks RV930), and the integrated GPUs in the Llano, Ontario and Zacate APUs.
TeraScale 3 (VLIW4)
TeraScale 3 replaced the 5-way VLIW design with a 4-way VLIW design and added an additional tessellation unit to improve Direct3D 11 performance, with support for Direct3D 11 / Shader Model 5.0 and OpenGL 4.5 on Windows. It was introduced in the Radeon HD 6900 series in October/December 2010 and was also implemented in the integrated graphics of the Trinity and Richland APUs. AMD PowerTune, a dynamic frequency-scaling technology for GPUs, was introduced with the Radeon HD 6900 series on December 15, 2010. Applicable chips included the Northern Islands cores Cayman (RV970) and Antilles (R900).
Comparison of TeraScale chips (selected specifications)
| Microarchitecture | TeraScale 1 | TeraScale 2 | TeraScale 3 | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Representative chip | R600 | RV670 | RV730 | RV770 | RV790 | Cedar (RV810) | Juniper (RV840) | Cypress (RV870) | Barts (RV940) | Cayman (RV970) | |
| Fab (nm) | 80 | 55 | 55 | 55 | 55 | 40 | 40 | 40 | 40 | 40 | |
| Stream processors | 320 | 320 | 320 | 640 | 800 | 80 | 800 | 1600 | 1120 | 1536 | |
| Texture mapping units | 16 | 16 | 32 | 40 | 40 | 8 | 40 | 80 | 56 | 96 | |
| Render output units | 16 | 16 | 8 | 16 | 16 | 4 | 16 | 32 | 32 | 32 | |
| Initial launch | May 2007 | Nov 2007 | Sep 2008 | Jun 2008 | Apr 2009 | Feb 2010 | Oct 2009 | Sep 2009 | Oct 2010 | Dec 2010 | |
| Series | Radeon HD 2000/3000 | Radeon HD 4000 | Radeon HD 5000 (Evergreen) | Radeon HD 6000 (Northern Islands) |
Successor and support status
At HPG11 in August 2011, AMD architects Michael Mantor and Mike Houston presented Graphics Core Next (GCN), the microarchitecture succeeding TeraScale; the first GCN product launched on January 9, 2012. TeraScale 1 reached end of driver support in late 2013 (final Windows driver releases in the 13.x series), and TeraScale 2 and TeraScale 3 reached end of support in mid-2015 (final Windows driver release 15.7.1 under the "Catalyst" name and 16.2.1 as a beta under "Radeon Software").
Notes on naming
The name "TeraScale" (sometimes rendered Terascale) is distinct from Intel's separate research program called Tera-Scale, and from Nvidia's "Tesla" microarchitecture and product line. Such similarly named but unrelated uses should not be conflated with the AMD/ATI microarchitecture described here.