|
|
Line 1: |
Line 1: |
− | {{armh title|Cortex-A76|arch}}
| |
− | {{microarchitecture
| |
− | |atype=CPU
| |
− | |name=Cortex-A76
| |
− | |designer=ARM Holdings
| |
− | |manufacturer=TSMC
| |
− | |introduction=May 31, 2018
| |
− | |process=12 nm
| |
− | |process 2=7 nm
| |
− | |process 3=5 nm
| |
− | |cores=1
| |
− | |cores 2=2
| |
− | |cores 3=4
| |
− | |cores 4=6
| |
− | |cores 5=8
| |
− | |type=Superscalar
| |
− | |type 2=Pipelined
| |
− | |oooe=Yes
| |
− | |speculative=Yes
| |
− | |renaming=Yes
| |
− | |stages=13
| |
− | |decode=4-way
| |
− | |isa=ARMv8.2
| |
− | |feature=Hardware virtualization
| |
− | |extension=FPU
| |
− | |extension 2=NEON
| |
− | |l1i=64 KiB
| |
− | |l1i per=core
| |
− | |l1i desc=4-way set associative
| |
− | |l1d=64 KiB
| |
− | |l1d per=core
| |
− | |l1d desc=4-way set associative
| |
− | |l2=128-512 KiB
| |
− | |l2 per=core
| |
− | |l2 desc=8-way set associative
| |
− | |l3=0-4 MiB
| |
− | |l3 per=Cluster
| |
− | |l3 desc=16-way set associative
| |
− | |predecessor=Cortex-A75
| |
− | |predecessor link=arm holdings/microarchitectures/cortex-a75
| |
− | |successor=Cortex-A77
| |
− | |successor link=arm holdings/microarchitectures/cortex-a77
| |
− | }}
| |
− | '''Cortex-A76''' (codename '''Enyo''') is the successor to the {{armh|Cortex-A75|l=arch}}, a low-power high-performance [[ARM]] [[microarchitecture]] designed by [[ARM Holdings]] for the mobile market. Enyo was designed by Arm's Austin, Texas team. This microarchitecture is designed as a synthesizable [[IP core]] and is sold to other semiconductor companies to be implemented in their own chips. The Cortex-A76, which implemented the {{arm|ARMv8.2}} ISA, is the a performant core which is often combined with a number of lower power cores (e.g. {{\\|Cortex-A55}}) in a {{armh|DynamIQ big.LITTLE}} configuration to achieve better energy/performance.
| |
| | | |
− | == History ==
| |
− | [[File:arm deimos roadmap.png|right|thumb|Cortex-A76 and future cores roadmap.]]
| |
− | Development of the Cortex-A76 started in 2013. [[Arm]] formally announced Enyo during Computex on May 31 2018.
| |
− |
| |
− | == Process Technology ==
| |
− | Though the Cortex-A76 may be fabricated on various different [[process nodes]], it has been primarily designed for the [[12 nm]], [[7 nm]], and [[5 nm]] process nodes.
| |
− |
| |
− | == Compiler support ==
| |
− | {| class="wikitable"
| |
− | |-
| |
− | ! Compiler !! Arch-Specific || Arch-Favorable
| |
− | |-
| |
− | | [[Arm Compiler]] || <code>-mcpu=cortex-a76</code> || <code>-mtune=cortex-a76</code>
| |
− | |-
| |
− | | [[GCC]] || <code>-mcpu=cortex-a76</code> || <code>-mtune=cortex-a76</code>
| |
− | |-
| |
− | | [[LLVM]] || <code>-march=?</code> || <code>-mtune=?</code>
| |
− | |}
| |
− |
| |
− | If the Cortex-A76 is coupled with the {{\\|Cortex-A55}} in a [[big.LITTLE]] system, GCC also supports the following option:
| |
− |
| |
− | {| class="wikitable"
| |
− | |-
| |
− | ! Compiler !! Tune
| |
− | |-
| |
− | | [[GCC]] || <code>-mtune=cortex-a76.cortex-a55</code>
| |
− | |}
| |
− |
| |
− | == Architecture ==
| |
− | === Key changes from {{\\|Cortex-A75}} ===
| |
− | * Significant [[IPC]] uplift ([[Arm]] self-reported around 20% IPC on [[SPEC CPU2006]]/[[SPEC CPU2017]] int)
| |
− | * Front-end
| |
− | ** [[Branch-prediction]]
| |
− | *** Improved accuracy
| |
− | *** Decoupled from the instruction fetch
| |
− | *** Runahead 32B/cycle
| |
− | * Execution engine
| |
− | ** 1.25x wider decode (4-way, up from 3-way)
| |
− | ** 1.25x wider rename/comit (4-way, up from 3-way)
| |
− | ** 1.6x wider dispatch (8 µOPs/cycle, up from 5)
| |
− |
| |
− | {{expand list}}
| |
− |
| |
− | === Block Diagram ===
| |
− | ==== Typical SoC ====
| |
− | :[[File:cortex-a76 soc block diagram.svg|550px]]
| |
− | ==== Individual Core ====
| |
− | :[[File:cortex-a76 block diagram.svg|850px]]
| |
− | === Memory Hierarchy ===
| |
− | The Cortex-A76 has a private L1I, L1D, and L2 cache.
| |
− |
| |
− | * Cache
| |
− | ** L1I Cache
| |
− | *** 64 KiB, 4-way set associative
| |
− | *** 64-byte cache lines
| |
− | *** Optional parity protection
| |
− | *** Write-back
| |
− | ** L1D Cache
| |
− | *** 64 KiB, 4-way set associative
| |
− | *** 64-byte cache lines
| |
− | *** 4-cycle fastest load-to-use latency
| |
− | *** Optional ECC protection per 32 bits
| |
− | *** Write-back
| |
− | ** L2 Cache
| |
− | *** 256 KiB OR 512 KiB (2 banks)
| |
− | *** 8-way set associative
| |
− | *** 9-cycle fastest load-to-use latency
| |
− | *** optional ECC protection per 64 bits
| |
− | *** [[Modified Exclusive Shared Invalid]] (MESI) coherency
| |
− | *** Strictly inclusive of the L1 data cache & non-inclusive of the L1 instruction cache
| |
− | *** Write-back
| |
− | ** L3 Cache
| |
− | *** 2 MiB to 4 MiB, 16-way set associative
| |
− | *** 26-31 cycles load-to-use
| |
− | *** Shared by all the cores in the cluster
| |
− | **** located in the {{armh|DynamIQ Shared Unit}} (DSU)
| |
− |
| |
− | The A76 TLB consists of dedicated L1 TLB for instruction cache (ITLB) and another one for data cache (DTLB). Additionally, there is a unified L2 TLB (STLB).
| |
− |
| |
− | * TLBs
| |
− | ** ITLB
| |
− | *** 4 KiB, 16 KiB, 64 KiB, 2 MiB, and 32 MiB page sizes
| |
− | *** 48-entry fully associative
| |
− | ** DTLB
| |
− | *** 48-entry fully associative
| |
− | *** 4 KiB, 16 KiB, 64 KiB, 2 MiB, and 512 MiB page sizes
| |
− | ** STLB
| |
− | *** 1280-entry 5-way set associative
| |
− |
| |
− | == Overview ==
| |
− | The Cortex-A76 is a high-performance synthesizable core designed by [[Arm]] as the successor to the {{\\|Cortex-A75}}. It is delivered as Register Transfer Level (RTL) description in Verilog and is designed. This core supports the {{arm|ARMv8.2}} extension as well as a number of other partial extensions. The A76 is a 4-way superscalar out-of-order processor with a private level 1 and level 2 caches. It is designed to be implemented inside the [[DynamIQ Shared Unit]] (DSU) cluster along with other cores. The DSU cluster supports up to eight cores of any combination (e.g., with [[little cores]] such as the {{\\|Cortex-A55}} or other just more Cortex-A76).
| |
− |
| |
− | == Core ==
| |
− | [[File:a76 perf claims.png|thumb|right|Cortex-A76 on [[7nm]] compared to the {{\\|Cortex-A75}} on [[10nm]].]]
| |
− | The Cortex-A76 succeeds the {{\\|Cortex-A75}}. It is designed to take advantage of the [[7 nm]] node in order to deliver up to 40% higher performance at the same power level (measured at 750 mW/core), or alternatively, up to 50% lower power for the same performance compared to the {{\\|Cortex-A75}} on the [[10 nm]] node. This is achieved through a combination of both microarchitectural improvements as well as [[process technology]] advantages. It's worth noting that the A76 brings higher performance at a slight hit to the area by going wider. On the [[7 nm process]], the Cortex-A76 targets frequencies of 3 GHz and higher.
| |
− |
| |
− | === Pipeline ===
| |
− | The Cortex-A76 is a complex, 4-way superscalar out-of-order processor with an 8-issue back end. The pipeline is 13 stages with an 11-cycle branch misprediction penalty. It has a 64 KiB [[level 1]] [[instruction cache]] and a 64 KiB [[level 1]] [[data cache]] along with a private [[level 2 cache]] that is configurable as either 256 KiB (1 bank) or 512 KiB (2 banks).
| |
− |
| |
− | ==== Front-end ====
| |
− | Each cycle, up to 16 bytes are fetched from the [[L1 instruction cache]]. The instruction fetch works in tandem with the branch predictor in order to ensure the instruction stream is constantly ready to be fetched. Additionally, there is a return stack which stores the address and instruction set state ({{arm|AArch32}}/R14 or {{arm|AArch64}}/X30) on branches. On a return (e.g., <code>ret</code> on {{arm|AArch64}}), the return stack will pop.
| |
− |
| |
− | Keeping the instruction stream feed is the task of the branch prediction unit. The branch prediction unit on the A76 is decoupled from the instruction fetch, allowing it to run ahead and in parallel with the instruction fetch to hide branch prediction latency. To that end, it now operates on 32-byte instruction windows, twice the fetch size. The main [[branch target buffer]] on the A76 is 6K-entries deep. The BPU comprises three stages in order to reduce latency with a 64-entry micro-BTB and a smaller 16-entry BTB.
| |
− |
| |
− | The Cortex-A76 has a fixed 64 KiB L1I cache. It is [[virtually indexed, physically tagged]] (VIPT), which behaves as a [[physically indexed, physically tagged]] (PIPT) 4-way set-associative cache. The L1I$ supports optional parity protection and implements a [[pseudo-LRU]] [[cache replacement]] policy. The instruction cache has a 256-bit read interface from the L2 cache. Each cycle up to 32 bytes may be transferred to the L1I cache from the shared L2 cache.
| |
− |
| |
− | From the instruction fetch, up to four 32-bit instructions are sent to the decode queue (DQ) each cycle. For narrower 16-bit instructions (i.e., {{arm|Thumb}}), this means up to eight instructions get queued. The A76 features a 4-way decode. Each cycle, up to four instructions may be decoded into a relatively semi-complex [[macro-operations]] (MOPs). There are on average 6% more MOPs than instructions. In total two cycles are involved in this operation - one for alignment and one for decode.
| |
− |
| |
− | ==== Back-end ====
| |
− | The Cortex-A76 back-end handles the execution of out-of-order operations. The design is largely inherited from the {{\\|Cortex-A75}} but has been adjusted for higher throughput.
| |
− |
| |
− | ===== Renaming & Allocation =====
| |
− | From the front-end, up to four [[macro-operations]] may be sent each cycle to be renamed. The A76 has a capacity to handle up to 128 instructions in flight, a number that has no increased for a long time (the {{\\|Cortex-A72}} and even the {{\\|Cortex-A57}} had an out-of-order window of 128 instructions). [[Micro-operations]] are broken down into their [[µOP]] constituents and are scheduled for execution. Roughly 20% more µOPs are generated from the MOPs. From here, µOPs are sent to the instruction issue which controls when they can be dispatched to the execution pipelines. µOPs are queued in eight independent issue queues (120 entries in total).
| |
− |
| |
− | ===== Execution Units =====
| |
− | The A76 issue is 8-wide, allow for up to eight µOPs to execute each cycle. The execution units can be grouped into three categories: integer, advanced SIMD, and memory.
| |
− |
| |
− | There are four pipelines in the integer cluster - three for general math operations and a dedicate branch ALU. All three ports have a simple ALU. Those perform arithmetic and logical data processing operations. The third port has support for complex arithmetic (e.g. MAC, DIV). Each port is served by an independent 16-entry issue queue.
| |
− |
| |
− | There are two {{arm|ASIMD}}/FP execution pipelines. Those are served by two 16-entry issue queues of their own. In the {{\\|Cortex-A75}}, each of the pipelines were 64-bit wide, on the A76, they were doubled to 128-bit. This means each pipeline is capable of 2 [[double-precision]] operations, 4 single-precision, 8 half-precision, or 16 8-bit integer operations. On the A76, those pipelines can also execute the cryptographic instructions if the extension is supported (not offered by default and requires an additional license from [[Arm]]).
| |
− |
| |
− | Beyond the throughput improvements, the A76 improved some critical execution latencies.
| |
− |
| |
− | :[[File:a76 latency comprison.svg|thumb|left|700px|Generational improvements in execution latencies.]]
| |
− |
| |
− | {{clear}}
| |
− |
| |
− | ===== Memory subsystem =====
| |
− | The A76 includes two ports with an [[address-generation unit]] on each - each supporting both loads and stores. The [[level 1 data cache]] is fixed at 64 KiB and can have an optional ECC protection per 32 bits. It is [[virtually indexed, physically tagged]] which behaves as a [[physically indexed, physically tagged]] 4-way set-associative cache. The L1D cache implements a [[pseudo-LRU]] [[cache replacement]] policy. It features a 4-cycle fastest load-to-use latency with two read ports and one write port meaning it can do two 16B loads/cycle and one 32B store/cycle. From the L1, the A76 supports up to 20 outstanding non-prefetch misses. The load buffer is 68 entries deep while the store buffer is 72-entry deep. In total, the A76 can have 140 simultaneous memory operations in-flight which is actually 25% more than the A76 instruction window.
| |
− |
| |
− | The A76 can be configured with either 128, 256 or 512 KiB of [[level 2 cache]]. It implements a [[dynamic biased replacement]] policy and is ECC protected per 64 bits. The L2 is strictly inclusive of the L1 data cache and non-inclusive of the L1 instruction cache. There is a 256-bit write interface to the L2 and a 256-bit read interface from the L2 cache. The fastest load-to-use latency is 9 cycles. The L2 can support up to 46 outstanding misses to the L3 which is located in the {{armh|DSU}} itself. The L3, which is shared by all the cores in the {{armh|DynamIQ big.LITTLE}} and is configurable in size ranging from 2 MiB to 4 MiB with load-to-use ranging from 26 to 31 cycles. As with the L2, up to two 32 bytes may be transferred from or to the L2 from the L3 cache. Up to 94 outstanding misses are supported from the L3 to main memory.
| |
− |
| |
− | In addition to controlling memory accesses, ordering, and [[cache policies]], the MMU is also responsible for the translation of virtual addresses to physical addresses on the system. This is done through a set of virtual-to-physical address mappings and attributes that are held in translation tables. The physical address size here is 40 bits. The Cortex-A76 incorporates a dedicated L1 TLB for instruction cache and another one for the data cache. Both the ITLB and the DTLB are 48-entry deep and are fully associative. On a memory access operation, the A76 will first perform lookup in there. If there is a miss in the L1 TLBs, the MMU will perform a lookup for the requested entry in the second-level TLB.
| |
− |
| |
− | There is a unified level 2 TLB comprising of 1280 entries organized as 5-way set associative which is shared by both instruction and data. The STLB handles misses from the instruction and data L1 TLBs. Typically, STLB accesses take three cycles, however, longer latencies are possible when a different block or page size mapping is used. If there is a miss in the L2 TLB, the MMU will resort to a hardware translation table walk. Up to four TLB misses (i.e., translations table walks) can be performed in parallel. The STLB will stall if there are six successive misses. During table walks, the STLB can still perform up to two TLB lookups.
| |
− |
| |
− | The TLB entries store one or both of the global indicator and an address space identifier (ASID), allowing context switching without TLB invalidation as well as a virtual machine identifier (VMID) which allows for VM switching by the hypervisor without TLB invalidation.
| |
− |
| |
− | == All Cortex-A76 Processors ==
| |
− | <!-- NOTE:
| |
− | This table is generated automatically from the data in the actual articles.
| |
− | If a microprocessor is missing from the list, an appropriate article for it needs to be
| |
− | created and tagged accordingly.
| |
− |
| |
− | Missing a chip? please dump its name here: https://en.wikichip.org/wiki/WikiChip:wanted_chips
| |
− | -->
| |
− | {{comp table start}}
| |
− | <table class="comptable sortable tc4 tc6 tc9">
| |
− | {{comp table header|main|8:List of Cortex-A76-based Processors}}
| |
− | {{comp table header|main|6:Main processor|2:Integrated Graphics}}
| |
− | {{comp table header|cols|Family|Launched|Process|Arch|Cores|%Frequency|GPU|%Frequency}}
| |
− | {{#ask: [[Category:all microprocessor models]] [[microarchitecture::Cortex-A76]]
| |
− | |?full page name
| |
− | |?model number
| |
− | |?family
| |
− | |?first launched
| |
− | |?process
| |
− | |?microarchitecture
| |
− | |?core count
| |
− | |?base frequency#GHz
| |
− | |?integrated gpu
| |
− | |?integrated gpu base frequency
| |
− | |format=template
| |
− | |template=proc table 3
| |
− | |userparam=10
| |
− | |mainlabel=-
| |
− | |valuesep=,
| |
− | }}
| |
− | {{comp table count|ask=[[Category:all microprocessor models]] [[microarchitecture::Cortex-A76]]}}
| |
− | </table>
| |
− | {{comp table end}}
| |
− |
| |
− | == Bibliography ==
| |
− | * Arm Tech Day, 2018
| |