Engineering:Apple A9

From HandWiki
Short description: System on a chip (SoC) designed by Apple Inc.
Apple A9
Apple A9 APL0898.jpg
Apple A9 processor
General Info
LaunchedSeptember 9, 2015
DiscontinuedSeptember 12, 2018
Designed byApple Inc.
Common manufacturer(s)
Product codeAPL0898,[1] APL1022[2]
Performance
Max. CPU clock rate1.85 GHz (iPhone 6s, iPhone 6s Plus, iPhone SE, iPad 9.7 2017)[3][4] 
Cache
L1 cachePer core: 64 KB instruction + 64 KB data
L2 cache3 MB shared[5]
L3 cache4 MB shared[6]
Architecture and classification
ApplicationMobile
Min. feature size16 nm (TSMC) to 14 nm (Samsung)
MicroarchitectureTwister[7][8]
Instruction setARMv8-A: A64, A32, T32
Physical specifications
Cores
GPU(s)Custom PowerVR Series 7XT (six-core) @ 650MHz [9][10][11]
Products, models, variants
Variant(s)Apple A9X
History
PredecessorApple A8
SuccessorApple A10 Fusion

The Apple A9 is a 64-bit ARM-based system-on-chip (SoC), designed by Apple Inc. Manufactured for Apple by both TSMC and Samsung, it first appeared in the iPhone 6S and 6S Plus which were introduced on September 9, 2015.[12] Apple states that it has 70% more CPU performance and 90% more graphics performance compared to its predecessor, the Apple A8.[12] On September 12, 2018, the iPhone 6S and iPhone 6S Plus along with the first-generation iPhone SE was discontinued, ending production of A9 chips. The latest software updates for the iPhone 6S & 6S Plus including the iPhone SE 1st generation variants systems using this chip are iOS 15.7, released on September 12, 2022 as they were discontinued with the release of iOS 16 in 2022, while updates for the iPad (5th generation) variants systems using this chip are still supported.

Design

The A9 features an Apple-designed 64-bit 1.85 GHz[3] ARMv8-A dual-core[5] CPU called Twister.[8] The A9 in the iPhone 6S has 2 GB of LPDDR4 RAM included in the package.[1][5] The A9 has a per-core L1 cache of 64 KB for data and 64 KB for instructions, an L2 cache of 3 MB shared by both CPU cores, and a 4 MB L3 cache that services the entire SoC and acts as a victim cache.[6] The A9 also features a custom PowerVR Series7XT @ 650 MHz GPU, featuring 6x custom shader cores and compiler from Apple.[13]

The A9 includes a new image processor, a feature originally introduced in the A5 and last updated in the A7, with better temporal and spatial noise reduction as well as improved local tone mapping.[14] The A9 directly integrates an embedded M9 motion coprocessor, a feature originally introduced with the A7 as a separate chip. In addition to servicing the accelerometer, gyroscope, compass, and barometer, the M9 coprocessor can recognize Siri voice commands.[14]

The A9 adds hardware decoding for HEIF and HEVC (8/10bit).[15][16] JPEG. H264, VP8, AVC and VC1 are also available for decoding. VP9 and AV1 are not supported by hardware.[17]

The A9 features a custom storage solution, which uses an Apple-designed NVMe-based controller that communicates over a PCIe connection.[18] The iPhone 6s' NAND design is more akin to a PC-class SSD than embedded flash memory common on mobile devices. This gives the phone a significant storage performance advantage over competitors which often use eMMC or UFS to connect to their flash memory.

Microarchitecture

The A9's microarchitecture is similar to the second generation Cyclone (used in A8 chip) microarchitecture. Some of the microarchitectural features are as follows:

Pipeline depth (stages) 16
Issue width 6 micro-ops
ROB 196 micro-ops
Load latency 8 cycles
Branch misprediction penalty 9
Number of integer pipes 4
Number of shifter ALUs 4
Load/Store Units 2
Integer pipe buffer size 48
Number of branch units 2
Indirect branch units 1
Branch pipe buffer size 24
FP ALUs 3

About half of the performance boost over A8 comes from the 1.85 GHz frequency. About a quarter comes from the better memory subsystem (3× bigger caches). The remaining quarter comes from the microarchitectural tuning and smaller technology node.[citation needed]

Encryption

According to Apple, "Every iOS device has a dedicated AES-256 crypto engine built into the DMA path between the flash storage and main system memory, making file encryption highly efficient. On A9 or later A-series processors, the flash storage subsystem is on an isolated bus that is only granted access to memory containing user data via the DMA crypto engine."[19]

Dual sourcing(Chipgate)

Apple A9 chips are fabricated by two companies: Samsung and TSMC. The Samsung version is called APL0898, which is manufactured on a 14 nm FinFET process and is 96 mm2 large, while the TSMC version is called APL1022, which is manufactured on a 16 nm FinFET process and is 104.5 mm2 large.

There was intended to be no significant difference in performance between the parts,[20] but in October 2015, it was alleged that iPhone 6S models with Samsung-fabricated A9 chips consistently measured shorter battery life than those with TSMC-fabricated versions in CPU heavy usage; web browsing and graphics were not very different.[21] Apple responded that "tests which run the processors with a continuous heavy workload until the battery depletes are not representative of real-world usage", and said that internal testing combined with customer data demonstrated a variance of only 2–3%.[22][23]

Naming

While the Twister CPU core implements the ARMv8-A instruction set architecture licensed from ARM Holdings, it is an independent CPU design and is unrelated to the much older but similarly named Cortex-A9 and ARM9 CPU that are designed by ARM themselves and implement the 32-bit ARMv7-A and ARMv5E versions of the architecture.

Gallery

The processors are nearly identical visually. The packaging have the same dimensions (approx 15.0×14.5 mm) and only superficial differences, like the designation text. Inside the packaging the silicon die differs in size.

ARKit

The A9 processor is listed as the minimum requirement for ARKit. [24]

Products that include the Apple A9

See also

References

  1. 1.0 1.1 "iPhone 6s Teardown". iFixit. September 25, 2015. https://www.ifixit.com/Teardown/iPhone+6s+Teardown/48170. 
  2. "A9 is TSMC 16nm FinFET and Samsung Fabbed". http://www.chipworks.com/about-chipworks/overview/blog/a9-is-tsmc-16nm-finfet-and-samsung-fabbed. 
  3. 3.0 3.1 "iPhone 6s customer receives her device early, benchmarks show a marked increase in power". iDownloadBlog. September 21, 2015. http://www.idownloadblog.com/2015/09/21/phone-6s-customer-receives-early-benchmarks/. 
  4. "Revealed: iPhone 6S uses 1.85GHz dual-core A9 chip". Trusted Reviews. September 18, 2015. http://www.trustedreviews.com/news/revealed-iphone-6s-uses-1-8ghz-dual-core-a9-chip. 
  5. 5.0 5.1 5.2 5.3 "Inside the iPhone 6s". Chipworks. September 25, 2015. http://www.chipworks.com/about-chipworks/overview/blog/inside-the-iphone-6s. 
  6. 6.0 6.1 Smith, Ryan (November 30, 2015). "Correcting Apple's A9 SoC L3 Cache Size: A 4MB Victim Cache". AnandTech. http://www.anandtech.com/show/9825/correcting-a9s-l3-cache. 
  7. Joshua Ho. "iPhone 6s and iPhone 6s Plus Preliminary Results". http://www.anandtech.com/show/9662/iphone-6s-and-iphone-6s-plus-preliminary-results. 
  8. 8.0 8.1 Joshua Ho, Ryan Smith. "A9's CPU: Twister - The Apple iPhone 6s and iPhone 6s Plus Review". http://www.anandtech.com/show/9686/the-apple-iphone-6s-and-iphone-6s-plus-review/4. 
  9. "iPhone 6S Review". GSM Arena. October 2015. http://www.gsmarena.com/apple_iphone_6s-review-1314p6.php. 
  10. "Apple A9 / PowerVR GT7600". NotebookCheck. September 2015. http://www.notebookcheck.net/Imagination-PowerVR-GT7600-in-the-Apple-A9-Benchmarks-and-Specs.150859.0.html. 
  11. Kanter, David. "A Look Inside Apple's Custom GPU for the iPhone" (in en-US). https://www.realworldtech.com/apple-custom-gpu/. 
  12. 12.0 12.1 "Apple Introduces iPhone 6s & iPhone 6s Plus" (Press release). Apple. September 9, 2015. Archived from the original on September 11, 2015. Retrieved September 9, 2015.
  13. Kanter, David. "A Look Inside Apple's Custom GPU for the iPhone" (in en-US). https://www.realworldtech.com/apple-custom-gpu/. 
  14. 14.0 14.1 "iPhone 6s - Technology". Apple. September 8, 2015. https://www.apple.com/iphone-6s/technology/. 
  15. Apple has chosen HEVC as its next-generation video codec . 8 June 2017.
  16. Thomson, Gavin. "Introducing HEIF and HEVC" (in English). Apple. pp. Slide 71 of presentation. https://developer.apple.com/videos/play/wwdc2017/503/. 
  17. "Apple A9". https://www.cpu-monkey.com/en/igpu-apple_a9-162. 
  18. "The Apple iPhone 6s and iPhone 6s Plus Review". Anandtech. November 2, 2015. http://www.anandtech.com/show/9686/the-apple-iphone-6s-and-iphone-6s-plus-review/7. 
  19. iOS Security, January 2018, https://www.apple.com/business/docs/iOS_Security_Guide.pdf
  20. Smith, Ryan (September 28, 2015). "Apple's A9 SoC Is Dual Sourced From Samsung & TSMC". AnandTech. http://www.anandtech.com/show/9665/apples-a9-soc-is-dual-sourced-from-samsung-tsmc. 
  21. Cunningham, Andrew (12 October 2015). "Samsung vs. TSMC: Comparing the battery life of two Apple A9s". Ars Technica (Condé Nast). https://arstechnica.com/apple/2015/10/samsung-vs-tsmc-comparing-the-battery-life-of-two-apple-a9s/. 
  22. "Analyzing Apple's Statement on TSMC and Samsung A9 SoCs". http://www.anandtech.com/show/9708/analyzing-apple-statement-for-tsmc-and-samsung-a9. 
  23. Barrett, Brian. "It Doesn't Matter Which A9 Chip Your iPhone Has. Get Over It.". Wired. https://www.wired.com/2015/10/iphone-6s-a9-battery-life/. Retrieved 11 October 2015. 
  24. "Framework - ARKit". https://developer.apple.com/documentation/arkit. 
Preceded by
Apple A8
Apple A9
2015
Succeeded by
Apple A10 Fusion