ARM architecture family: Difference between revisions
Guy Harris (talk | contribs) →{{anchor|ARM8-A|Armv8-A}}Armv8-A: T32 is full Thumb-2, not just Thumb. |
add link (even though it's broken), so that when someone makes a page for the X925, it will be linked |
||
(39 intermediate revisions by 28 users not shown) | |||
Line 9: | Line 9: | ||
* [[Sophie Wilson]] |
* [[Sophie Wilson]] |
||
* [[Steve Furber]] |
* [[Steve Furber]] |
||
* [[Acorn Computers]]/[[Arm Holdings |
* [[Acorn Computers]]/[[Arm Holdings]]}} |
||
|bits = [[32-bit computing|32-bit]], [[64-bit computing|64-bit]] |
|bits = [[32-bit computing|32-bit]], [[64-bit computing|64-bit]] |
||
|introduced = {{Start date and age|1985|df=yes}} |
|introduced = {{Start date and age|1985|df=yes}} |
||
Line 20: | Line 20: | ||
|name = ARM 64/32-bit |
|name = ARM 64/32-bit |
||
|introduced = {{start date and age|2011|df=yes}} |
|introduced = {{start date and age|2011|df=yes}} |
||
|version = ARMv8-R, ARMv8-A, ARMv8.1-A, ARMv8.2-A, ARMv8.3-A, ARMv8.4-A, ARMv8.5-A, ARMv8.6-A, ARMv8.7-A, ARMv8.8-A, ARMv8.9-A, ARMv9.0-A, ARMv9.1-A, ARMv9.2-A, ARMv9.3-A, ARMv9.4-A <!--note ARMv8-M does not really fit here or anywhere as only 32-bit.--> |
|version = ARMv8-R, ARMv8-A, ARMv8.1-A, ARMv8.2-A, ARMv8.3-A, ARMv8.4-A, ARMv8.5-A, ARMv8.6-A, ARMv8.7-A, ARMv8.8-A, ARMv8.9-A, ARMv9.0-A, ARMv9.1-A, ARMv9.2-A, ARMv9.3-A, ARMv9.4-A, ARMv9.5-A, ARMv9.6-A <!--note ARMv8-M does not really fit here or anywhere as only 32-bit.--> |
||
|encoding = [[AArch64]]/A64 and [[#AArch32|AArch32]]/A32 use 32-bit instructions, AArch32/T32 (Thumb-2) uses mixed 16- and 32-bit instructions<ref name="v8arch"/> |
|encoding = [[AArch64]]/A64 and [[#AArch32|AArch32]]/A32 use 32-bit instructions, AArch32/T32 (Thumb-2) uses mixed 16- and 32-bit instructions<ref name="v8arch"/> |
||
|endianness = [[Endianness#Bi-endianness|Bi]] (little as default) |
|endianness = [[Endianness#Bi-endianness|Bi]] (little as default) |
||
|extensions = <!--Complementary: --> [[ARMv8-A SVE|SVE]], SVE2, SME, AES, SHA, TME; All mandatory: [[#Thumb-2|Thumb-2]], [[#Advanced SIMD (Neon)|Neon]], VFPv4-D16, VFPv4; obsolete: [[Jazelle]] |
|extensions = <!--Complementary: --> [[ARMv8-A SVE|SVE]], SVE2, SME, AES, SM3, SM4, SHA, CRC32, RNDR, TME; All mandatory: [[#Thumb-2|Thumb-2]], [[#Advanced SIMD (Neon)|Neon]], VFPv4-D16, VFPv4; obsolete: [[Jazelle]] |
||
|gpr = 31 × 64-bit integer registers<ref name="v8arch"/> |
|gpr = 31 × 64-bit integer registers<ref name="v8arch"/> |
||
|fpr = 32 × [[128-bit computing|128-bit]] registers<ref name="v8arch"/> for scalar 32- and 64-bit [[IEEE 754|FP]] or [[single instruction, multiple data|SIMD]] FP or integer; or cryptography |
|fpr = 32 × [[128-bit computing|128-bit]] registers<ref name="v8arch"/> for scalar 32- and 64-bit [[IEEE 754|FP]] or [[single instruction, multiple data|SIMD]] FP or integer; or cryptography |
||
Line 33: | Line 33: | ||
|encoding = 32-bit, except Thumb-2 extensions use mixed 16- and 32-bit instructions. |
|encoding = 32-bit, except Thumb-2 extensions use mixed 16- and 32-bit instructions. |
||
|endianness = [[Bi-endian|Bi]] (little as default) |
|endianness = [[Bi-endian|Bi]] (little as default) |
||
|extensions = [[#Thumb-2|Thumb-2]], [[#Advanced SIMD (Neon)|Neon]], [[Jazelle]], AES, SHA, DSP, Saturated, FPv4-SP, FPv5, Helium |
|extensions = [[#Thumb-2|Thumb-2]], [[#Advanced SIMD (Neon)|Neon]], [[Jazelle]], AES, SM3, SM4, SHA, CRC32, RNDR, DSP, Saturated, FPv4-SP, FPv5, Helium |
||
|gpr = 15 × 32-bit integer registers, including R14 (link register), but not R15 (PC) |
|gpr = 15 × 32-bit integer registers, including R14 (link register), but not R15 (PC) |
||
|fpr = Up to 32 × 64-bit registers,<ref>{{cite web |url= |
|fpr = Up to 32 × 64-bit registers,<ref>{{cite web |url=https://github.com/ARM-software/abi-aa/blob/2a70c42d62e9c3eb5887fa50b71257f20daca6f9/aapcs32/aapcs32.rst#6121vfp-register-usage-conventions |title=6.1.2.1 VFP register usage conventions |work=Procedure Call Standard for the ARM Architecture |publisher=[[Arm Holdings]] |date=6 October 2023 |access-date=22 August 2024}}</ref> SIMD/floating-point (optional) |
||
}} |
}} |
||
{{Infobox CPU architecture <!-- 32-bit legacy architecture info belongs in this infobox --> |
{{Infobox CPU architecture <!-- 32-bit legacy architecture info belongs in this infobox --> |
||
Line 48: | Line 48: | ||
}} |
}} |
||
'''ARM''' (stylised in lowercase as '''arm''', formerly an acronym for '''Advanced RISC Machines''' and originally '''Acorn RISC Machine''') is a family of [[reduced instruction set computer|RISC]] [[instruction set architecture]]s (ISAs) for [[central processing unit|computer processors]]. [[Arm Holdings |
'''ARM''' (stylised in lowercase as '''arm''', formerly an acronym for '''Advanced RISC Machines''' and originally '''Acorn RISC Machine''') is a family of [[reduced instruction set computer|RISC]] [[instruction set architecture]]s (ISAs) for [[central processing unit|computer processors]]. [[Arm Holdings]] develops the ISAs and licenses them to other companies, who build the physical devices that use the instruction set. It also designs and licenses [[semiconductor intellectual property core|cores]] that implement these ISAs. |
||
Due to their low costs, low power consumption, and low heat generation, ARM processors are useful for light, portable, battery-powered devices, including [[smartphone]]s, [[laptop]]s, and [[tablet computer]]s, as well as [[embedded system]]s.<ref name="ARM1">{{cite newsgroup |url=https://groups.google.com/group/comp.arch/msg/269fe7defd51f29e |title=Some facts about the Acorn RISC Machine |author-link=Sophie Wilson |first=Roger |last=Wilson |newsgroup=comp.arch |date=2 November 1988 |access-date=25 May 2007}}</ref><ref name="extremetech-3g-territory">{{cite news |url=https://www.extremetech.com/extreme/52180-arm-cores-climb-into-3g-territory |title=ARM Cores Climb into 3G Territory |date=14 October 2002 |first=Mark |last=Hachman |work=ExtremeTech |access-date=24 May 2018}}</ref><ref>{{cite news |url=https://www.embedded.com/the-two-percent-solution/ |title=The Two Percent Solution |last=Turley |first=Jim |work=Embedded |date=18 December 2002 |access-date=14 February 2023}}</ref> However, ARM processors are also used for [[desktop computer|desktops]] and [[server (computing)|server]]s, including the world's fastest [[supercomputer]] |
Due to their low costs, low power consumption, and low heat generation, ARM processors are useful for light, portable, battery-powered devices, including [[smartphone]]s, [[laptop]]s, and [[tablet computer]]s, as well as [[embedded system]]s.<ref name="ARM1">{{cite newsgroup |url=https://groups.google.com/group/comp.arch/msg/269fe7defd51f29e |title=Some facts about the Acorn RISC Machine |author-link=Sophie Wilson |first=Roger |last=Wilson |newsgroup=comp.arch |date=2 November 1988 |access-date=25 May 2007}}</ref><ref name="extremetech-3g-territory">{{cite news |url=https://www.extremetech.com/extreme/52180-arm-cores-climb-into-3g-territory |title=ARM Cores Climb into 3G Territory |date=14 October 2002 |first=Mark |last=Hachman |work=ExtremeTech |access-date=24 May 2018}}</ref><ref>{{cite news |url=https://www.embedded.com/the-two-percent-solution/ |title=The Two Percent Solution |last=Turley |first=Jim |work=Embedded |date=18 December 2002 |access-date=14 February 2023}}</ref> However, ARM processors are also used for [[desktop computer|desktops]] and [[server (computing)|server]]s, including [[Fugaku (supercomputer)|Fugaku]], the world's fastest [[supercomputer]] from 2020<ref>{{cite news |last1=Cutress |first1=Ian |title=New #1 Supercomputer: Fujitsu's Fugaku and A64FX take Arm to the Top with 415 PetaFLOPs |url=https://www.anandtech.com/show/15869/new-1-supercomputer-fujitsus-fugaku-and-a64fx-take-arm-to-the-top-with-415-petaflops |access-date=2021-01-25 |work=anandtech.com |date=22 June 2020}}</ref> to 2022. With over 230 billion ARM chips <!--thereof at least 130 billion ARM processors--> produced,<ref>{{cite press release |title=Arm Partners Have Shipped 200 Billion Chips |url=https://www.arm.com/blogs/blueprint/200bn-arm-chips |access-date=2021-11-03 |website=Arm |language=en}}</ref><ref>{{cite web |url=https://community.arm.com/iot/b/internet-of-things/posts/enabling-mass-iot-connectivity-as-arm-partners-ship-100-billion-chips |title=Enabling Mass IoT connectivity as ARM partners ship 100 billion chips |website=community.arm.com |date=27 February 2017 |quote=the cumulative deployment of 100 billion chips, half of which shipped in the last four years. [..] why not a trillion or more? That is our target, seeing a trillion connected devices deployed over the next two decades. |access-date=8 April 2020}}</ref> {{as of|2024|alt=since at least 2003, and with its dominance increasing every year}},<!-- source for older 2014 claim:<ref>{{cite news |last=Robinson |first=Tracy |date=12 February 2014 |url=https://community.arm.com/community/news/blog/2014/02/12/celebrating-50-billion-shipped-arm-powered-chips |title=Celebrating 50 Billion shipped ARM-powered Chips |access-date=31 January 2016}}</ref> --> ARM is the most widely used family of instruction set architectures.<ref>{{cite web |url=https://www.icinsights.com/news/bulletins/MCU-Market-On-Migration-Path-To-32bit-And-ARMbased-Devices/ |title=MCU Market on Migration Path to 32-bit and ARM-based Devices: 32-bit tops in sales; 16-bit leads in unit shipments |publisher=IC Insights |date=25 April 2013 |access-date=1 July 2014}}</ref><ref name="extremetech-3g-territory"/><ref>{{cite web |last=Turley |first=Jim |title=The Two Percent Solution |publisher=embedded.com |year=2002 |url=https://www.embedded.com/electronics-blogs/significant-bits/4024488/The-Two-Percent-Solution}}</ref><ref>{{cite web |url=https://www.theregister.co.uk/2011/02/01/arm_holdings_q4_2010_numbers/ |title=Arm Holdings eager for PC and server expansion |website=[[The Register]] |date=1 February 2011}}</ref><ref>{{cite news |last=McGuire-Balanza |first=Kerry |date=11 May 2010 |url=https://community.arm.com/groups/internet-of-things/blog/2010/05/11/arm-from-zero-to-billions-in-25-short-years |title=ARM from zero to billions in 25 short years |publisher=[[Arm Holdings]] |access-date=8 November 2012}}</ref> |
||
There have been several generations of the ARM design. The original ARM1 used a [[32-bit computing|32-bit]] internal structure but had a 26-bit [[address space]] that limited it to 64 MB of [[main memory]]. This limitation was removed in the ARMv3 series, which has a 32-bit address space, and several additional generations up to ARMv7 remained 32-bit. Released in 2011, the ARMv8-A architecture added support for a [[64-bit computing|64-bit]] address space and 64-bit arithmetic with its new 32-bit fixed-length instruction set.<ref name="armv8-a-announcement">{{cite press release |url=https://www.arm.com/about/newsroom/arm-discloses-technical-details-of-the-next-version-of-the-arm-architecture.php |title=ARM Discloses Technical Details of the Next Version of the ARM Architecture |date=27 October 2011 |publisher=[[Arm Holdings]] |access-date=20 September 2013 |archive-url=https://web.archive.org/web/20190101024118/https://www.arm.com/about/newsroom/arm-discloses-technical-details-of-the-next-version-of-the-arm-architecture.php |archive-date=1 January 2019}}</ref> Arm |
There have been several generations of the ARM design. The original ARM1 used a [[32-bit computing|32-bit]] internal structure but had a 26-bit [[address space]] that limited it to 64 MB of [[main memory]]. This limitation was removed in the ARMv3 series, which has a 32-bit address space, and several additional generations up to ARMv7 remained 32-bit. Released in 2011, the ARMv8-A architecture added support for a [[64-bit computing|64-bit]] address space and 64-bit arithmetic with its new 32-bit fixed-length instruction set.<ref name="armv8-a-announcement">{{cite press release |url=https://www.arm.com/about/newsroom/arm-discloses-technical-details-of-the-next-version-of-the-arm-architecture.php |title=ARM Discloses Technical Details of the Next Version of the ARM Architecture |date=27 October 2011 |publisher=[[Arm Holdings]] |access-date=20 September 2013 |archive-url=https://web.archive.org/web/20190101024118/https://www.arm.com/about/newsroom/arm-discloses-technical-details-of-the-next-version-of-the-arm-architecture.php |archive-date=1 January 2019}}</ref> Arm Holdings has also released a series of additional instruction sets for different rules; the "Thumb" extension adds both 32- and 16-bit instructions for improved [[code density]], while [[Jazelle]] added instructions for directly handling [[Java bytecode]]. More recent changes include the addition of [[simultaneous multithreading]] (SMT) for improved performance or [[fault tolerance]].<ref>{{cite web |url=https://community.arm.com/developer/ip-products/processors/b/processors-ip-blog/posts/arm-neoverse-n1-platform-accelerating-the-transformation-to-a-scalable-cloud-to-edge-infrastructure |title=Announcing the ARM Neoverse N1 Platform |website=community.arm.com |date=20 February 2019 |access-date=8 April 2020}}</ref> |
||
==History== |
==History== |
||
Line 58: | Line 58: | ||
===BBC Micro=== |
===BBC Micro=== |
||
{{Main|BBC Micro}} |
{{Main|BBC Micro}} |
||
[[Acorn Computers]]' first widely successful design was the [[BBC Micro]], introduced in December 1981. This was a relatively conventional machine based on the [[MOS Technology 6502]] CPU but ran at roughly double the performance of competing designs like the [[ |
[[Acorn Computers]]' first widely successful design was the [[BBC Micro]], introduced in December 1981. This was a relatively conventional machine based on the [[MOS Technology 6502]] CPU but ran at roughly double the performance of competing designs like the [[Apple II]] due to its use of faster [[dynamic random-access memory]] (DRAM). Typical DRAM of the era ran at about 2 MHz; Acorn arranged a deal with [[Hitachi]] for a supply of faster 4 MHz parts.<ref>{{cite web |last=Fairbairn |first=Douglas |date=31 January 2012 |title=Oral History of Sophie Wilson |url=http://archive.computerhistory.org/resources/access/text/2012/06/102746190-05-01-acc.pdf |access-date=2 February 2016 |url-status=live |archive-url=https://web.archive.org/web/20160303221351/http://archive.computerhistory.org/resources/access/text/2012/06/102746190-05-01-acc.pdf |archive-date=3 March 2016 |df=dmy-all}}</ref> |
||
Machines of the era generally shared memory between the processor and the [[framebuffer]], which allowed the processor to quickly update the contents of the screen without having to perform separate [[input/output]] (I/O). As the timing of the video display is exacting, the video hardware had to have priority access to that memory. Due to a quirk of the 6502's design, the CPU left the memory untouched for half of the time. Thus by running the CPU at 1 MHz, the video system could read data during those down times, taking up the total 2 MHz bandwidth of the RAM. In the BBC Micro, the use of 4 MHz RAM allowed the same technique to be used, but running at twice the speed. This allowed it to outperform any similar machine on the market.<ref name="reghardware">{{cite news |last=Smith |first=Tony |date=30 November 2011 |title=The BBC Micro turns 30 |website=The Register Hardware |url=http://www.reghardware.com/2011/11/30/bbc_micro_model_b_30th_anniversary/ |access-date=12 December 2011 |url-status=live |archive-url=https://web.archive.org/web/20111212044749/http://www.reghardware.com/2011/11/30/bbc_micro_model_b_30th_anniversary/ |archive-date=12 December 2011 |df=dmy-all}}</ref> |
Machines of the era generally shared memory between the processor and the [[framebuffer]], which allowed the processor to quickly update the contents of the screen without having to perform separate [[input/output]] (I/O). As the timing of the video display is exacting, the video hardware had to have priority access to that memory. Due to a quirk of the 6502's design, the CPU left the memory untouched for half of the time. Thus by running the CPU at 1 MHz, the video system could read data during those down times, taking up the total 2 MHz bandwidth of the RAM. In the BBC Micro, the use of 4 MHz RAM allowed the same technique to be used, but running at twice the speed. This allowed it to outperform any similar machine on the market.<ref name="reghardware">{{cite news |last=Smith |first=Tony |date=30 November 2011 |title=The BBC Micro turns 30 |website=The Register Hardware |url=http://www.reghardware.com/2011/11/30/bbc_micro_model_b_30th_anniversary/ |access-date=12 December 2011 |url-status=live |archive-url=https://web.archive.org/web/20111212044749/http://www.reghardware.com/2011/11/30/bbc_micro_model_b_30th_anniversary/ |archive-date=12 December 2011 |df=dmy-all}}</ref> |
||
Line 70: | Line 70: | ||
The engineers then began studying all of the CPU designs available. Their conclusion about the existing 16-bit designs was that they were a lot more expensive and were still "a bit crap",{{sfn|Evans|2019|loc=7:45}} offering only slightly higher performance than their BBC Micro design. They also almost always demanded a large number of support chips to operate even at that level, which drove up the cost of the computer as a whole. These systems would simply not hit the design goal.{{sfn|Evans|2019|loc=7:45}} They also considered the new 32-bit designs, but these cost even more and had the same issues with support chips.{{sfn|Evans|2019|loc=8:30}} According to [[Sophie Wilson]], all the processors tested at that time performed about the same, with about a 4 Mbit/s bandwidth.<ref>{{cite AV media |url=https://www.youtube.com/watch?v=D4nWLIeBuf4 |archive-url=https://ghostarchive.org/varchive/youtube/20211211/D4nWLIeBuf4 |archive-date=2021-12-11 |url-status=live |title=Sophie Wilson at Alt Party 2009 (Part 3/8)}}{{cbignore}}</ref>{{efn|Using 32-bit words, 4 Mbit/s corresponds to 1 [[Instructions_per_second#Millions_of_instructions_per_second_(MIPS)|MIPS]].}} |
The engineers then began studying all of the CPU designs available. Their conclusion about the existing 16-bit designs was that they were a lot more expensive and were still "a bit crap",{{sfn|Evans|2019|loc=7:45}} offering only slightly higher performance than their BBC Micro design. They also almost always demanded a large number of support chips to operate even at that level, which drove up the cost of the computer as a whole. These systems would simply not hit the design goal.{{sfn|Evans|2019|loc=7:45}} They also considered the new 32-bit designs, but these cost even more and had the same issues with support chips.{{sfn|Evans|2019|loc=8:30}} According to [[Sophie Wilson]], all the processors tested at that time performed about the same, with about a 4 Mbit/s bandwidth.<ref>{{cite AV media |url=https://www.youtube.com/watch?v=D4nWLIeBuf4 |archive-url=https://ghostarchive.org/varchive/youtube/20211211/D4nWLIeBuf4 |archive-date=2021-12-11 |url-status=live |title=Sophie Wilson at Alt Party 2009 (Part 3/8)}}{{cbignore}}</ref>{{efn|Using 32-bit words, 4 Mbit/s corresponds to 1 [[Instructions_per_second#Millions_of_instructions_per_second_(MIPS)|MIPS]].}} |
||
Two key events led Acorn down the path to ARM. One was the publication of a series of reports from the [[University of California, Berkeley]], which suggested that a simple chip design could nevertheless have extremely high performance, much higher than the latest 32-bit designs on the market.<ref name="informit">{{cite book |last=Chisnall |first=David |date=23 August 2010 |url=https://www.informit.com/articles/article.aspx?p=1620207 |title=Understanding ARM Architectures |access-date=26 May 2013}}</ref> The second was a visit by [[Steve Furber]] and Sophie Wilson to the [[Western Design Center]], a company run by [[Bill Mensch]] and his sister, which had become the logical successor to the MOS team and was offering new versions like the [[WDC 65C02]]. The Acorn team saw high school students producing chip layouts on Apple II machines, which suggested that anyone could do it.{{sfn|Evans|2019|loc=9:00}}<ref>{{cite book |last=Furber |first=Stephen B. |year=2000 |title=ARM system-on-chip architecture |publisher=Addison-Wesley |location=Boston |isbn=0-201-67519-6 |title-link=ARM system-on-chip architecture}}</ref> In contrast, a visit to another design firm working on modern 32-bit CPU revealed a team with over a dozen members |
Two key events led Acorn down the path to ARM. One was the publication of a series of reports from the [[University of California, Berkeley]], which suggested that a simple chip design could nevertheless have extremely high performance, much higher than the latest 32-bit designs on the market.<ref name="informit">{{cite book |last=Chisnall |first=David |date=23 August 2010 |url=https://www.informit.com/articles/article.aspx?p=1620207 |title=Understanding ARM Architectures |access-date=26 May 2013}}</ref> The second was a visit by [[Steve Furber]] and Sophie Wilson to the [[Western Design Center]], a company run by [[Bill Mensch]] and his sister, which had become the logical successor to the MOS team and was offering new versions like the [[WDC 65C02]]. The Acorn team saw high school students producing chip layouts on Apple II machines, which suggested that anyone could do it.{{sfn|Evans|2019|loc=9:00}}<ref>{{cite book |last=Furber |first=Stephen B. |year=2000 |title=ARM system-on-chip architecture |publisher=Addison-Wesley |location=Boston |isbn=0-201-67519-6 |title-link=ARM system-on-chip architecture}}</ref> In contrast, a visit to another design firm working on modern 32-bit CPU revealed a team with over a dozen members who were already on revision H of their design and yet it still contained bugs.{{efn|Available references do not mention which design team this was, but given the timing and known history of designs of the era, it is likely this was the National Semiconductor team whose NS32016 suffered from a large number of bugs.}} This cemented their late 1983 decision to begin their own CPU design, the Acorn RISC Machine.{{sfn|Evans|2019|loc=9:50}} |
||
===Design concepts=== |
===Design concepts=== |
||
Line 94: | Line 94: | ||
According to the [[Dhrystone]] benchmark, the ARM2 was roughly seven times the performance of a typical 7 MHz 68000-based system like the [[Amiga]] or [[Macintosh SE]]. It was twice as fast as an [[i386|Intel 80386]] running at 16 MHz, and about the same speed as a multi-processor [[VAX-11#VAX-11/784|VAX-11/784]] [[superminicomputer]]. The only systems that beat it were the [[Sun SPARC]] and [[R2000 microprocessor|MIPS R2000]] RISC-based [[workstation]]s.{{sfn|Evans|2019|loc=14:00}} Further, as the CPU was designed for high-speed I/O, it dispensed with many of the support chips seen in these machines; notably, it lacked any dedicated [[direct memory access]] (DMA) controller which was often found on workstations. The graphics system was also simplified based on the same set of underlying assumptions about memory and timing. The result was a dramatically simplified design, offering performance on par with expensive workstations but at a price point similar to contemporary desktops.{{sfn|Evans|2019|loc=14:00}} |
According to the [[Dhrystone]] benchmark, the ARM2 was roughly seven times the performance of a typical 7 MHz 68000-based system like the [[Amiga]] or [[Macintosh SE]]. It was twice as fast as an [[i386|Intel 80386]] running at 16 MHz, and about the same speed as a multi-processor [[VAX-11#VAX-11/784|VAX-11/784]] [[superminicomputer]]. The only systems that beat it were the [[Sun SPARC]] and [[R2000 microprocessor|MIPS R2000]] RISC-based [[workstation]]s.{{sfn|Evans|2019|loc=14:00}} Further, as the CPU was designed for high-speed I/O, it dispensed with many of the support chips seen in these machines; notably, it lacked any dedicated [[direct memory access]] (DMA) controller which was often found on workstations. The graphics system was also simplified based on the same set of underlying assumptions about memory and timing. The result was a dramatically simplified design, offering performance on par with expensive workstations but at a price point similar to contemporary desktops.{{sfn|Evans|2019|loc=14:00}} |
||
The ARM2 featured a [[32-bit computing|32-bit]] [[Bus (computing)|data bus]], [[26-bit computing|26-bit]] address space and 27 32-bit [[processor register|registers]], of which 16 are accessible at any one time (including the [[program counter|PC]]).<ref>{{cite web |url=https://www.cs.umd.edu/~meesh/cmsc411/website/proj01/arm/armchip.html |title=From one Arm to the next! ARM Processors and Architectures |access-date=31 May 2022}}</ref> The ARM2 had a [[transistor count]] of just 30,000,<ref name="Markus Levy, Convergence Promotions">{{cite web |url=https://reds.heig-vd.ch/share/cours/ReCo/documents/TheHistoryOfTheARMArchitecture.pdf |title=The History of The ARM Architecture: From Inception to IPO |access-date=18 July 2022 |last=Levy |first=Markus}}</ref> compared to Motorola's six-year-older 68000 model with around 68,000. Much of this simplicity came from the lack of [[microcode]], which represents about one-quarter to one-third of the 68000's transistors, and the lack of (like most CPUs of the day) a [[CPU cache|cache]]. This simplicity enabled the ARM2 to have a low power consumption and simpler thermal packaging |
The ARM2 featured a [[32-bit computing|32-bit]] [[Bus (computing)|data bus]], [[26-bit computing|26-bit]] address space and 27 32-bit [[processor register|registers]], of which 16 are accessible at any one time (including the [[program counter|PC]]).<ref>{{cite web |url=https://www.cs.umd.edu/~meesh/cmsc411/website/proj01/arm/armchip.html |title=From one Arm to the next! ARM Processors and Architectures |access-date=31 May 2022}}</ref> The ARM2 had a [[transistor count]] of just 30,000,<ref name="Markus Levy, Convergence Promotions">{{cite web |url=https://reds.heig-vd.ch/share/cours/ReCo/documents/TheHistoryOfTheARMArchitecture.pdf |title=The History of The ARM Architecture: From Inception to IPO |access-date=18 July 2022 |last=Levy |first=Markus}}</ref> compared to Motorola's six-year-older 68000 model with around 68,000. Much of this simplicity came from the lack of [[microcode]], which represents about one-quarter to one-third of the 68000's transistors, and the lack of (like most CPUs of the day) a [[CPU cache|cache]]. This simplicity enabled the ARM2 to have a low power consumption and simpler thermal packaging by having fewer powered transistors. Nevertheless, ARM2 offered better performance than the contemporary 1987 [[IBM PS/2 Model 50]], which initially utilised an [[Intel 80286]], offering 1.8 MIPS @ 10 MHz, and later in 1987, the 2 MIPS of the PS/2 70, with its [[i386|Intel 386]] DX @ 16 MHz.<ref>{{Cite book |url=http://oldcomputers.net/Amiga_3000_manual.pdf |title=Introducing the Commodore Amiga 3000 |date=1991 |publisher=Commodore-Amiga, Inc.}}</ref><ref>{{Cite web |title=Computer MIPS and MFLOPS Speed Claims 1980 to 1996 |url=http://www.roylongbottom.org.uk/mips.htm#anchorAcorn |access-date=2023-06-17 |website=www.roylongbottom.org.uk}}</ref> |
||
A successor, ARM3, was produced with a 4 KB cache, which further improved performance.<ref name="Chattopadhyay2010">{{cite book |author=Santanu Chattopadhyay |title=Embedded System Design |url=https://books.google.com/books?id=4Bir9Kw059gC&pg=PA9 |year=2010 |publisher=PHI Learning Pvt. Ltd. |isbn=978-81-203-4024-4 |page=9}}</ref> The address bus was extended to 32 bits in the ARM6, but program code still had to lie within the first 64 MB of memory in 26-bit compatibility mode, due to the reserved bits for the status flags.<ref>{{cite web |url=https://www.heyrick.co.uk/assembler/32bit.html |title=32 bit operation |author=Richard Murray}}</ref> |
A successor, ARM3, was produced with a 4 KB cache, which further improved performance.<ref name="Chattopadhyay2010">{{cite book |author=Santanu Chattopadhyay |title=Embedded System Design |url=https://books.google.com/books?id=4Bir9Kw059gC&pg=PA9 |year=2010 |publisher=PHI Learning Pvt. Ltd. |isbn=978-81-203-4024-4 |page=9}}</ref> The address bus was extended to 32 bits in the ARM6, but program code still had to lie within the first 64 MB of memory in 26-bit compatibility mode, due to the reserved bits for the status flags.<ref>{{cite web |url=https://www.heyrick.co.uk/assembler/32bit.html |title=32 bit operation |author=Richard Murray}}</ref> |
||
Line 102: | Line 102: | ||
[[File:GPS ARM610 die.JPG|thumb|right|upright=1.4|[[Die (integrated circuit)|Die]] of an ARM610 microprocessor]] |
[[File:GPS ARM610 die.JPG|thumb|right|upright=1.4|[[Die (integrated circuit)|Die]] of an ARM610 microprocessor]] |
||
In the late 1980s, [[Apple Inc.|Apple Computer]] and [[VLSI Technology]] started working with Acorn on newer versions of the ARM core. In 1990, Acorn spun off the design team into a new company named Advanced RISC Machines Ltd.,<ref>{{cite web |url=https://www.arm.com/about/company-profile/milestones.php |title=ARM Company Milestones |website=ARM |access-date=8 April 2015 |archive-url=https://web.archive.org/web/20150420050600/https://www.arm.com/about/company-profile/milestones.php |archive-date=20 April 2015 |url-status=dead}}</ref><ref name="andrews-co-verification-of-hardware-and-software-for-ARM-SoC-design">{{cite book |last1=Andrews |first1=Jason |title=Co-verification of hardware and software for ARM SoC design |url=https://archive.org/details/coverificationha00andr_198 |url-access=limited |chapter=3 SoC Verification Topics for the ARM Architecture |publisher=[[Elsevier]] |year=2005 |location=Oxford, UK |pages=[https://archive.org/details/coverificationha00andr_198/page/n93 69] |isbn=0-7506-7730-9 |quote=ARM started as a branch of Acorn Computer in Cambridge, England, with the formation of a joint venture between Acorn, Apple and VLSI Technology. A team of twelve employees produced the design of the first ARM microprocessor between 1983 and 1985.}}</ref><ref name="latimes apple to join acorn">{{cite news |url=https:// |
In the late 1980s, [[Apple Inc.|Apple Computer]] and [[VLSI Technology]] started working with Acorn on newer versions of the ARM core. In 1990, Acorn spun off the design team into a new company named Advanced RISC Machines Ltd.,<ref>{{cite web |url=https://www.arm.com/about/company-profile/milestones.php |title=ARM Company Milestones |website=ARM |access-date=8 April 2015 |archive-url=https://web.archive.org/web/20150420050600/https://www.arm.com/about/company-profile/milestones.php |archive-date=20 April 2015 |url-status=dead}}</ref><ref name="andrews-co-verification-of-hardware-and-software-for-ARM-SoC-design">{{cite book |last1=Andrews |first1=Jason |title=Co-verification of hardware and software for ARM SoC design |url=https://archive.org/details/coverificationha00andr_198 |url-access=limited |chapter=3 SoC Verification Topics for the ARM Architecture |publisher=[[Elsevier]] |year=2005 |location=Oxford, UK |pages=[https://archive.org/details/coverificationha00andr_198/page/n93 69] |isbn=0-7506-7730-9 |quote=ARM started as a branch of Acorn Computer in Cambridge, England, with the formation of a joint venture between Acorn, Apple and VLSI Technology. A team of twelve employees produced the design of the first ARM microprocessor between 1983 and 1985.}}</ref><ref name="latimes apple to join acorn">{{cite news |url=https://www.latimes.com/archives/la-xpm-1990-11-28-fi-4993-story.html |title=Apple to Join Acorn, VLSI in Chip-Making Venture |work=Los Angeles Times |date=28 November 1990 |access-date=6 February 2012 |author=Weber, Jonathan |location=Los Angeles |quote=Apple has invested about $3 million (roughly 1.5 million pounds) for a 30% interest in the company, dubbed Advanced Risc Machines Ltd. (ARM) [...]}}</ref> which became ARM Ltd. when its parent company, [[Arm Holdings]] plc, floated on the [[London Stock Exchange]] and [[Nasdaq]] in 1998.<ref>{{cite web |url=https://www.arm.com/miscPDFs/3822.pdf |title=ARM Corporate Backgrounder |website=ARM |archive-url=https://web.archive.org/web/20061004150423/https://www.arm.com/miscPDFs/3822.pdf |archive-date=4 October 2006 |url-status=dead}}</ref> The new Apple–ARM work would eventually evolve into the ARM6, first released in early 1992. Apple used the ARM6-based ARM610 as the basis for their [[Apple Newton]] PDA. |
||
===Early licensees=== |
===Early licensees=== |
||
Line 111: | Line 111: | ||
==Licensing== |
==Licensing== |
||
{{See also|Arm |
{{See also|Arm Holdings#Licensees}} |
||
[[File:STM32F103VGT6-HD.jpg|thumb|upright=1.4|[[Die (integrated circuit)|Die]] of a [[STM32]]­F103VGT6 [[ARM Cortex-M3]] microcontroller with 1 [[megabyte|MB]] [[flash memory]] by [[STMicroelectronics]] ]] |
[[File:STM32F103VGT6-HD.jpg|thumb|upright=1.4|[[Die (integrated circuit)|Die]] of a [[STM32]]­F103VGT6 [[ARM Cortex-M3]] microcontroller with 1 [[megabyte|MB]] [[flash memory]] by [[STMicroelectronics]] ]] |
||
===Core licence=== |
===Core licence=== |
||
Arm |
Arm Holdings's primary business is selling [[IP core]]s, which licensees use to create [[microcontroller]]s (MCUs), [[CPU]]s, and [[system on a chip|systems-on-chips]] based on those cores. The [[original design manufacturer]] combines the ARM core with other parts to produce a complete device, typically one that can be built in existing [[semiconductor fabrication plant]]s (fabs) at low cost and still deliver substantial performance. The most successful implementation has been the [[ARM7#ARM7TDMI|ARM7TDMI]] with hundreds of millions sold. [[Atmel]] has been a precursor design center in the ARM7TDMI-based embedded system. |
||
The ARM architectures used in smartphones, PDAs and other [[mobile device]]s range from ARMv5 to {{nowrap|ARMv8-A}}. |
The ARM architectures used in smartphones, PDAs and other [[mobile device]]s range from ARMv5 to {{nowrap|ARMv8-A}}. |
||
Line 121: | Line 121: | ||
In 2009, some manufacturers introduced netbooks based on ARM architecture CPUs, in direct competition with netbooks based on [[Intel Atom]].<ref>{{cite news |url=http://www.linuxfordevices.com/c/a/News/Always-Innovating-Touch-Book/ |title=ARM netbook ships with detachable tablet |first=Eric |last=Brown |year=2009 |access-date=19 August 2009 |archive-url=https://archive.today/20130103181613/http://www.linuxfordevices.com/c/a/News/Always-Innovating-Touch-Book/ |archive-date=3 January 2013 |url-status=dead}}</ref> |
In 2009, some manufacturers introduced netbooks based on ARM architecture CPUs, in direct competition with netbooks based on [[Intel Atom]].<ref>{{cite news |url=http://www.linuxfordevices.com/c/a/News/Always-Innovating-Touch-Book/ |title=ARM netbook ships with detachable tablet |first=Eric |last=Brown |year=2009 |access-date=19 August 2009 |archive-url=https://archive.today/20130103181613/http://www.linuxfordevices.com/c/a/News/Always-Innovating-Touch-Book/ |archive-date=3 January 2013 |url-status=dead}}</ref> |
||
Arm |
Arm Holdings offers a variety of licensing terms, varying in cost and deliverables. Arm Holdings provides to all licensees an integratable hardware description of the ARM core as well as complete software development toolset ([[compiler]], [[debugger]], [[software development kit]]), and the right to sell manufactured [[semiconductor device|silicon]] containing the ARM CPU. |
||
SoC packages integrating ARM's core designs include Nvidia Tegra's first three generations, CSR plc's Quatro family, ST-Ericsson's Nova and NovaThor, Silicon Labs's Precision32 MCU, Texas Instruments's [[OMAP]] products, Samsung's Hummingbird and [[Exynos]] products, Apple's [[Apple A4|A4]], [[Apple A5|A5]], and [[Apple A5X|A5X]],<!-- but not later Apple SoCs, which have Apple-designed cores --> and [[NXP Semiconductors|NXP]]'s [[i.MX]]. |
SoC packages integrating ARM's core designs include Nvidia Tegra's first three generations, CSR plc's Quatro family, ST-Ericsson's Nova and NovaThor, Silicon Labs's Precision32 MCU, Texas Instruments's [[OMAP]] products, Samsung's Hummingbird and [[Exynos]] products, Apple's [[Apple A4|A4]], [[Apple A5|A5]], and [[Apple A5X|A5X]],<!-- but not later Apple SoCs, which have Apple-designed cores --> and [[NXP Semiconductors|NXP]]'s [[i.MX]]. |
||
[[Fabless manufacturing|Fabless]] licensees, who wish to integrate an ARM core into their own chip design, are usually only interested in acquiring a ready-to-manufacture verified [[semiconductor intellectual property core]]. For these customers, Arm |
[[Fabless manufacturing|Fabless]] licensees, who wish to integrate an ARM core into their own chip design, are usually only interested in acquiring a ready-to-manufacture verified [[semiconductor intellectual property core]]. For these customers, Arm Holdings delivers a [[netlist|gate netlist]] description of the chosen ARM core, along with an abstracted simulation model and test programs to aid design integration and verification. More ambitious customers, including integrated device manufacturers (IDM) and foundry operators, choose to acquire the processor IP in [[logic synthesis|synthesizable]] [[register-transfer level|RTL]] ([[Verilog]]) form. With the synthesizable RTL, the customer has the ability to perform architectural level optimisations and extensions. This allows the designer to achieve exotic design goals not otherwise possible with an unmodified netlist ([[clock rate|high clock speed]], very low power consumption, instruction set extensions, etc.). While Arm Holdings does not grant the licensee the right to resell the ARM architecture itself, licensees may freely sell manufactured products such as chip devices, evaluation boards and complete systems. [[Foundry model|Merchant foundries]] can be a special case; not only are they allowed to sell finished silicon containing ARM cores, they generally hold the right to re-manufacture ARM cores for other customers. |
||
Arm |
Arm Holdings prices its IP based on perceived value. Lower performing ARM cores typically have lower licence costs than higher performing cores. In implementation terms, a synthesisable core costs more than a hard macro (blackbox) core. Complicating price matters, a merchant foundry that holds an ARM licence, such as Samsung or Fujitsu, can offer fab customers reduced licensing costs. In exchange for acquiring the ARM core through the foundry's in-house design services, the customer can reduce or eliminate payment of ARM's upfront licence fee. |
||
Compared to dedicated semiconductor foundries (such as [[TSMC]] and [[United Microelectronics Corporation|UMC]]) without in-house design services, Fujitsu/Samsung charge two- to three-times more per manufactured [[wafer (electronics)|wafer]].{{citation needed|date=May 2013}} For low to mid volume applications, a design service foundry offers lower overall pricing (through subsidisation of the licence fee). For high volume mass-produced parts, the long term cost reduction achievable through lower wafer pricing reduces the impact of ARM's NRE ([[non-recurring engineering]]) costs, making the dedicated foundry a better choice. |
Compared to dedicated semiconductor foundries (such as [[TSMC]] and [[United Microelectronics Corporation|UMC]]) without in-house design services, Fujitsu/Samsung charge two- to three-times more per manufactured [[wafer (electronics)|wafer]].{{citation needed|date=May 2013}} For low to mid volume applications, a design service foundry offers lower overall pricing (through subsidisation of the licence fee). For high volume mass-produced parts, the long term cost reduction achievable through lower wafer pricing reduces the impact of ARM's NRE ([[non-recurring engineering]]) costs, making the dedicated foundry a better choice. |
||
Line 299: | Line 299: | ||
|{{center|ARMv9.2-A}} |
|{{center|ARMv9.2-A}} |
||
|{{center|64}} |
|{{center|64}} |
||
|[[ARM Cortex-A520]], [[ARM Cortex-A720]], [[ARM Cortex-X4]], [[ARM Neoverse#Neoverse V3|ARM Neoverse V3]],<ref>{{Cite web |title=Documentation – Arm Developer |url=https://developer.arm.com/documentation/107734/0001/The-Neoverse--V3--core |access-date=2024-10-03 |website=developer.arm.com}}</ref> [[ARM Cortex-X925]]<ref>{{Cite web |title=Documentation – Arm Developer |url=https://developer.arm.com/documentation/102807/0001/The-Cortex-X925--core?lang=en |access-date=2024-10-03 |website=developer.arm.com}}</ref> |
|||
|[[ARM Cortex-A520]], [[ARM Cortex-A720]], [[ARM Cortex-X4]] |
|||
|[[Apple M4]]<ref>{{Cite web |title=Apple M4 Support Added To The LLVM Compiler, Confirming Its ISA Capabilities |url=https://www.phoronix.com/news/Apple-M4-Added-To-LLVM-Clang |access-date=2024-06-15 |website=www.phoronix.com |language=en}}</ref> |
|||
⚫ | |||
|{{center|Application}} |
|{{center|Application}} |
||
| |
| |
||
Line 317: | Line 317: | ||
|{{center|Application}} |
|{{center|Application}} |
||
|{{center|<ref>{{Cite web |date=2022-09-29 |title=Arm A-Profile Architecture Developments 2022 - Architectures and Processors blog - Arm Community blogs - Arm Community |url=https://community.arm.com/arm-community-blogs/b/architectures-and-processors-blog/posts/arm-a-profile-architecture-2022 |access-date=2023-09-25 |website=community.arm.com |language=en}}</ref>}} |
|{{center|<ref>{{Cite web |date=2022-09-29 |title=Arm A-Profile Architecture Developments 2022 - Architectures and Processors blog - Arm Community blogs - Arm Community |url=https://community.arm.com/arm-community-blogs/b/architectures-and-processors-blog/posts/arm-a-profile-architecture-2022 |access-date=2023-09-25 |website=community.arm.com |language=en}}</ref>}} |
||
|- |
|||
|{{center|ARMv9.5-A}} |
|||
|{{center|64}} |
|||
|{{TBA}} |
|||
⚫ | |||
|{{center|Application}} |
|||
|{{center|<ref>{{Cite web |date=2022-09-29 |title=Arm A-Profile Architecture Developments 2023 - Architectures and Processors blog - Arm Community blogs - Arm Community |url=https://community.arm.com/arm-community-blogs/b/architectures-and-processors-blog/posts/arm-a-profile-architecture-developments-2023 |access-date=2024-10-11 |website=community.arm.com |language=en}}</ref>}} |
|||
|- |
|||
|{{center|ARMv9.6-A}} |
|||
|{{center|64}} |
|||
|{{TBA}} |
|||
| |
|||
|{{center|Application}} |
|||
|{{center|<ref>{{Cite web |date=2022-09-29 |title=Arm A-Profile Architecture Developments 2024 - Architectures and Processors blog - Arm Community blogs - Arm Community |url=https://community.arm.com/arm-community-blogs/b/architectures-and-processors-blog/posts/arm-a-profile-architecture-developments-2024 |access-date=2024-10-11 |website=community.arm.com |language=en}}</ref>}} |
|||
|} |
|} |
||
{{reflist|group=a}} |
{{reflist|group=a}} |
||
Line 643: | Line 657: | ||
Open Virtualization<ref>{{cite web |url=http://www.openvirtualization.org |title=ARM TrustZone and ARM Hypervisor Open Source Software |publisher=Open Virtualization |access-date=14 June 2013 |archive-url=https://web.archive.org/web/20130614081110/http://openvirtualization.org/ |archive-date=14 June 2013 |url-status=dead}}</ref> is an open source implementation of the trusted world architecture for TrustZone. |
Open Virtualization<ref>{{cite web |url=http://www.openvirtualization.org |title=ARM TrustZone and ARM Hypervisor Open Source Software |publisher=Open Virtualization |access-date=14 June 2013 |archive-url=https://web.archive.org/web/20130614081110/http://openvirtualization.org/ |archive-date=14 June 2013 |url-status=dead}}</ref> is an open source implementation of the trusted world architecture for TrustZone. |
||
[[AMD]] has licensed and incorporated TrustZone technology into its [[AMD Platform Security Processor|Secure Processor Technology]].<ref>{{cite web |title=AMD Secure Technology |url=https://www.amd.com/en-us/innovations/software-technologies/security |website=AMD |access-date=6 July 2016 |archive-url=https://web.archive.org/web/20160723094537/https://www.amd.com/en-us/innovations/software-technologies/security |archive-date=23 July 2016}}</ref> |
[[AMD]] has licensed and incorporated TrustZone technology into its [[AMD Platform Security Processor|Secure Processor Technology]].<ref>{{cite web |title=AMD Secure Technology |url=https://www.amd.com/en-us/innovations/software-technologies/security |website=AMD |access-date=6 July 2016 |archive-url=https://web.archive.org/web/20160723094537/https://www.amd.com/en-us/innovations/software-technologies/security |archive-date=23 July 2016}}</ref> AMD's [[AMD Accelerated Processing Unit|APU]]s include a Cortex-A5 processor for handling secure processing, which is enabled in some, but not all products.<ref>{{cite news |last1=Smith |first1=Ryan |title=AMD 2013 APUs to include ARM Cortex A5 Processor for Trustzone Capabilities |url=https://www.anandtech.com/show/6007/amd-2013-apus-to-include-arm-cortexa5-processor-for-trustzone-capabilities |access-date=6 July 2016 |website=[[AnandTech]] |date=13 June 2012}}</ref><ref name="beema">{{cite news |last1=Shimpi |first1=Anand Lal |title=AMD Beema Mullins Architecture A10 micro 6700T Performance Preview |url=https://www.anandtech.com/show/7974/amd-beema-mullins-architecture-a10-micro-6700t-performance-preview |access-date=6 July 2016 |website=[[AnandTech]] |date=29 April 2014}}</ref><ref>{{cite news |last1=Walton |first1=Jarred |title=AMD Launches Mobile Kaveri APUs |url=https://www.anandtech.com/show/8119/amd-launches-mobile-kaveri-apus |access-date=6 July 2016 |website=[[AnandTech]] |date=4 June 2014}}</ref> In fact, the Cortex-A5 TrustZone core had been included in earlier AMD products, but was not enabled due to time constraints.<ref name="beema"/> |
||
[[Samsung Knox]] uses TrustZone for purposes such as detecting modifications to the kernel, storing certificates and attestating keys.<ref>{{cite web |url=https://docs.samsungknox.com/admin/whitepaper/kpe/hardware-backed-root-of-trust.htm |title=Root of Trust |type=white paper |date=April 2016 |publisher=[[Samsung Electronics]]}}</ref> |
[[Samsung Knox]] uses TrustZone for purposes such as detecting modifications to the kernel, storing certificates and attestating keys.<ref>{{cite web |url=https://docs.samsungknox.com/admin/whitepaper/kpe/hardware-backed-root-of-trust.htm |title=Root of Trust |type=white paper |date=April 2016 |publisher=[[Samsung Electronics]]}}</ref> |
||
Line 659: | Line 673: | ||
==={{anchor|ARM8-R}}Armv8-R and Armv8-M=== |
==={{anchor|ARM8-R}}Armv8-R and Armv8-M=== |
||
The '''Armv8-R''' and '''Armv8-M''' architectures, announced after the Armv8-A architecture, share some features with Armv8-A. However, Armv8-M does not include any 64-bit AArch64 instructions, and Armv8-R originally did not include any AArch64 instructions; those instructions were added to Armv8-R later. |
The '''Armv8-R''' and '''Armv8-M''' architectures, announced after the Armv8-A architecture, share some features with Armv8-A. However, Armv8-M does not include any 64-bit AArch64 instructions, and Armv8-R originally did not include any AArch64 instructions; those instructions were added to [[#Armv8-R|Armv8-R]] later. |
||
===={{Anchor|ARMv8.1-M}}Armv8.1-M==== |
===={{Anchor|ARMv8.1-M}}Armv8.1-M==== |
||
Line 679: | Line 693: | ||
===={{anchor|ARM8-A|Armv8-A}}Armv8-A==== |
===={{anchor|ARM8-A|Armv8-A}}Armv8-A==== |
||
{{See also|Comparison of Armv8-A processors}} |
{{See also|Comparison of Armv8-A processors}} |
||
Announced in October 2011,<ref name="armv8-a-announcement"/> '''Armv8-A''' (often called ARMv8 while the Armv8-R is also available) represents a fundamental change to the ARM architecture. It supports two ''Execution states'': a 64-bit state named ''AArch64'' and a 32-bit state named ''AArch32''. In the AArch64 state, a new 64-bit ''A64'' instruction set is supported; in the AArch32 state, two instruction sets are supported: the original 32-bit instruction set, named ''A32'', and the 32-bit Thumb-2 instruction set, named ''T32''. AArch32 provides [[user space|user-space]] compatibility with Armv7-A. The processor state can change on an Exception level change; this allows 32-bit applications to be executed in AArch32 state under a 64-bit OS whose kernel executes in AArch64 state, and allows a 32-bit OS to run in AArch32 state under the control of a 64-bit [[hypervisor]] running in AArch64 state.<ref name="v8arch"/> ARM announced their Cortex-A53 and Cortex-A57 cores on 30 October 2012.<ref name="cortex-a50 announce">{{cite press release |url=https://www.arm.com/about/newsroom/arm-launches-cortex-a50-series-the-worlds-most-energy-efficient-64-bit-processors.php |title=ARM Launches Cortex-A50 Series, the World's Most Energy-Efficient 64-bit Processors |publisher=[[Arm Holdings]] |access-date=31 October 2012}}</ref> Apple was the first to release an Armv8-A compatible core in a consumer product ([[Apple A7]] in [[iPhone 5S]]). [[AppliedMicro]], using an [[FPGA]], was the first to demo Armv8-A.<ref name="AppliedMicro-First 64-bit ARM v8 Core">{{cite press release |url=https://www.businesswire.com/news/home/20111027006673/en/AppliedMicro-Showcases-World's-64-bit-ARM-v8-Core |title=AppliedMicro Showcases World's First 64-bit ARM v8 Core |publisher=AppliedMicro |date=28 October 2011 |access-date=11 February 2014}}</ref> The first Armv8-A [[system on a chip|SoC]] from [[Samsung Electronics|Samsung]] is the Exynos 5433 used in the [[Samsung Galaxy Note 4|Galaxy Note 4]], which features two clusters of four Cortex-A57 and Cortex-A53 cores in a [[big.LITTLE]] configuration; but it will run only in AArch32 mode.<ref>{{cite web |title=Samsung's Exynos 5433 is an A57/A53 ARM SoC |website=[[AnandTech]] |url=https://www.anandtech.com/show/8537/samsungs-exynos-5433-is-an-a57a53-arm-soc |access-date=17 September 2014}}</ref> |
Announced in October 2011,<ref name="armv8-a-announcement"/> '''Armv8-A''' (often called ARMv8 while the Armv8-R is also available) represents a fundamental change to the ARM architecture. It supports two ''Execution states'': a 64-bit state named ''AArch64'' and a 32-bit state named ''AArch32''. In the AArch64 state, a new 64-bit ''A64'' instruction set is supported; in the AArch32 state, two instruction sets are supported: the original 32-bit instruction set, named ''A32'', and the 32-bit Thumb-2 instruction set, named ''T32''. AArch32 provides [[user space|user-space]] compatibility with Armv7-A. The processor state can change on an Exception level change; this allows 32-bit applications to be executed in AArch32 state under a 64-bit OS whose kernel executes in AArch64 state, and allows a 32-bit OS to run in AArch32 state under the control of a 64-bit [[hypervisor]] running in AArch64 state.<ref name="v8arch"/> ARM announced their Cortex-A53 and Cortex-A57 cores on 30 October 2012.<ref name="cortex-a50 announce">{{cite press release |url=https://www.arm.com/about/newsroom/arm-launches-cortex-a50-series-the-worlds-most-energy-efficient-64-bit-processors.php |title=ARM Launches Cortex-A50 Series, the World's Most Energy-Efficient 64-bit Processors |publisher=[[Arm Holdings]] |access-date=31 October 2012}}</ref> Apple was the first to release an Armv8-A compatible core in a consumer product ([[Apple A7]] in [[iPhone 5S]]). [[AppliedMicro]], using an [[FPGA]], was the first to demo Armv8-A.<ref name="AppliedMicro-First 64-bit ARM v8 Core">{{cite press release |url=https://www.businesswire.com/news/home/20111027006673/en/AppliedMicro-Showcases-World's-64-bit-ARM-v8-Core |title=AppliedMicro Showcases World's First 64-bit ARM v8 Core |publisher=AppliedMicro |date=28 October 2011 |access-date=11 February 2014}}</ref> The first Armv8-A [[system on a chip|SoC]] from [[Samsung Electronics|Samsung]] is the Exynos 5433 used in the [[Samsung Galaxy Note 4|Galaxy Note 4]], which features two clusters of four Cortex-A57 and Cortex-A53 cores in a [[ARM big.LITTLE|big.LITTLE]] configuration; but it will run only in AArch32 mode.<ref>{{cite web |title=Samsung's Exynos 5433 is an A57/A53 ARM SoC |website=[[AnandTech]] |url=https://www.anandtech.com/show/8537/samsungs-exynos-5433-is-an-a57a53-arm-soc |access-date=17 September 2014}}</ref> |
||
To both AArch32 and AArch64, Armv8-A makes VFPv3/v4 and advanced SIMD (Neon) standard. It also adds cryptography instructions supporting [[Advanced Encryption Standard|AES]], [[SHA-1]]/[[SHA-256]] and [[finite field arithmetic]].<ref>{{cite web |title=ARM Cortex-A53 MPCore Processor Technical Reference Manual: Cryptography Extension |url=http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0500e/CJHDEBAF.html |publisher=ARM |access-date=11 September 2016}}</ref> AArch64 was introduced in Armv8-A and its subsequent revision. AArch64 is not included in the 32-bit Armv8-R and Armv8-M architectures. |
To both AArch32 and AArch64, Armv8-A makes VFPv3/v4 and advanced SIMD (Neon) standard. It also adds cryptography instructions supporting [[Advanced Encryption Standard|AES]], [[SHA-1]]/[[SHA-256]] and [[finite field arithmetic]].<ref>{{cite web |title=ARM Cortex-A53 MPCore Processor Technical Reference Manual: Cryptography Extension |url=http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0500e/CJHDEBAF.html |publisher=ARM |access-date=11 September 2016}}</ref> AArch64 was introduced in Armv8-A and its subsequent revision. AArch64 is not included in the 32-bit Armv8-R and Armv8-M architectures. |
||
An ARMv8-A processor can support one or both of AArch32 and AArch64; it may support AArch32 and AArch64 at lower Exception levels and only AArch64 at higher Exception levels.<ref name="Execution-state-and-Exception-levels">{{cite web|url=https://developer.arm.com/documentation/102412/0103/Execution-and-Security-states/Impact-of-implemented-Exception-levels|title=Impact of implemented Exception levels|work=Learn the architecture - AArch64 Exception Model|publisher=Arm}}</ref> For example, the ARM Cortex-A32 supports only AArch32,<ref>{{cite web|url=https://developer.arm.com/Processors/Cortex-A32|title=Cortex-A32|website=Arm Developer}}</ref> the [[ARM Cortex-A34]] supports only AArch64,<ref>{{cite web|url=https://developer.arm.com/Processors/Cortex-A34|title=Cortex-A34|website=Arm Developer}}</ref> and the [[ARM Cortex-A72]] supports both AArch64 and AArch32.<ref>{{cite web|url=https://developer.arm.com/Processors/Cortex-A72|title=Cortex-A72|website=Arm Developer}}</ref> An ARMv9-A processor must support AArch64 at all Exception levels, and may support AArch32 at EL0.<ref name="Execution-state-and-Exception-levels" /> |
An ARMv8-A processor can support one or both of AArch32 and AArch64; it may support AArch32 and AArch64 at lower Exception levels and only AArch64 at higher Exception levels.<ref name="Execution-state-and-Exception-levels">{{cite web|url=https://developer.arm.com/documentation/102412/0103/Execution-and-Security-states/Impact-of-implemented-Exception-levels|title=Impact of implemented Exception levels|work=Learn the architecture - AArch64 Exception Model|publisher=Arm}}</ref> For example, the ARM Cortex-A32 supports only AArch32,<ref>{{cite web|url=https://developer.arm.com/Processors/Cortex-A32|title=Cortex-A32|website=Arm Developer}}</ref> the [[ARM Cortex-A34]] supports only AArch64,<ref>{{cite web|url=https://developer.arm.com/Processors/Cortex-A34|title=Cortex-A34|website=Arm Developer}}</ref> and the [[ARM Cortex-A72]] supports both AArch64 and AArch32.<ref>{{cite web|url=https://developer.arm.com/Processors/Cortex-A72|title=Cortex-A72|website=Arm Developer}}</ref> An ARMv9-A processor must support AArch64 at all Exception levels, and may support AArch32 at EL0.<ref name="Execution-state-and-Exception-levels" /> Some ARMv8-A processors, such as [[Apple M1]] and [[Apple A11]], do not support AArch32 applications at all. |
||
===={{anchor|ARM8-R}}Armv8-R==== |
===={{anchor|ARM8-R}}Armv8-R==== |
||
Line 691: | Line 705: | ||
===={{anchor|ARM9-A|Armv9-A}}Armv9-A==== |
===={{anchor|ARM9-A|Armv9-A}}Armv9-A==== |
||
Announced in March 2021, the updated architecture places a focus on secure execution and [[Compartmentalization (engineering)|compartmentalisation]].<ref>{{cite news |last=Frumusanu |first=Andrei |date=March 30, 2021 |url=https://www.anandtech.com/show/16584/arm-announces-armv9-architecture |title=Arm Announces Armv9 Architecture: SVE2, Security, and the Next Decade |website=[[AnandTech]]}}</ref><ref>{{cite press release |last=Harrod |first=Alex |date=March 30, 2021 |url=https://newsroom.arm.com/news/arms-solution-to-the-future-needs-of-ai-security-and-specialized-computing-is-v9 |title=Arm's Solution to the Future Needs of AI, Security and Specialized Computing is v9 |publisher=[[Arm |
Announced in March 2021, the updated architecture places a focus on secure execution and [[Compartmentalization (engineering)|compartmentalisation]].<ref>{{cite news |last=Frumusanu |first=Andrei |date=March 30, 2021 |url=https://www.anandtech.com/show/16584/arm-announces-armv9-architecture |title=Arm Announces Armv9 Architecture: SVE2, Security, and the Next Decade |website=[[AnandTech]]}}</ref><ref>{{cite press release |last=Harrod |first=Alex |date=March 30, 2021 |url=https://newsroom.arm.com/news/arms-solution-to-the-future-needs-of-ai-security-and-specialized-computing-is-v9 |title=Arm's Solution to the Future Needs of AI, Security and Specialized Computing is v9 |publisher=[[Arm Holdings]]}}</ref> |
||
==Arm SystemReady== |
==Arm SystemReady== |
||
⚫ | Arm SystemReady, formerly named Arm ServerReady, is a certification program that helps land the generic off-the-shelf operating systems and hypervisors on to the Arm-based systems from datacenter servers to industrial edge and IoT devices. The key building blocks of the program are the specifications for minimum hardware and firmware requirements that the operating systems and hypervisors can rely upon. These specifications are:<ref>{{cite web|url=https://www.arm.com/architecture/system-architectures/systemready-certification-program|title=SystemReady Compliance Program|website=Arm}}</ref> |
||
{{external|section|date=March 2023}} |
|||
⚫ | |||
* |
* Base System Architecture (BSA)<ref>{{cite web|url=https://developer.arm.com/documentation/den0094/latest|title=Arm Base System Architecture|website=Arm}}</ref> and the market segment specific supplements (e.g., Server BSA supplement)<ref>{{cite web|url=https://developer.arm.com/documentation/den0029/latest|title=Arm Server Base System Architecture|website=Arm}}</ref> |
||
* |
* Base Boot Requirements (BBR)<ref>{{cite web|url=https://developer.arm.com/documentation/den0044/latest|title=Arm Base Boot Requirements|website=Arm}}</ref> and Base Boot Security Requirements (BBR)<ref>{{cite web|url=https://developer.arm.com/documentation/den0107/latest|title=Base Boot Security Requirements|website=Arm}}</ref> |
||
These specifications are co-developed by [[Arm |
These specifications are co-developed by [[Arm Holdings|Arm]] and its partners in the System Architecture Advisory Committee (SystemArchAC). |
||
Architecture Compliance Suite (ACS) is the test tools that help to check the compliance of these specifications. The |
Architecture Compliance Suite (ACS) is the test tools that help to check the compliance of these specifications. The Arm SystemReady Requirements Specification documents the requirements of the certifications.<ref>{{cite web|url=https://developer.arm.com/documentation/den0109/latest|title=Arm SystemReady Requirements Specification|website=Arm}}</ref> |
||
This program was introduced by [[Arm |
This program was introduced by [[Arm Holdings|Arm]] in 2020 at the first [[ARM DevSummit|DevSummit]] event. Its predecessor Arm ServerReady was introduced in 2018 at the Arm TechCon event. This program currently includes four bands: |
||
* SystemReady SR: this band is for servers and workstations that support operating systems and hypervisors that expect [[UEFI]], [[ACPI]] and [[System Management BIOS|SMBIOS]] interfaces. {{clarify|date=May 2021 |reason=Something is missing in the sentence as "support" is a transitive verb and needs a complement. |text=Windows, Red Hat Enterprise Linux and VMware ESXi-Arm require these interfaces while other Linux and BSD distros can also support.}} |
* SystemReady SR: this band is for servers and workstations that support operating systems and hypervisors that expect [[UEFI]], [[ACPI]] and [[System Management BIOS|SMBIOS]] interfaces. {{clarify|date=May 2021 |reason=Something is missing in the sentence as "support" is a transitive verb and needs a complement. |text=Windows, Red Hat Enterprise Linux and VMware ESXi-Arm require these interfaces while other Linux and BSD distros can also support.}} |
||
Line 714: | Line 727: | ||
[[PSA Certified]], formerly named Platform Security Architecture, is an architecture-agnostic security framework and evaluation scheme. It is intended to help secure [[Internet of things]] (IoT) devices built on system-on-a-chip (SoC) processors.<ref>{{cite web |last1=Osborne |first1=Charlie |title=ARM announces PSA security architecture for IoT devices |url=https://www.zdnet.com/article/arm-announces-security-architecture-for-iot-devices/ |publisher=ZDNet}}</ref> It was introduced to increase security where a full [[trusted execution environment]] is too large or complex.<ref name="electronicdesign"/> |
[[PSA Certified]], formerly named Platform Security Architecture, is an architecture-agnostic security framework and evaluation scheme. It is intended to help secure [[Internet of things]] (IoT) devices built on system-on-a-chip (SoC) processors.<ref>{{cite web |last1=Osborne |first1=Charlie |title=ARM announces PSA security architecture for IoT devices |url=https://www.zdnet.com/article/arm-announces-security-architecture-for-iot-devices/ |publisher=ZDNet}}</ref> It was introduced to increase security where a full [[trusted execution environment]] is too large or complex.<ref name="electronicdesign"/> |
||
The architecture was introduced by [[Arm |
The architecture was introduced by [[Arm Holdings|Arm]] in 2017 at the annual [[ARM DevSummit|TechCon]] event.<ref name="electronicdesign">{{cite web |last1=Wong |first1=William |title=ARM's Platform Security Architecture Targets Cortex-M |url=https://www.electronicdesign.com/industrial-automation/arm-s-platform-security-architecture-targets-cortex-m |website=Electronic Design |date=Oct 25, 2017 |url-status=live |archive-url=https://web.archive.org/web/20190508142933/https://www.electronicdesign.com/industrial-automation/arm-s-platform-security-architecture-targets-cortex-m |archive-date= May 8, 2019 }}</ref><ref>{{cite web |last1=Hoffenberg |first1=Steve |title=ARM: Security Isn't Just a Technological Imperative, It's a Social Responsibility |url=https://www.vdcresearch.com/News-events/iot-blog/ARM-Security-Isnt-Just-a-Technological-Imperative-Its-a-Social-Responsibility.html |website=VDC Research |date=2017-10-31 |url-status=live |archive-url=https://web.archive.org/web/20230928112955/https://www.vdcresearch.com/News-events/iot-blog/Arm-Security-Isnt-Just-a-Technological-Imperative-Its-a-Social-Responsibility.html |archive-date= Sep 28, 2023 }}</ref> Although the scheme is architecture agnostic, it was first implemented on Arm Cortex-M processor cores intended for microcontroller use. PSA Certified includes freely available threat models and security analyses that demonstrate the process for deciding on security features in common IoT products.<ref>{{cite web |last1=Armasu |first1=Lucian |title=ARM Reveals More Details About Its IoT Platform Security Architecture |url=https://www.tomshardware.com/news/arm-iot-platform-security-architecture,36564.html |date=22 February 2018 |website=Tom's Hardware}}</ref> It also provides freely downloadable application programming interface (API) packages, architectural specifications, open-source firmware implementations, and related test suites.<ref>{{cite web |last1=Williams |first1=Chris |title=ARM PSA IoT API? BRB... Toolbox of tech to secure net-connected kit opens up some more |url=https://www.theregister.co.uk/2018/10/17/arm_psa_iot/ |website=The Register}}</ref> |
||
Following the development of the architecture security framework in 2017, the [[PSA Certified]] assurance scheme launched two years later at Embedded World in 2019.<ref name=electronicsweekly>{{cite web |last1=Hayes |first1=Caroline |title=Embedded World: Arm introduces fourth security element to PSA |url=https://www.electronicsweekly.com/market-sectors/internet-of-things/arm-introduces-fourth-security-element-psa-2019-02/ |publisher=[[Electronics Weekly]] |date=February 25, 2019}}</ref> PSA Certified offers a multi-level security evaluation scheme for chip vendors, OS providers and IoT device makers.<ref>{{cite web |url=https://www.psacertified.org/ |title=PSA Certified: building trust in IoT |website=PSA Certified}}</ref> The Embedded World presentation introduced chip vendors to Level 1 Certification. A draft of Level 2 protection was presented at the same time.<ref name=eetimes>{{cite web |title=PSA Certified–building trust, building value |url=https://www.eetimes.com/psa-certified-building-trust-building-value/ |publisher=[[EE Times]] |date=March 4, 2019}}</ref> Level 2 certification became a usable standard in February 2020.<ref>{{cite web |title=The $6trn importance of security standards and regulation in the IoT era |url=https://www.iot-now.com/2020/03/16/101805-6trn-importance-security-standards-regulation-iot-era/ |publisher=IoT Now |date=March 16, 2020}}</ref> |
Following the development of the architecture security framework in 2017, the [[PSA Certified]] assurance scheme launched two years later at Embedded World in 2019.<ref name=electronicsweekly>{{cite web |last1=Hayes |first1=Caroline |title=Embedded World: Arm introduces fourth security element to PSA |url=https://www.electronicsweekly.com/market-sectors/internet-of-things/arm-introduces-fourth-security-element-psa-2019-02/ |publisher=[[Electronics Weekly]] |date=February 25, 2019}}</ref> PSA Certified offers a multi-level security evaluation scheme for chip vendors, OS providers and IoT device makers.<ref>{{cite web |url=https://www.psacertified.org/ |title=PSA Certified: building trust in IoT |website=PSA Certified}}</ref> The Embedded World presentation introduced chip vendors to Level 1 Certification. A draft of Level 2 protection was presented at the same time.<ref name=eetimes>{{cite web |title=PSA Certified–building trust, building value |url=https://www.eetimes.com/psa-certified-building-trust-building-value/ |publisher=[[EE Times]] |date=March 4, 2019}}</ref> Level 2 certification became a usable standard in February 2020.<ref>{{cite web |title=The $6trn importance of security standards and regulation in the IoT era |url=https://www.iot-now.com/2020/03/16/101805-6trn-importance-security-standards-regulation-iot-era/ |publisher=IoT Now |date=March 16, 2020}}</ref> |
||
Line 784: | Line 797: | ||
Formerly, but now discontinued: |
Formerly, but now discontinued: |
||
{{Div col}} |
{{Div col}} |
||
* [[Bada]] |
* [[Bada (operating system)|Bada]] |
||
* [[BlackBerry OS]]/[[BlackBerry 10]] |
* [[BlackBerry OS]]/[[BlackBerry 10]] |
||
* [[Firefox OS]] |
* [[Firefox OS]] |
||
Line 827: | Line 840: | ||
* [[Android (operating system)|Android]] supports Armv8-A in [[Android Lollipop]] (5.0) and later. |
* [[Android (operating system)|Android]] supports Armv8-A in [[Android Lollipop]] (5.0) and later. |
||
* [[iOS]] supports Armv8-A in [[iOS 7]] and later on 64-bit [[Apple silicon|Apple SoC]]s. [[iOS 11]] and later, and [[iPadOS]], only support 64-bit ARM processors and applications. |
* [[iOS]] supports Armv8-A in [[iOS 7]] and later on 64-bit [[Apple silicon|Apple SoC]]s. [[iOS 11]] and later, and [[iPadOS]], only support 64-bit ARM processors and applications. |
||
* [[HarmonyOS NEXT]] was developed specifically for ARM processors, starting from its launch in 2024. |
|||
* [[Mobian]] |
* [[Mobian]] |
||
* [[PostmarketOS]] |
* [[PostmarketOS]] |
Latest revision as of 23:11, 16 November 2024
Designer | |
---|---|
Bits | 32-bit, 64-bit |
Introduced | 1985 |
Design | RISC |
Type | Load–store |
Branching | Condition code, compare and branch |
Open | Proprietary |
Introduced | 2011 |
---|---|
Version | ARMv8-R, ARMv8-A, ARMv8.1-A, ARMv8.2-A, ARMv8.3-A, ARMv8.4-A, ARMv8.5-A, ARMv8.6-A, ARMv8.7-A, ARMv8.8-A, ARMv8.9-A, ARMv9.0-A, ARMv9.1-A, ARMv9.2-A, ARMv9.3-A, ARMv9.4-A, ARMv9.5-A, ARMv9.6-A |
Encoding | AArch64/A64 and AArch32/A32 use 32-bit instructions, AArch32/T32 (Thumb-2) uses mixed 16- and 32-bit instructions[1] |
Endianness | Bi (little as default) |
Extensions | SVE, SVE2, SME, AES, SM3, SM4, SHA, CRC32, RNDR, TME; All mandatory: Thumb-2, Neon, VFPv4-D16, VFPv4; obsolete: Jazelle |
Registers | |
General-purpose | 31 × 64-bit integer registers[1] |
Floating point | 32 × 128-bit registers[1] for scalar 32- and 64-bit FP or SIMD FP or integer; or cryptography |
Version | ARMv9-R, ARMv9-M, ARMv8-R, ARMv8-M, ARMv7-A, ARMv7-R, ARMv7E-M, ARMv7-M, ARMv6-M |
---|---|
Encoding | 32-bit, except Thumb-2 extensions use mixed 16- and 32-bit instructions. |
Endianness | Bi (little as default) |
Extensions | Thumb-2, Neon, Jazelle, AES, SM3, SM4, SHA, CRC32, RNDR, DSP, Saturated, FPv4-SP, FPv5, Helium |
Registers | |
General-purpose | 15 × 32-bit integer registers, including R14 (link register), but not R15 (PC) |
Floating point | Up to 32 × 64-bit registers,[2] SIMD/floating-point (optional) |
Version | ARMv6, ARMv5, ARMv4T, ARMv3, ARMv2 |
---|---|
Encoding | 32-bit, except Thumb extension uses mixed 16- and 32-bit instructions. |
Endianness | Bi (little as default) in ARMv3 and above |
Extensions | Thumb, Jazelle |
Registers | |
General-purpose | 15 × 32-bit integer registers, including R14 (link register), but not R15 (PC, 26-bit addressing in older) |
Floating point | None |
ARM (stylised in lowercase as arm, formerly an acronym for Advanced RISC Machines and originally Acorn RISC Machine) is a family of RISC instruction set architectures (ISAs) for computer processors. Arm Holdings develops the ISAs and licenses them to other companies, who build the physical devices that use the instruction set. It also designs and licenses cores that implement these ISAs.
Due to their low costs, low power consumption, and low heat generation, ARM processors are useful for light, portable, battery-powered devices, including smartphones, laptops, and tablet computers, as well as embedded systems.[3][4][5] However, ARM processors are also used for desktops and servers, including Fugaku, the world's fastest supercomputer from 2020[6] to 2022. With over 230 billion ARM chips produced,[7][8] since at least 2003, and with its dominance increasing every year[update], ARM is the most widely used family of instruction set architectures.[9][4][10][11][12]
There have been several generations of the ARM design. The original ARM1 used a 32-bit internal structure but had a 26-bit address space that limited it to 64 MB of main memory. This limitation was removed in the ARMv3 series, which has a 32-bit address space, and several additional generations up to ARMv7 remained 32-bit. Released in 2011, the ARMv8-A architecture added support for a 64-bit address space and 64-bit arithmetic with its new 32-bit fixed-length instruction set.[13] Arm Holdings has also released a series of additional instruction sets for different rules; the "Thumb" extension adds both 32- and 16-bit instructions for improved code density, while Jazelle added instructions for directly handling Java bytecode. More recent changes include the addition of simultaneous multithreading (SMT) for improved performance or fault tolerance.[14]
History
[edit]BBC Micro
[edit]Acorn Computers' first widely successful design was the BBC Micro, introduced in December 1981. This was a relatively conventional machine based on the MOS Technology 6502 CPU but ran at roughly double the performance of competing designs like the Apple II due to its use of faster dynamic random-access memory (DRAM). Typical DRAM of the era ran at about 2 MHz; Acorn arranged a deal with Hitachi for a supply of faster 4 MHz parts.[15]
Machines of the era generally shared memory between the processor and the framebuffer, which allowed the processor to quickly update the contents of the screen without having to perform separate input/output (I/O). As the timing of the video display is exacting, the video hardware had to have priority access to that memory. Due to a quirk of the 6502's design, the CPU left the memory untouched for half of the time. Thus by running the CPU at 1 MHz, the video system could read data during those down times, taking up the total 2 MHz bandwidth of the RAM. In the BBC Micro, the use of 4 MHz RAM allowed the same technique to be used, but running at twice the speed. This allowed it to outperform any similar machine on the market.[16]
Acorn Business Computer
[edit]1981 was also the year that the IBM Personal Computer was introduced. Using the recently introduced Intel 8088, a 16-bit CPU compared to the 6502's 8-bit design, it offered higher overall performance. Its introduction changed the desktop computer market radically: what had been largely a hobby and gaming market emerging over the prior five years began to change to a must-have business tool where the earlier 8-bit designs simply could not compete. Even newer 32-bit designs were also coming to market, such as the Motorola 68000[17] and National Semiconductor NS32016.[18]
Acorn began considering how to compete in this market and produced a new paper design named the Acorn Business Computer. They set themselves the goal of producing a machine with ten times the performance of the BBC Micro, but at the same price.[19] This would outperform and underprice the PC. At the same time, the recent introduction of the Apple Lisa brought the graphical user interface (GUI) concept to a wider audience and suggested the future belonged to machines with a GUI.[20] The Lisa, however, cost $9,995, as it was packed with support chips, large amounts of memory, and a hard disk drive, all very expensive then.[21]
The engineers then began studying all of the CPU designs available. Their conclusion about the existing 16-bit designs was that they were a lot more expensive and were still "a bit crap",[22] offering only slightly higher performance than their BBC Micro design. They also almost always demanded a large number of support chips to operate even at that level, which drove up the cost of the computer as a whole. These systems would simply not hit the design goal.[22] They also considered the new 32-bit designs, but these cost even more and had the same issues with support chips.[23] According to Sophie Wilson, all the processors tested at that time performed about the same, with about a 4 Mbit/s bandwidth.[24][a]
Two key events led Acorn down the path to ARM. One was the publication of a series of reports from the University of California, Berkeley, which suggested that a simple chip design could nevertheless have extremely high performance, much higher than the latest 32-bit designs on the market.[25] The second was a visit by Steve Furber and Sophie Wilson to the Western Design Center, a company run by Bill Mensch and his sister, which had become the logical successor to the MOS team and was offering new versions like the WDC 65C02. The Acorn team saw high school students producing chip layouts on Apple II machines, which suggested that anyone could do it.[26][27] In contrast, a visit to another design firm working on modern 32-bit CPU revealed a team with over a dozen members who were already on revision H of their design and yet it still contained bugs.[b] This cemented their late 1983 decision to begin their own CPU design, the Acorn RISC Machine.[28]
Design concepts
[edit]The original Berkeley RISC designs were in some sense teaching systems, not designed specifically for outright performance. To the RISC's basic register-heavy and load/store concepts, ARM added a number of the well-received design notes of the 6502. Primary among them was the ability to quickly serve interrupts, which allowed the machines to offer reasonable input/output performance with no added external hardware. To offer interrupts with similar performance as the 6502, the ARM design limited its physical address space to 64 MB of total addressable space, requiring 26 bits of address. As instructions were 4 bytes (32 bits) long, and required to be aligned on 4-byte boundaries, the lower 2 bits of an instruction address were always zero. This meant the program counter (PC) only needed to be 24 bits, allowing it to be stored along with the eight bit processor flags in a single 32-bit register. That meant that upon receiving an interrupt, the entire machine state could be saved in a single operation, whereas had the PC been a full 32-bit value, it would require separate operations to store the PC and the status flags. This decision halved the interrupt overhead.[29]
Another change, and among the most important in terms of practical real-world performance, was the modification of the instruction set to take advantage of page mode DRAM. Recently introduced, page mode allowed subsequent accesses of memory to run twice as fast if they were roughly in the same location, or "page", in the DRAM chip. Berkeley's design did not consider page mode and treated all memory equally. The ARM design added special vector-like memory access instructions, the "S-cycles", that could be used to fill or save multiple registers in a single page using page mode. This doubled memory performance when they could be used, and was especially important for graphics performance.[30]
The Berkeley RISC designs used register windows to reduce the number of register saves and restores performed in procedure calls; the ARM design did not adopt this.
Wilson developed the instruction set, writing a simulation of the processor in BBC BASIC that ran on a BBC Micro with a second 6502 processor.[31][32] This convinced Acorn engineers they were on the right track. Wilson approached Acorn's CEO, Hermann Hauser, and requested more resources. Hauser gave his approval and assembled a small team to design the actual processor based on Wilson's ISA.[33] The official Acorn RISC Machine project started in October 1983.
ARM1
[edit]Acorn chose VLSI Technology as the "silicon partner", as they were a source of ROMs and custom chips for Acorn. Acorn provided the design and VLSI provided the layout and production. The first samples of ARM silicon worked properly when first received and tested on 26 April 1985.[3] Known as ARM1, these versions ran at 6 MHz.[34]
The first ARM application was as a second processor for the BBC Micro, where it helped in developing simulation software to finish development of the support chips (VIDC, IOC, MEMC), and sped up the CAD software used in ARM2 development. Wilson subsequently rewrote BBC BASIC in ARM assembly language. The in-depth knowledge gained from designing the instruction set enabled the code to be very dense, making ARM BBC BASIC an extremely good test for any ARM emulator.
ARM2
[edit]The result of the simulations on the ARM1 boards led to the late 1986 introduction of the ARM2 design running at 8 MHz, and the early 1987 speed-bumped version at 10 to 12 MHz.[c] A significant change in the underlying architecture was the addition of a Booth multiplier, whereas formerly multiplication had to be carried out in software.[36] Further, a new Fast Interrupt reQuest mode, FIQ for short, allowed registers 8 through 14 to be replaced as part of the interrupt itself. This meant FIQ requests did not have to save out their registers, further speeding interrupts.[37]
The first use of the ARM2 was the Acorn Archimedes personal computer models A305, A310, and A440 launched in 1987.
According to the Dhrystone benchmark, the ARM2 was roughly seven times the performance of a typical 7 MHz 68000-based system like the Amiga or Macintosh SE. It was twice as fast as an Intel 80386 running at 16 MHz, and about the same speed as a multi-processor VAX-11/784 superminicomputer. The only systems that beat it were the Sun SPARC and MIPS R2000 RISC-based workstations.[38] Further, as the CPU was designed for high-speed I/O, it dispensed with many of the support chips seen in these machines; notably, it lacked any dedicated direct memory access (DMA) controller which was often found on workstations. The graphics system was also simplified based on the same set of underlying assumptions about memory and timing. The result was a dramatically simplified design, offering performance on par with expensive workstations but at a price point similar to contemporary desktops.[38]
The ARM2 featured a 32-bit data bus, 26-bit address space and 27 32-bit registers, of which 16 are accessible at any one time (including the PC).[39] The ARM2 had a transistor count of just 30,000,[40] compared to Motorola's six-year-older 68000 model with around 68,000. Much of this simplicity came from the lack of microcode, which represents about one-quarter to one-third of the 68000's transistors, and the lack of (like most CPUs of the day) a cache. This simplicity enabled the ARM2 to have a low power consumption and simpler thermal packaging by having fewer powered transistors. Nevertheless, ARM2 offered better performance than the contemporary 1987 IBM PS/2 Model 50, which initially utilised an Intel 80286, offering 1.8 MIPS @ 10 MHz, and later in 1987, the 2 MIPS of the PS/2 70, with its Intel 386 DX @ 16 MHz.[41][42]
A successor, ARM3, was produced with a 4 KB cache, which further improved performance.[43] The address bus was extended to 32 bits in the ARM6, but program code still had to lie within the first 64 MB of memory in 26-bit compatibility mode, due to the reserved bits for the status flags.[44]
Advanced RISC Machines Ltd. – ARM6
[edit]In the late 1980s, Apple Computer and VLSI Technology started working with Acorn on newer versions of the ARM core. In 1990, Acorn spun off the design team into a new company named Advanced RISC Machines Ltd.,[45][46][47] which became ARM Ltd. when its parent company, Arm Holdings plc, floated on the London Stock Exchange and Nasdaq in 1998.[48] The new Apple–ARM work would eventually evolve into the ARM6, first released in early 1992. Apple used the ARM6-based ARM610 as the basis for their Apple Newton PDA.
Early licensees
[edit]In 1994, Acorn used the ARM610 as the main central processing unit (CPU) in their RiscPC computers. DEC licensed the ARMv4 architecture and produced the StrongARM.[49] At 233 MHz, this CPU drew only one watt (newer versions draw far less). This work was later passed to Intel as part of a lawsuit settlement, and Intel took the opportunity to supplement their i960 line with the StrongARM. Intel later developed its own high performance implementation named XScale, which it has since sold to Marvell. Transistor count of the ARM core remained essentially the same throughout these changes; ARM2 had 30,000 transistors,[50] while ARM6 grew only to 35,000.[51]
Market share
[edit]In 2005, about 98% of all mobile phones sold used at least one ARM processor.[52] In 2010, producers of chips based on ARM architectures reported shipments of 6.1 billion ARM-based processors, representing 95% of smartphones, 35% of digital televisions and set-top boxes, and 10% of mobile computers. In 2011, the 32-bit ARM architecture was the most widely used architecture in mobile devices and the most popular 32-bit one in embedded systems.[53] In 2013, 10 billion were produced[54] and "ARM-based chips are found in nearly 60 percent of the world's mobile devices".[55]
Licensing
[edit]Core licence
[edit]Arm Holdings's primary business is selling IP cores, which licensees use to create microcontrollers (MCUs), CPUs, and systems-on-chips based on those cores. The original design manufacturer combines the ARM core with other parts to produce a complete device, typically one that can be built in existing semiconductor fabrication plants (fabs) at low cost and still deliver substantial performance. The most successful implementation has been the ARM7TDMI with hundreds of millions sold. Atmel has been a precursor design center in the ARM7TDMI-based embedded system.
The ARM architectures used in smartphones, PDAs and other mobile devices range from ARMv5 to ARMv8-A.
In 2009, some manufacturers introduced netbooks based on ARM architecture CPUs, in direct competition with netbooks based on Intel Atom.[56]
Arm Holdings offers a variety of licensing terms, varying in cost and deliverables. Arm Holdings provides to all licensees an integratable hardware description of the ARM core as well as complete software development toolset (compiler, debugger, software development kit), and the right to sell manufactured silicon containing the ARM CPU.
SoC packages integrating ARM's core designs include Nvidia Tegra's first three generations, CSR plc's Quatro family, ST-Ericsson's Nova and NovaThor, Silicon Labs's Precision32 MCU, Texas Instruments's OMAP products, Samsung's Hummingbird and Exynos products, Apple's A4, A5, and A5X, and NXP's i.MX.
Fabless licensees, who wish to integrate an ARM core into their own chip design, are usually only interested in acquiring a ready-to-manufacture verified semiconductor intellectual property core. For these customers, Arm Holdings delivers a gate netlist description of the chosen ARM core, along with an abstracted simulation model and test programs to aid design integration and verification. More ambitious customers, including integrated device manufacturers (IDM) and foundry operators, choose to acquire the processor IP in synthesizable RTL (Verilog) form. With the synthesizable RTL, the customer has the ability to perform architectural level optimisations and extensions. This allows the designer to achieve exotic design goals not otherwise possible with an unmodified netlist (high clock speed, very low power consumption, instruction set extensions, etc.). While Arm Holdings does not grant the licensee the right to resell the ARM architecture itself, licensees may freely sell manufactured products such as chip devices, evaluation boards and complete systems. Merchant foundries can be a special case; not only are they allowed to sell finished silicon containing ARM cores, they generally hold the right to re-manufacture ARM cores for other customers.
Arm Holdings prices its IP based on perceived value. Lower performing ARM cores typically have lower licence costs than higher performing cores. In implementation terms, a synthesisable core costs more than a hard macro (blackbox) core. Complicating price matters, a merchant foundry that holds an ARM licence, such as Samsung or Fujitsu, can offer fab customers reduced licensing costs. In exchange for acquiring the ARM core through the foundry's in-house design services, the customer can reduce or eliminate payment of ARM's upfront licence fee.
Compared to dedicated semiconductor foundries (such as TSMC and UMC) without in-house design services, Fujitsu/Samsung charge two- to three-times more per manufactured wafer.[citation needed] For low to mid volume applications, a design service foundry offers lower overall pricing (through subsidisation of the licence fee). For high volume mass-produced parts, the long term cost reduction achievable through lower wafer pricing reduces the impact of ARM's NRE (non-recurring engineering) costs, making the dedicated foundry a better choice.
Companies that have developed chips with cores designed by Arm include Amazon.com's Annapurna Labs subsidiary,[57] Analog Devices, Apple, AppliedMicro (now: MACOM Technology Solutions[58]), Atmel, Broadcom, Cavium, Cypress Semiconductor, Freescale Semiconductor (now NXP Semiconductors), Huawei, Intel,[dubious – discuss] Maxim Integrated, Nvidia, NXP, Qualcomm, Renesas, Samsung Electronics, ST Microelectronics, Texas Instruments, and Xilinx.
Built on ARM Cortex Technology licence
[edit]In February 2016, ARM announced the Built on ARM Cortex Technology licence, often shortened to Built on Cortex (BoC) licence. This licence allows companies to partner with ARM and make modifications to ARM Cortex designs. These design modifications will not be shared with other companies. These semi-custom core designs also have brand freedom, for example Kryo 280.
Companies that are current licensees of Built on ARM Cortex Technology include Qualcomm.[59]
Architectural licence
[edit]Companies can also obtain an ARM architectural licence for designing their own CPU cores using the ARM instruction sets. These cores must comply fully with the ARM architecture. Companies that have designed cores that implement an ARM architecture include Apple, AppliedMicro (now: Ampere Computing), Broadcom, Cavium (now: Marvell), Digital Equipment Corporation, Intel, Nvidia, Qualcomm, Samsung Electronics, Fujitsu, and NUVIA Inc. (acquired by Qualcomm in 2021).
ARM Flexible Access
[edit]On 16 July 2019, ARM announced ARM Flexible Access. ARM Flexible Access provides unlimited access to included ARM intellectual property (IP) for development. Per product licence fees are required once a customer reaches foundry tapeout or prototyping.[60][61]
75% of ARM's most recent IP over the last two years are included in ARM Flexible Access. As of October 2019:
- CPUs: Cortex-A5, Cortex-A7, Cortex-A32, Cortex-A34, Cortex-A35, Cortex-A53, Cortex-R5, Cortex-R8, Cortex-R52, Cortex-M0, Cortex-M0+, Cortex-M3, Cortex-M4, Cortex-M7, Cortex-M23, Cortex-M33
- GPUs: Mali-G52, Mali-G31. Includes Mali Driver Development Kits (DDK).
- Interconnect: CoreLink NIC-400, CoreLink NIC-450, CoreLink CCI-400, CoreLink CCI-500, CoreLink CCI-550, ADB-400 AMBA, XHB-400 AXI-AHB
- System Controllers: CoreLink GIC-400, CoreLink GIC-500, PL192 VIC, BP141 TrustZone Memory Wrapper, CoreLink TZC-400, CoreLink L2C-310, CoreLink MMU-500, BP140 Memory Interface
- Security IP: CryptoCell-312, CryptoCell-712, TrustZone True Random Number Generator
- Peripheral Controllers: PL011 UART, PL022 SPI, PL031 RTC
- Debug & Trace: CoreSight SoC-400, CoreSight SDC-600, CoreSight STM-500, CoreSight System Trace Macrocell, CoreSight Trace Memory Controller
- Design Kits: Corstone-101, Corstone-201
- Physical IP: Artisan PIK for Cortex-M33 TSMC 22ULL including memory compilers, logic libraries, GPIOs and documentation
- Tools & Materials: Socrates IP ToolingARM Design Studio, Virtual System Models
- Support: Standard ARM Technical support, ARM online training, maintenance updates, credits toward onsite training and design reviews
Cores
[edit]Architecture | Core bit-width |
Cores | Profile | Refe- rences | |
---|---|---|---|---|---|
Arm Ltd. | Third-party | ||||
ARMv1 |
ARM1 | Classic |
|||
ARMv2 |
32 |
ARM2, ARM250, ARM3 | Amber, STORM Open Soft Core[62] | Classic |
|
ARMv3 |
32 |
ARM6, ARM7 | Classic |
||
ARMv4 |
32 |
ARM8 | StrongARM, FA526, ZAP Open Source Processor Core | Classic |
|
ARMv4T |
32 |
ARM7TDMI, ARM9TDMI, SecurCore SC100 | Classic |
||
ARMv5TE |
32 |
ARM7EJ, ARM9E, ARM10E | XScale, FA626TE, Feroceon, PJ1/Mohawk | Classic |
|
ARMv6 |
32 |
ARM11 | Classic |
||
ARMv6-M |
32 |
ARM Cortex-M0, ARM Cortex-M0+, ARM Cortex-M1, SecurCore SC000 | |||
ARMv7-M |
32 |
ARM Cortex-M3, SecurCore SC300 | Apple M7 motion coprocessor | Microcontroller |
|
ARMv7E-M |
32 |
ARM Cortex-M4, ARM Cortex-M7 | Microcontroller |
||
ARMv8-M |
32 |
ARM Cortex-M23,[64] ARM Cortex-M33[65] | Microcontroller |
||
ARMv8.1-M
|
32
|
ARM Cortex-M55, ARM Cortex-M85 | Microcontroller
|
||
ARMv7-R |
32 |
ARM Cortex-R4, ARM Cortex-R5, ARM Cortex-R7, ARM Cortex-R8 | |||
ARMv8-R |
32 |
ARM Cortex-R52 | Real-time |
||
64
|
ARM Cortex-R82 | Real-time
|
|||
ARMv7-A |
32 |
ARM Cortex-A5, ARM Cortex-A7, ARM Cortex-A8, ARM Cortex-A9, ARM Cortex-A12, ARM Cortex-A15, ARM Cortex-A17 | Qualcomm Scorpion/Krait, PJ4/Sheeva, Apple Swift (A6, A6X) | ||
ARMv8-A |
32 |
ARM Cortex-A32[71] | Application |
||
64/32 |
ARM Cortex-A35,[72] ARM Cortex-A53, ARM Cortex-A57,[73] ARM Cortex-A72,[74] ARM Cortex-A73[75] | X-Gene, Nvidia Denver 1/2, Cavium ThunderX, AMD K12, Apple Cyclone (A7)/Typhoon (A8, A8X)/Twister (A9, A9X)/Hurricane+Zephyr (A10, A10X), Qualcomm Kryo, Samsung M1/M2 ("Mongoose") /M3 ("Meerkat") | Application |
||
ARM Cortex-A34[81] | Application
|
||||
ARMv8.1-A |
64/32 |
TBA | Cavium ThunderX2 | Application |
|
ARMv8.2-A |
64/32 |
ARM Cortex-A55,[83] ARM Cortex-A75,[84] ARM Cortex-A76,[85] ARM Cortex-A77, ARM Cortex-A78, ARM Cortex-X1, ARM Neoverse N1 | Nvidia Carmel, Samsung M4 ("Cheetah"), Fujitsu A64FX (ARMv8 SVE 512-bit) | Application |
|
64 |
ARM Cortex-A65, ARM Neoverse E1 with simultaneous multithreading (SMT), ARM Cortex-A65AE[89] (also having e.g. ARMv8.4 Dot Product; made for safety critical tasks such as advanced driver-assistance systems (ADAS)) | Apple Monsoon+Mistral (A11) (September 2017) | Application |
||
ARMv8.3-A
|
64/32 |
TBA | Application
|
||
64 |
TBA | Apple Vortex+Tempest (A12, A12X, A12Z), Marvell ThunderX3 (v8.3+)[90] | Application |
||
ARMv8.4-A |
64/32 |
TBA | Application |
||
64 |
ARM Neoverse V1 | Apple Lightning+Thunder (A13), Apple Firestorm+Icestorm (A14, M1) | Application |
||
ARMv8.5-A
|
64/32 |
TBA | Application
|
||
64 |
TBA | Application
|
|||
ARMv8.6-A
|
64 |
TBA | Apple Avalanche+Blizzard (A15, M2), Apple Everest+Sawtooth (A16)[91] | Application
|
|
ARMv8.7-A
|
64 |
TBA | Application
|
||
ARMv8.8-A
|
64
|
TBA | Application
|
||
ARMv8.9-A
|
64
|
TBA | Application
|
||
ARMv9.0-A
|
64
|
ARM Cortex-A510, ARM Cortex-A710, ARM Cortex-A715, ARM Cortex-X2, ARM Cortex-X3, ARM Neoverse E2, ARM Neoverse N2, ARM Neoverse V2 | Application
|
||
ARMv9.1-A
|
64
|
TBA | Application
|
||
ARMv9.2-A
|
64
|
ARM Cortex-A520, ARM Cortex-A720, ARM Cortex-X4, ARM Neoverse V3,[95] ARM Cortex-X925[96] | Apple M4[97] | Application
|
|
ARMv9.3-A
|
64
|
TBA | Application
|
||
ARMv9.4-A
|
64
|
TBA | Application
|
||
ARMv9.5-A
|
64
|
TBA | Application
|
||
ARMv9.6-A
|
64
|
TBA | Application
|
- ^ a b Although most datapaths and CPU registers in the early ARM processors were 32-bit, addressable memory was limited to 26 bits; with upper bits, then, used for status flags in the program counter register.
- ^ a b c ARMv3 included a compatibility mode to support the 26-bit addresses of earlier versions of the architecture. This compatibility mode optional in ARMv4, and removed entirely in ARMv5.
Arm provides a list of vendors who implement ARM cores in their design (application specific standard products (ASSP), microprocessor and microcontrollers).[102]
Example applications of ARM cores
[edit]ARM cores are used in a number of products, particularly PDAs and smartphones. Some computing examples are Microsoft's first generation Surface, Surface 2 and Pocket PC devices (following 2002), Apple's iPads, and Asus's Eee Pad Transformer tablet computers, and several Chromebook laptops. Others include Apple's iPhone smartphones and iPod portable media players, Canon PowerShot digital cameras, Nintendo Switch hybrid, the Wii security processor and 3DS handheld game consoles, and TomTom turn-by-turn navigation systems.
In 2005, Arm took part in the development of Manchester University's computer SpiNNaker, which used ARM cores to simulate the human brain.[103]
ARM chips are also used in Raspberry Pi, BeagleBoard, BeagleBone, PandaBoard, and other single-board computers, because they are very small, inexpensive, and consume very little power.
32-bit architecture
[edit]The 32-bit ARM architecture (ARM32), such as ARMv7-A (implementing AArch32; see section on Armv8-A for more on it), was the most widely used architecture in mobile devices as of 2011[update].[53]
Since 1995, various versions of the ARM Architecture Reference Manual (see § External links) have been the primary source of documentation on the ARM processor architecture and instruction set, distinguishing interfaces that all ARM processors are required to support (such as instruction semantics) from implementation details that may vary. The architecture has evolved over time, and version seven of the architecture, ARMv7, defines three architecture "profiles":
- A-profile, the "Application" profile, implemented by 32-bit cores in the Cortex-A series and by some non-ARM cores
- R-profile, the "Real-time" profile, implemented by cores in the Cortex-R series
- M-profile, the "Microcontroller" profile, implemented by most cores in the Cortex-M series
Although the architecture profiles were first defined for ARMv7, ARM subsequently defined the ARMv6-M architecture (used by the Cortex M0/M0+/M1) as a subset of the ARMv7-M profile with fewer instructions.
CPU modes
[edit]Except in the M-profile, the 32-bit ARM architecture specifies several CPU modes, depending on the implemented architecture features. At any moment in time, the CPU can be in only one mode, but it can switch modes due to external events (interrupts) or programmatically.[104]
- User mode: The only non-privileged mode.
- FIQ mode: A privileged mode that is entered whenever the processor accepts a fast interrupt request.
- IRQ mode: A privileged mode that is entered whenever the processor accepts an interrupt.
- Supervisor (svc) mode: A privileged mode entered whenever the CPU is reset or when an SVC instruction is executed.
- Abort mode: A privileged mode that is entered whenever a prefetch abort or data abort exception occurs.
- Undefined mode: A privileged mode that is entered whenever an undefined instruction exception occurs.
- System mode (ARMv4 and above): The only privileged mode that is not entered by an exception. It can only be entered by executing an instruction that explicitly writes to the mode bits of the Current Program Status Register (CPSR) from another privileged mode (not from user mode).
- Monitor mode (ARMv6 and ARMv7 Security Extensions, ARMv8 EL3): A monitor mode is introduced to support TrustZone extension in ARM cores.
- Hyp mode (ARMv7 Virtualization Extensions, ARMv8 EL2): A hypervisor mode that supports Popek and Goldberg virtualization requirements for the non-secure operation of the CPU.[105][106]
- Thread mode (ARMv6-M, ARMv7-M, ARMv8-M): A mode which can be specified as either privileged or unprivileged. Whether the Main Stack Pointer (MSP) or Process Stack Pointer (PSP) is used can also be specified in CONTROL register with privileged access. This mode is designed for user tasks in RTOS environment but it is typically used in bare-metal for super-loop.
- Handler mode (ARMv6-M, ARMv7-M, ARMv8-M): A mode dedicated for exception handling (except the RESET which are handled in Thread mode). Handler mode always uses MSP and works in privileged level.
Instruction set
[edit]The original (and subsequent) ARM implementation was hardwired without microcode, like the much simpler 8-bit 6502 processor used in prior Acorn microcomputers.
The 32-bit ARM architecture (and the 64-bit architecture for the most part) includes the following RISC features:
- Load–store architecture.
- No support for unaligned memory accesses in the original version of the architecture. ARMv6 and later, except some microcontroller versions, support unaligned accesses for half-word and single-word load/store instructions with some limitations, such as no guaranteed atomicity.[107][108]
- Uniform 16 × 32-bit register file (including the program counter, stack pointer and the link register).
- Fixed instruction width of 32 bits to ease decoding and pipelining, at the cost of decreased code density. Later, the Thumb instruction set added 16-bit instructions and increased code density.
- Mostly single clock-cycle execution.
To compensate for the simpler design, compared with processors like the Intel 80286 and Motorola 68020, some additional design features were used:
- Conditional execution of most instructions reduces branch overhead and compensates for the lack of a branch predictor in early chips.
- Arithmetic instructions alter condition codes only when desired.
- 32-bit barrel shifter can be used without performance penalty with most arithmetic instructions and address calculations.
- Has powerful indexed addressing modes.
- A link register supports fast leaf function calls.
- A simple, but fast, 2-priority-level interrupt subsystem has switched register banks.
Arithmetic instructions
[edit]ARM includes integer arithmetic operations for add, subtract, and multiply; some versions of the architecture also support divide operations.
ARM supports 32-bit × 32-bit multiplies with either a 32-bit result or 64-bit result, though Cortex-M0 / M0+ / M1 cores do not support 64-bit results.[109] Some ARM cores also support 16-bit × 16-bit and 32-bit × 16-bit multiplies.
The divide instructions are only included in the following ARM architectures:
- Armv7-M and Armv7E-M architectures always include divide instructions.[110]
- Armv7-R architecture always includes divide instructions in the Thumb instruction set, but optionally in its 32-bit instruction set.[111]
- Armv7-A architecture optionally includes the divide instructions. The instructions might not be implemented, or implemented only in the Thumb instruction set, or implemented in both the Thumb and ARM instruction sets, or implemented if the Virtualization Extensions are included.[111]
Registers
[edit]usr | sys | svc | abt | und | irq | fiq |
---|---|---|---|---|---|---|
R0 | ||||||
R1 | ||||||
R2 | ||||||
R3 | ||||||
R4 | ||||||
R5 | ||||||
R6 | ||||||
R7 | ||||||
R8 | R8_fiq | |||||
R9 | R9_fiq | |||||
R10 | R10_fiq | |||||
R11 | R11_fiq | |||||
R12 | R12_fiq | |||||
R13 | R13_svc | R13_abt | R13_und | R13_irq | R13_fiq | |
R14 | R14_svc | R14_abt | R14_und | R14_irq | R14_fiq | |
R15 | ||||||
CPSR | ||||||
SPSR_svc | SPSR_abt | SPSR_und | SPSR_irq | SPSR_fiq |
Registers R0 through R7 are the same across all CPU modes; they are never banked.
Registers R8 through R12 are the same across all CPU modes except FIQ mode. FIQ mode has its own distinct R8 through R12 registers.
R13 and R14 are banked across all privileged CPU modes except system mode. That is, each mode that can be entered because of an exception has its own R13 and R14. These registers generally contain the stack pointer and the return address from function calls, respectively.
Aliases:
- R13 is also referred to as SP, the stack pointer.
- R14 is also referred to as LR, the link register.
- R15 is also referred to as PC, the program counter.
The Current Program Status Register (CPSR) has the following 32 bits.[112]
- M (bits 0–4) is the processor mode bits.
- T (bit 5) is the Thumb state bit.
- F (bit 6) is the FIQ disable bit.
- I (bit 7) is the IRQ disable bit.
- A (bit 8) is the imprecise data abort disable bit.
- E (bit 9) is the data endianness bit.
- IT (bits 10–15 and 25–26) is the if-then state bits.
- GE (bits 16–19) is the greater-than-or-equal-to bits.
- DNM (bits 20–23) is the do not modify bits.
- J (bit 24) is the Java state bit.
- Q (bit 27) is the sticky overflow bit.
- V (bit 28) is the overflow bit.
- C (bit 29) is the carry/borrow/extend bit.
- Z (bit 30) is the zero bit.
- N (bit 31) is the negative/less than bit.
Conditional execution
[edit]Almost every ARM instruction has a conditional execution feature called predication, which is implemented with a 4-bit condition code selector (the predicate). To allow for unconditional execution, one of the four-bit codes causes the instruction to be always executed. Most other CPU architectures only have condition codes on branch instructions.[113]
Though the predicate takes up four of the 32 bits in an instruction code, and thus cuts down significantly on the encoding bits available for displacements in memory access instructions, it avoids branch instructions when generating code for small if
statements. Apart from eliminating the branch instructions themselves, this preserves the fetch/decode/execute pipeline at the cost of only one cycle per skipped instruction.
An algorithm that provides a good example of conditional execution is the subtraction-based Euclidean algorithm for computing the greatest common divisor. In the C programming language, the algorithm can be written as:
int gcd(int a, int b) {
while (a != b) // We enter the loop when a < b or a > b, but not when a == b
if (a > b) // When a > b we do this
a -= b;
else // When a < b we do that (no "if (a < b)" needed since a != b is checked in while condition)
b -= a;
return a;
}
The same algorithm can be rewritten in a way closer to target ARM instructions as:
loop:
// Compare a and b
GT = a > b;
LT = a < b;
NE = a != b;
// Perform operations based on flag results
if (GT) a -= b; // Subtract *only* if greater-than
if (LT) b -= a; // Subtract *only* if less-than
if (NE) goto loop; // Loop *only* if compared values were not equal
return a;
and coded in assembly language as:
; assign a to register r0, b to r1
loop: CMP r0, r1 ; set condition "NE" if (a ≠ b),
; "GT" if (a > b),
; or "LT" if (a < b)
SUBGT r0, r0, r1 ; if "GT" (Greater Than), then a = a − b
SUBLT r1, r1, r0 ; if "LT" (Less Than), then b = b − a
BNE loop ; if "NE" (Not Equal), then loop
B lr ; return
which avoids the branches around the then
and else
clauses. If r0
and r1
are equal then neither of the SUB
instructions will be executed, eliminating the need for a conditional branch to implement the while
check at the top of the loop, for example had SUBLE
(less than or equal) been used.
One of the ways that Thumb code provides a more dense encoding is to remove the four-bit selector from non-branch instructions.
Other features
[edit]Another feature of the instruction set is the ability to fold shifts and rotates into the data processing (arithmetic, logical, and register-register move) instructions, so that, for example, the statement in C language:
a += (j << 2);
could be rendered as a one-word, one-cycle instruction:[114]
ADD Ra, Ra, Rj, LSL #2
This results in the typical ARM program being denser than expected with fewer memory accesses; thus the pipeline is used more efficiently.
The ARM processor also has features rarely seen in other RISC architectures, such as PC-relative addressing (indeed, on the 32-bit[1] ARM the PC is one of its 16 registers) and pre- and post-increment addressing modes.
The ARM instruction set has increased over time. Some early ARM processors (before ARM7TDMI), for example, have no instruction to store a two-byte quantity.
Pipelines and other implementation issues
[edit]The ARM7 and earlier implementations have a three-stage pipeline; the stages being fetch, decode, and execute. Higher-performance designs, such as the ARM9, have deeper pipelines: Cortex-A8 has thirteen stages. Additional implementation changes for higher performance include a faster adder and more extensive branch prediction logic. The difference between the ARM7DI and ARM7DMI cores, for example, was an improved multiplier; hence the added "M".
Coprocessors
[edit]The ARM architecture (pre-Armv8) provides a non-intrusive way of extending the instruction set using "coprocessors" that can be addressed using MCR, MRC, MRRC, MCRR, and similar instructions. The coprocessor space is divided logically into 16 coprocessors with numbers from 0 to 15, coprocessor 15 (cp15) being reserved for some typical control functions like managing the caches and MMU operation on processors that have one.
In ARM-based machines, peripheral devices are usually attached to the processor by mapping their physical registers into ARM memory space, into the coprocessor space, or by connecting to another device (a bus) that in turn attaches to the processor. Coprocessor accesses have lower latency, so some peripherals—for example, an XScale interrupt controller—are accessible in both ways: through memory and through coprocessors.
In other cases, chip designers only integrate hardware using the coprocessor mechanism. For example, an image processing engine might be a small ARM7TDMI core combined with a coprocessor that has specialised operations to support a specific set of HDTV transcoding primitives.
Debugging
[edit]This section needs additional citations for verification. (March 2011) |
All modern ARM processors include hardware debugging facilities, allowing software debuggers to perform operations such as halting, stepping, and breakpointing of code starting from reset. These facilities are built using JTAG support, though some newer cores optionally support ARM's own two-wire "SWD" protocol. In ARM7TDMI cores, the "D" represented JTAG debug support, and the "I" represented presence of an "EmbeddedICE" debug module. For ARM7 and ARM9 core generations, EmbeddedICE over JTAG was a de facto debug standard, though not architecturally guaranteed.
The ARMv7 architecture defines basic debug facilities at an architectural level. These include breakpoints, watchpoints and instruction execution in a "Debug Mode"; similar facilities were also available with EmbeddedICE. Both "halt mode" and "monitor" mode debugging are supported. The actual transport mechanism used to access the debug facilities is not architecturally specified, but implementations generally include JTAG support.
There is a separate ARM "CoreSight" debug architecture, which is not architecturally required by ARMv7 processors.
Debug Access Port
[edit]The Debug Access Port (DAP) is an implementation of an ARM Debug Interface.[115] There are two different supported implementations, the Serial Wire JTAG Debug Port (SWJ-DP) and the Serial Wire Debug Port (SW-DP).[116] CMSIS-DAP is a standard interface that describes how various debugging software on a host PC can communicate over USB to firmware running on a hardware debugger, which in turn talks over SWD or JTAG to a CoreSight-enabled ARM Cortex CPU.[117][118][119]
DSP enhancement instructions
[edit]To improve the ARM architecture for digital signal processing and multimedia applications, DSP instructions were added to the instruction set.[120] These are signified by an "E" in the name of the ARMv5TE and ARMv5TEJ architectures. E-variants also imply T, D, M, and I.
The new instructions are common in digital signal processor (DSP) architectures. They include variations on signed multiply–accumulate, saturated add and subtract, and count leading zeros.
First introduced in 1999, this extension of the core instruction set contrasted with ARM's earlier DSP coprocessor known as Piccolo, which employed a distinct, incompatible instruction set whose execution involved a separate program counter.[121] Piccolo instructions employed a distinct register file of sixteen 32-bit registers, with some instructions combining registers for use as 48-bit accumulators and other instructions addressing 16-bit half-registers. Some instructions were able to operate on two such 16-bit values in parallel. Communication with the Piccolo register file involved load to Piccolo and store from Piccolo coprocessor instructions via two buffers of eight 32-bit entries. Described as reminiscent of other approaches, notably Hitachi's SH-DSP and Motorola's 68356, Piccolo did not employ dedicated local memory and relied on the bandwidth of the ARM core for DSP operand retrieval, impacting concurrent performance.[122] Piccolo's distinct instruction set also proved not to be a "good compiler target".[121]
SIMD extensions for multimedia
[edit]Introduced in the ARMv6 architecture, this was a precursor to Advanced SIMD, also named Neon.[123]
Jazelle
[edit]Jazelle DBX (Direct Bytecode eXecution) is a technique that allows Java bytecode to be executed directly in the ARM architecture as a third execution state (and instruction set) alongside the existing ARM and Thumb-mode. Support for this state is signified by the "J" in the ARMv5TEJ architecture, and in ARM9EJ-S and ARM7EJ-S core names. Support for this state is required starting in ARMv6 (except for the ARMv7-M profile), though newer cores only include a trivial implementation that provides no hardware acceleration.
Thumb
[edit]To improve compiled code density, processors since the ARM7TDMI (released in 1994[124]) have featured the Thumb compressed instruction set, which have their own state. (The "T" in "TDMI" indicates the Thumb feature.) When in this state, the processor executes the Thumb instruction set, a compact 16-bit encoding for a subset of the ARM instruction set.[125] Most of the Thumb instructions are directly mapped to normal ARM instructions. The space saving comes from making some of the instruction operands implicit and limiting the number of possibilities compared to the ARM instructions executed in the ARM instruction set state.
In Thumb, the 16-bit opcodes have less functionality. For example, only branches can be conditional, and many opcodes are restricted to accessing only half of all of the CPU's general-purpose registers. The shorter opcodes give improved code density overall, even though some operations require extra instructions. In situations where the memory port or bus width is constrained to less than 32 bits, the shorter Thumb opcodes allow increased performance compared with 32-bit ARM code, as less program code may need to be loaded into the processor over the constrained memory bandwidth.
Unlike processor architectures with variable length (16- or 32-bit) instructions, such as the Cray-1 and Hitachi SuperH, the ARM and Thumb instruction sets exist independently of each other. Embedded hardware, such as the Game Boy Advance, typically have a small amount of RAM accessible with a full 32-bit datapath; the majority is accessed via a 16-bit or narrower secondary datapath. In this situation, it usually makes sense to compile Thumb code and hand-optimise a few of the most CPU-intensive sections using full 32-bit ARM instructions, placing these wider instructions into the 32-bit bus accessible memory.
The first processor with a Thumb instruction decoder was the ARM7TDMI. All processors supporting 32-bit instruction sets, starting with ARM9, and including XScale, have included a Thumb instruction decoder. It includes instructions adopted from the Hitachi SuperH (1992), which was licensed by ARM.[126] ARM's smallest processor families (Cortex M0 and M1) implement only the 16-bit Thumb instruction set for maximum performance in lowest cost applications. ARM processors that don't support 32-bit addressing also omit Thumb.
Thumb-2
[edit]Thumb-2 technology was introduced in the ARM1156 core, announced in 2003. Thumb-2 extends the limited 16-bit instruction set of Thumb with additional 32-bit instructions to give the instruction set more breadth, thus producing a variable-length instruction set. A stated aim for Thumb-2 was to achieve code density similar to Thumb with performance similar to the ARM instruction set on 32-bit memory.
Thumb-2 extends the Thumb instruction set with bit-field manipulation, table branches and conditional execution. At the same time, the ARM instruction set was extended to maintain equivalent functionality in both instruction sets. A new "Unified Assembly Language" (UAL) supports generation of either Thumb or ARM instructions from the same source code; versions of Thumb seen on ARMv7 processors are essentially as capable as ARM code (including the ability to write interrupt handlers). This requires a bit of care, and use of a new "IT" (if-then) instruction, which permits up to four successive instructions to execute based on a tested condition, or on its inverse. When compiling into ARM code, this is ignored, but when compiling into Thumb it generates an actual instruction. For example:
; if (r0 == r1)
CMP r0, r1
ITE EQ ; ARM: no code ... Thumb: IT instruction
; then r0 = r2;
MOVEQ r0, r2 ; ARM: conditional; Thumb: condition via ITE 'T' (then)
; else r0 = r3;
MOVNE r0, r3 ; ARM: conditional; Thumb: condition via ITE 'E' (else)
; recall that the Thumb MOV instruction has no bits to encode "EQ" or "NE".
All ARMv7 chips support the Thumb instruction set. All chips in the Cortex-A series that support ARMv7, all Cortex-R series, and all ARM11 series support both "ARM instruction set state" and "Thumb instruction set state", while chips in the Cortex-M series support only the Thumb instruction set.[127][128][129]
Thumb Execution Environment (ThumbEE)
[edit]ThumbEE (erroneously called Thumb-2EE in some ARM documentation), which was marketed as Jazelle RCT[130] (Runtime Compilation Target), was announced in 2005 and deprecated in 2011. It first appeared in the Cortex-A8 processor. ThumbEE is a fourth instruction set state, making small changes to the Thumb-2 extended instruction set. These changes make the instruction set particularly suited to code generated at runtime (e.g. by JIT compilation) in managed Execution Environments. ThumbEE is a target for languages such as Java, C#, Perl, and Python, and allows JIT compilers to output smaller compiled code without reducing performance.[citation needed]
New features provided by ThumbEE include automatic null pointer checks on every load and store instruction, an instruction to perform an array bounds check, and special instructions that call a handler. In addition, because it utilises Thumb-2 technology, ThumbEE provides access to registers r8–r15 (where the Jazelle/DBX Java VM state is held).[131] Handlers are small sections of frequently called code, commonly used to implement high level languages, such as allocating memory for a new object. These changes come from repurposing a handful of opcodes, and knowing the core is in the new ThumbEE state.
On 23 November 2011, Arm deprecated any use of the ThumbEE instruction set,[132] and Armv8 removes support for ThumbEE.
Floating-point (VFP)
[edit]VFP (Vector Floating Point) technology is a floating-point unit (FPU) coprocessor extension to the ARM architecture[133] (implemented differently in Armv8 – coprocessors not defined there). It provides low-cost single-precision and double-precision floating-point computation fully compliant with the ANSI/IEEE Std 754-1985 Standard for Binary Floating-Point Arithmetic. VFP provides floating-point computation suitable for a wide spectrum of applications such as PDAs, smartphones, voice compression and decompression, three-dimensional graphics and digital audio, printers, set-top boxes, and automotive applications. The VFP architecture was intended to support execution of short "vector mode" instructions but these operated on each vector element sequentially and thus did not offer the performance of true single instruction, multiple data (SIMD) vector parallelism. This vector mode was therefore removed shortly after its introduction,[134] to be replaced with the much more powerful Advanced SIMD, also named Neon.
Some devices such as the ARM Cortex-A8 have a cut-down VFPLite module instead of a full VFP module, and require roughly ten times more clock cycles per float operation.[135] Pre-Armv8 architecture implemented floating-point/SIMD with the coprocessor interface. Other floating-point and/or SIMD units found in ARM-based processors using the coprocessor interface include FPA, FPE, iwMMXt, some of which were implemented in software by trapping but could have been implemented in hardware. They provide some of the same functionality as VFP but are not opcode-compatible with it. FPA10 also provides extended precision, but implements correct rounding (required by IEEE 754) only in single precision.[136]
- VFPv1
- Obsolete
- VFPv2
- An optional extension to the ARM instruction set in the ARMv5TE, ARMv5TEJ and ARMv6 architectures. VFPv2 has 16 64-bit FPU registers.
- VFPv3 or VFPv3-D32
- Implemented on most Cortex-A8 and A9 ARMv7 processors. It is backward-compatible with VFPv2, except that it cannot trap floating-point exceptions. VFPv3 has 32 64-bit FPU registers as standard, adds VCVT instructions to convert between scalar, float and double, adds immediate mode to VMOV such that constants can be loaded into FPU registers.
- VFPv3-D16
- As above, but with only 16 64-bit FPU registers. Implemented on Cortex-R4 and R5 processors and the Tegra 2 (Cortex-A9).
- VFPv3-F16
- Uncommon; it supports IEEE754-2008 half-precision (16-bit) floating point as a storage format.
- VFPv4 or VFPv4-D32
- Implemented on Cortex-A12 and A15 ARMv7 processors, Cortex-A7 optionally has VFPv4-D32 in the case of an FPU with Neon.[137] VFPv4 has 32 64-bit FPU registers as standard, adds both half-precision support as a storage format and fused multiply-accumulate instructions to the features of VFPv3.
- VFPv4-D16
- As above, but it has only 16 64-bit FPU registers. Implemented on Cortex-A5 and A7 processors in the case of an FPU without Neon.[137]
- VFPv5-D16-M
- Implemented on Cortex-M7 when single and double-precision floating-point core option exists.
In Debian Linux and derivatives such as Ubuntu and Linux Mint, armhf (ARM hard float) refers to the ARMv7 architecture including the additional VFP3-D16 floating-point hardware extension (and Thumb-2) above. Software packages and cross-compiler tools use the armhf vs. arm/armel suffixes to differentiate.[138]
Advanced SIMD (Neon)
[edit]The Advanced SIMD extension (also known as Neon or "MPE" Media Processing Engine) is a combined 64- and 128-bit SIMD instruction set that provides standardised acceleration for media and signal processing applications. Neon is included in all Cortex-A8 devices, but is optional in Cortex-A9 devices.[139] Neon can execute MP3 audio decoding on CPUs running at 10 MHz, and can run the GSM adaptive multi-rate (AMR) speech codec at 13 MHz. It features a comprehensive instruction set, separate register files, and independent execution hardware.[140] Neon supports 8-, 16-, 32-, and 64-bit integer and single-precision (32-bit) floating-point data and SIMD operations for handling audio and video processing as well as graphics and gaming processing. In Neon, the SIMD supports up to 16 operations at the same time. The Neon hardware shares the same floating-point registers as used in VFP. Devices such as the ARM Cortex-A8 and Cortex-A9 support 128-bit vectors, but will execute with 64 bits at a time,[135] whereas newer Cortex-A15 devices can execute 128 bits at a time.[141][142]
A quirk of Neon in Armv7 devices is that it flushes all subnormal numbers to zero, and as a result the GCC compiler will not use it unless -funsafe-math-optimizations
, which allows losing denormals, is turned on. "Enhanced" Neon defined since Armv8 does not have this quirk, but as of GCC 8.2 the same flag is still required to enable Neon instructions.[143] On the other hand, GCC does consider Neon safe on AArch64 for Armv8.
ProjectNe10 is ARM's first open-source project (from its inception; while they acquired an older project, now named Mbed TLS). The Ne10 library is a set of common, useful functions written in both Neon and C (for compatibility). The library was created to allow developers to use Neon optimisations without learning Neon, but it also serves as a set of highly optimised Neon intrinsic and assembly code examples for common DSP, arithmetic, and image processing routines. The source code is available on GitHub.[144]
ARM Helium technology
[edit]Helium is the M-Profile Vector Extension (MVE). It adds more than 150 scalar and vector instructions.[145]
Security extensions
[edit]TrustZone (for Cortex-A profile)
[edit]The Security Extensions, marketed as TrustZone Technology, is in ARMv6KZ and later application profile architectures. It provides a low-cost alternative to adding another dedicated security core to an SoC, by providing two virtual processors backed by hardware based access control. This lets the application core switch between two states, referred to as worlds (to reduce confusion with other names for capability domains), to prevent information leaking from the more trusted world to the less trusted world. This world switch is generally orthogonal to all other capabilities of the processor, thus each world can operate independently of the other while using the same core. Memory and peripherals are then made aware of the operating world of the core and may use this to provide access control to secrets and code on the device.[146]
Typically, a rich operating system is run in the less trusted world, with smaller security-specialised code in the more trusted world, aiming to reduce the attack surface. Typical applications include DRM functionality for controlling the use of media on ARM-based devices,[147] and preventing any unapproved use of the device.
In practice, since the specific implementation details of proprietary TrustZone implementations have not been publicly disclosed for review, it is unclear what level of assurance is provided for a given threat model, but they are not immune from attack.[148][149]
Open Virtualization[150] is an open source implementation of the trusted world architecture for TrustZone.
AMD has licensed and incorporated TrustZone technology into its Secure Processor Technology.[151] AMD's APUs include a Cortex-A5 processor for handling secure processing, which is enabled in some, but not all products.[152][153][154] In fact, the Cortex-A5 TrustZone core had been included in earlier AMD products, but was not enabled due to time constraints.[153]
Samsung Knox uses TrustZone for purposes such as detecting modifications to the kernel, storing certificates and attestating keys.[155]
TrustZone for Armv8-M (for Cortex-M profile)
[edit]The Security Extension, marketed as TrustZone for Armv8-M Technology, was introduced in the Armv8-M architecture. While containing similar concepts to TrustZone for Armv8-A, it has a different architectural design, as world switching is performed using branch instructions instead of using exceptions. It also supports safe interleaved interrupt handling from either world regardless of the current security state. Together these features provide low latency calls to the secure world and responsive interrupt handling. ARM provides a reference stack of secure world code in the form of Trusted Firmware for M and PSA Certified.
No-execute page protection
[edit]As of ARMv6, the ARM architecture supports no-execute page protection, which is referred to as XN, for eXecute Never.[156]
Large Physical Address Extension (LPAE)
[edit]The Large Physical Address Extension (LPAE), which extends the physical address size from 32 bits to 40 bits, was added to the Armv7-A architecture in 2011.[157]
The physical address size may be even larger in processors based on the 64-bit (Armv8-A) architecture. For example, it is 44 bits in Cortex-A75 and Cortex-A65AE.[158]
Armv8-R and Armv8-M
[edit]The Armv8-R and Armv8-M architectures, announced after the Armv8-A architecture, share some features with Armv8-A. However, Armv8-M does not include any 64-bit AArch64 instructions, and Armv8-R originally did not include any AArch64 instructions; those instructions were added to Armv8-R later.
Armv8.1-M
[edit]The Armv8.1-M architecture, announced in February 2019, is an enhancement of the Armv8-M architecture. It brings new features including:
- A new vector instruction set extension. The M-Profile Vector Extension (MVE), or Helium, is for signal processing and machine learning applications.
- Additional instruction set enhancements for loops and branches (Low Overhead Branch Extension).
- Instructions for half-precision floating-point support.
- Instruction set enhancement for TrustZone management for Floating Point Unit (FPU).
- New memory attribute in the Memory Protection Unit (MPU).
- Enhancements in debug including Performance Monitoring Unit (PMU), Unprivileged Debug Extension, and additional debug support focus on signal processing application developments.
- Reliability, Availability and Serviceability (RAS) extension.
64/32-bit architecture
[edit]Armv8
[edit]Armv8-A
[edit]Announced in October 2011,[13] Armv8-A (often called ARMv8 while the Armv8-R is also available) represents a fundamental change to the ARM architecture. It supports two Execution states: a 64-bit state named AArch64 and a 32-bit state named AArch32. In the AArch64 state, a new 64-bit A64 instruction set is supported; in the AArch32 state, two instruction sets are supported: the original 32-bit instruction set, named A32, and the 32-bit Thumb-2 instruction set, named T32. AArch32 provides user-space compatibility with Armv7-A. The processor state can change on an Exception level change; this allows 32-bit applications to be executed in AArch32 state under a 64-bit OS whose kernel executes in AArch64 state, and allows a 32-bit OS to run in AArch32 state under the control of a 64-bit hypervisor running in AArch64 state.[1] ARM announced their Cortex-A53 and Cortex-A57 cores on 30 October 2012.[73] Apple was the first to release an Armv8-A compatible core in a consumer product (Apple A7 in iPhone 5S). AppliedMicro, using an FPGA, was the first to demo Armv8-A.[159] The first Armv8-A SoC from Samsung is the Exynos 5433 used in the Galaxy Note 4, which features two clusters of four Cortex-A57 and Cortex-A53 cores in a big.LITTLE configuration; but it will run only in AArch32 mode.[160]
To both AArch32 and AArch64, Armv8-A makes VFPv3/v4 and advanced SIMD (Neon) standard. It also adds cryptography instructions supporting AES, SHA-1/SHA-256 and finite field arithmetic.[161] AArch64 was introduced in Armv8-A and its subsequent revision. AArch64 is not included in the 32-bit Armv8-R and Armv8-M architectures.
An ARMv8-A processor can support one or both of AArch32 and AArch64; it may support AArch32 and AArch64 at lower Exception levels and only AArch64 at higher Exception levels.[162] For example, the ARM Cortex-A32 supports only AArch32,[163] the ARM Cortex-A34 supports only AArch64,[164] and the ARM Cortex-A72 supports both AArch64 and AArch32.[165] An ARMv9-A processor must support AArch64 at all Exception levels, and may support AArch32 at EL0.[162] Some ARMv8-A processors, such as Apple M1 and Apple A11, do not support AArch32 applications at all.
Armv8-R
[edit]Optional AArch64 support was added to the Armv8-R profile, with the first ARM core implementing it being the Cortex-R82.[166] It adds the A64 instruction set.
Armv9
[edit]Armv9-A
[edit]Announced in March 2021, the updated architecture places a focus on secure execution and compartmentalisation.[167][168]
Arm SystemReady
[edit]Arm SystemReady, formerly named Arm ServerReady, is a certification program that helps land the generic off-the-shelf operating systems and hypervisors on to the Arm-based systems from datacenter servers to industrial edge and IoT devices. The key building blocks of the program are the specifications for minimum hardware and firmware requirements that the operating systems and hypervisors can rely upon. These specifications are:[169]
- Base System Architecture (BSA)[170] and the market segment specific supplements (e.g., Server BSA supplement)[171]
- Base Boot Requirements (BBR)[172] and Base Boot Security Requirements (BBR)[173]
These specifications are co-developed by Arm and its partners in the System Architecture Advisory Committee (SystemArchAC).
Architecture Compliance Suite (ACS) is the test tools that help to check the compliance of these specifications. The Arm SystemReady Requirements Specification documents the requirements of the certifications.[174]
This program was introduced by Arm in 2020 at the first DevSummit event. Its predecessor Arm ServerReady was introduced in 2018 at the Arm TechCon event. This program currently includes four bands:
- SystemReady SR: this band is for servers and workstations that support operating systems and hypervisors that expect UEFI, ACPI and SMBIOS interfaces. Windows, Red Hat Enterprise Linux and VMware ESXi-Arm require these interfaces while other Linux and BSD distros can also support.[clarification needed]
- SystemReady LS (LinuxBoot System): this band is for servers that hyperscalers use to support Linux operating systems that expect LinuxBoot firmware along with the ACPI and SMBIOS interfaces.
- SystemReady ES (Embedded System): this band is for the industrial edge and IoT devices that support operating systems and hypervisors that expect UEFI, ACPI and SMBIOS interfaces. Windows IoT Enterprise, Red Hat Enterprise Linux and VMware ESXi-Arm require these interfaces while other Linux and BSD distros can also support.[clarification needed]
- SystemReady IR (IoT Ready): this band is for the industrial edge and IoT devices that support operating systems that expect UEFI and devicetree interfaces. Embedded Linux (e.g., Yocto) and some Linux/BSD distros (e.g., Fedora, Ubuntu, Debian and OpenSUSE) can also support.[clarification needed]
PSA Certified
[edit]PSA Certified, formerly named Platform Security Architecture, is an architecture-agnostic security framework and evaluation scheme. It is intended to help secure Internet of things (IoT) devices built on system-on-a-chip (SoC) processors.[175] It was introduced to increase security where a full trusted execution environment is too large or complex.[176]
The architecture was introduced by Arm in 2017 at the annual TechCon event.[176][177] Although the scheme is architecture agnostic, it was first implemented on Arm Cortex-M processor cores intended for microcontroller use. PSA Certified includes freely available threat models and security analyses that demonstrate the process for deciding on security features in common IoT products.[178] It also provides freely downloadable application programming interface (API) packages, architectural specifications, open-source firmware implementations, and related test suites.[179]
Following the development of the architecture security framework in 2017, the PSA Certified assurance scheme launched two years later at Embedded World in 2019.[180] PSA Certified offers a multi-level security evaluation scheme for chip vendors, OS providers and IoT device makers.[181] The Embedded World presentation introduced chip vendors to Level 1 Certification. A draft of Level 2 protection was presented at the same time.[182] Level 2 certification became a usable standard in February 2020.[183]
The certification was created by PSA Joint Stakeholders to enable a security-by-design approach for a diverse set of IoT products. PSA Certified specifications are implementation and architecture agnostic, as a result they can be applied to any chip, software or device.[184][182] The certification also removes industry fragmentation for IoT product manufacturers and developers.[185]
Operating system support
[edit]32-bit operating systems
[edit]Historical operating systems
[edit]The first 32-bit ARM-based personal computer, the Acorn Archimedes, was originally intended to run an ambitious operating system called ARX. The machines shipped with RISC OS, which was also used on later ARM-based systems from Acorn and other vendors. Some early Acorn machines were also able to run a Unix port called RISC iX. (Neither is to be confused with RISC/os, a contemporary Unix variant for the MIPS architecture.)
Embedded operating systems
[edit]The 32-bit ARM architecture is supported by a large number of embedded and real-time operating systems, including:
- A2
- Android
- ChibiOS/RT
- Deos
- DRYOS
- eCos
- embOS
- FreeBSD
- FreeRTOS
- INTEGRITY
- Linux
- Micro-Controller Operating Systems
- Mbed
- MINIX 3
- MQX
- Nucleus PLUS
- NuttX
- OKL4
- Operating System Embedded (OSE)
- OS-9[186]
- Pharos[187]
- Plan 9
- PikeOS[188]
- QNX
- RIOT
- RTEMS
- RTXC Quadros
- SCIOPTA[189]
- ThreadX
- TizenRT
- T-Kernel
- VxWorks
- Windows Embedded Compact
- Windows 10 IoT Core
- Zephyr
Mobile device operating systems
[edit]As of March 2024, the 32-bit ARM architecture used to be the primary hardware environment for most mobile device operating systems such as the following but many of these platforms such as Android and Apple iOS have evolved to the 64-bit ARM architecture:
Formerly, but now discontinued:
Desktop and server operating systems
[edit]The 32-bit ARM architecture is supported by RISC OS and by multiple Unix-like operating systems including:
64-bit operating systems
[edit]Embedded operating systems
[edit]Mobile device operating systems
[edit]- Android supports Armv8-A in Android Lollipop (5.0) and later.
- iOS supports Armv8-A in iOS 7 and later on 64-bit Apple SoCs. iOS 11 and later, and iPadOS, only support 64-bit ARM processors and applications.
- HarmonyOS NEXT was developed specifically for ARM processors, starting from its launch in 2024.
- Mobian
- PostmarketOS
- Arch Linux ARM
- Manjaro[196]
Desktop and server operating systems
[edit]- Support for Armv8-A was merged into the Linux kernel version 3.7 in late 2012.[197] Armv8-A is supported by a number of Linux distributions, such as:
- Support for Armv8-A was merged into FreeBSD in late 2014.[205]
- OpenBSD has Armv8 support as of 2023[update].[206]
- NetBSD has Armv8 support since early 2018.[207]
- Windows - Windows 10 runs 32-bit "x86 and 32-bit ARM applications",[208] as well as native ARM64 desktop apps;[209][210] Windows 11 runs native ARM64 apps and can also run x86 and x86-64 apps via emulation. Support for 64-bit ARM apps in the Microsoft Store has been available since November 2018.[211]
- macOS has ARM support since late 2020; the first release to support ARM is macOS Big Sur.[212] Rosetta 2 adds support for x86-64 applications but not virtualization of x86-64 computer platforms.[213]
Porting to 32- or 64-bit ARM operating systems
[edit]Windows applications recompiled for ARM and linked with Winelib, from the Wine project, can run on 32-bit or 64-bit ARM in Linux, FreeBSD, or other compatible operating systems.[214][215] x86 binaries, e.g. when not specially compiled for ARM, have been demonstrated on ARM using QEMU with Wine (on Linux and more),[citation needed] but do not work at full speed or same capability as with Winelib.
Notes
[edit]- ^ Using 32-bit words, 4 Mbit/s corresponds to 1 MIPS.
- ^ Available references do not mention which design team this was, but given the timing and known history of designs of the era, it is likely this was the National Semiconductor team whose NS32016 suffered from a large number of bugs.
- ^ Matt Evans notes that it appears the faster versions were simply binned higher, and appear to have no underlying changes.[35]
See also
[edit]- Amber – an open-source ARM-compatible processor core
- AMULET – an asynchronous implementation of the ARM architecture
- Apple silicon
- ARM Accredited Engineer – certification program
- ARM big.LITTLE – ARM's heterogeneous computing architecture
- ARMulator – an instruction set simulator
- Comparison of ARM processors
- Meltdown (security vulnerability)[216]
- Reduced instruction set computer (RISC)
- RISC-V
- Spectre (security vulnerability)
- Unicore – a 32-register architecture based heavily on a 32-bit ARM
References
[edit]Citations
[edit]- ^ a b c d e f Grisenthwaite, Richard (2011). "ARMv8-A Technology Preview" (PDF). Archived from the original (PDF) on 11 November 2011. Retrieved 31 October 2011.
- ^ "6.1.2.1 VFP register usage conventions". Procedure Call Standard for the ARM Architecture. Arm Holdings. 6 October 2023. Retrieved 22 August 2024.
- ^ a b Wilson, Roger (2 November 1988). "Some facts about the Acorn RISC Machine". Newsgroup: comp.arch. Retrieved 25 May 2007.
- ^ a b Hachman, Mark (14 October 2002). "ARM Cores Climb into 3G Territory". ExtremeTech. Retrieved 24 May 2018.
- ^ Turley, Jim (18 December 2002). "The Two Percent Solution". Embedded. Retrieved 14 February 2023.
- ^ Cutress, Ian (22 June 2020). "New #1 Supercomputer: Fujitsu's Fugaku and A64FX take Arm to the Top with 415 PetaFLOPs". anandtech.com. Retrieved 25 January 2021.
- ^ "Arm Partners Have Shipped 200 Billion Chips". Arm (Press release). Retrieved 3 November 2021.
- ^ "Enabling Mass IoT connectivity as ARM partners ship 100 billion chips". community.arm.com. 27 February 2017. Retrieved 8 April 2020.
the cumulative deployment of 100 billion chips, half of which shipped in the last four years. [..] why not a trillion or more? That is our target, seeing a trillion connected devices deployed over the next two decades.
- ^ "MCU Market on Migration Path to 32-bit and ARM-based Devices: 32-bit tops in sales; 16-bit leads in unit shipments". IC Insights. 25 April 2013. Retrieved 1 July 2014.
- ^ Turley, Jim (2002). "The Two Percent Solution". embedded.com.
- ^ "Arm Holdings eager for PC and server expansion". The Register. 1 February 2011.
- ^ McGuire-Balanza, Kerry (11 May 2010). "ARM from zero to billions in 25 short years". Arm Holdings. Retrieved 8 November 2012.
- ^ a b "ARM Discloses Technical Details of the Next Version of the ARM Architecture" (Press release). Arm Holdings. 27 October 2011. Archived from the original on 1 January 2019. Retrieved 20 September 2013.
- ^ "Announcing the ARM Neoverse N1 Platform". community.arm.com. 20 February 2019. Retrieved 8 April 2020.
- ^ Fairbairn, Douglas (31 January 2012). "Oral History of Sophie Wilson" (PDF). Archived (PDF) from the original on 3 March 2016. Retrieved 2 February 2016.
- ^ Smith, Tony (30 November 2011). "The BBC Micro turns 30". The Register Hardware. Archived from the original on 12 December 2011. Retrieved 12 December 2011.
- ^ Polsson, Ken. "Chronology of Microprocessors". Processortimeline.info. Archived from the original on 9 August 2018. Retrieved 27 September 2013.
- ^ Leedy, Glenn (April 1983). "The National Semiconductor NS16000 Microprocessor Family". Byte. pp. 53–66. Retrieved 22 August 2020.
- ^ Evans 2019, 6:00.
- ^ Manners, David (29 April 1998). "ARM's way". Electronics Weekly. Archived from the original on 29 July 2012. Retrieved 26 October 2012.
- ^ Evans 2019, 5:30.
- ^ a b Evans 2019, 7:45.
- ^ Evans 2019, 8:30.
- ^ Sophie Wilson at Alt Party 2009 (Part 3/8). Archived from the original on 11 December 2021.
- ^ Chisnall, David (23 August 2010). Understanding ARM Architectures. Retrieved 26 May 2013.
- ^ Evans 2019, 9:00.
- ^ Furber, Stephen B. (2000). ARM system-on-chip architecture. Boston: Addison-Wesley. ISBN 0-201-67519-6.
- ^ Evans 2019, 9:50.
- ^ Evans 2019, 23:30.
- ^ Evans 2019, 26:00.
- ^ "ARM Instruction Set design history with Sophie Wilson (Part 3)". 10 May 2015. Archived from the original on 11 December 2021. Retrieved 25 May 2020 – via YouTube.
- ^ "Oral History of Sophie Wilson – 2012 Computer History Museum Fellow" (PDF). Computer History Museum. 31 January 2012. Retrieved 25 May 2020.
- ^ Harker, T. (Summer 2009). "ARM gets serious about IP (Second in a two-part series [Associated Editors' View]". IEEE Solid-State Circuits Magazine. 1 (3): 8–69. doi:10.1109/MSSC.2009.933674. ISSN 1943-0590. S2CID 36567166.
- ^ Evans 2019, 20:30.
- ^ Evans 2019, 22:00.
- ^ Evans 2019, 21:30.
- ^ Evans 2019, 22:0030.
- ^ a b Evans 2019, 14:00.
- ^ "From one Arm to the next! ARM Processors and Architectures". Retrieved 31 May 2022.
- ^ Levy, Markus. "The History of The ARM Architecture: From Inception to IPO" (PDF). Retrieved 18 July 2022.
- ^ Introducing the Commodore Amiga 3000 (PDF). Commodore-Amiga, Inc. 1991.
- ^ "Computer MIPS and MFLOPS Speed Claims 1980 to 1996". www.roylongbottom.org.uk. Retrieved 17 June 2023.
- ^ Santanu Chattopadhyay (2010). Embedded System Design. PHI Learning Pvt. Ltd. p. 9. ISBN 978-81-203-4024-4.
- ^ Richard Murray. "32 bit operation".
- ^ "ARM Company Milestones". ARM. Archived from the original on 20 April 2015. Retrieved 8 April 2015.
- ^ Andrews, Jason (2005). "3 SoC Verification Topics for the ARM Architecture". Co-verification of hardware and software for ARM SoC design. Oxford, UK: Elsevier. pp. 69. ISBN 0-7506-7730-9.
ARM started as a branch of Acorn Computer in Cambridge, England, with the formation of a joint venture between Acorn, Apple and VLSI Technology. A team of twelve employees produced the design of the first ARM microprocessor between 1983 and 1985.
- ^ Weber, Jonathan (28 November 1990). "Apple to Join Acorn, VLSI in Chip-Making Venture". Los Angeles Times. Los Angeles. Retrieved 6 February 2012.
Apple has invested about $3 million (roughly 1.5 million pounds) for a 30% interest in the company, dubbed Advanced Risc Machines Ltd. (ARM) [...]
- ^ "ARM Corporate Backgrounder" (PDF). ARM. Archived from the original (PDF) on 4 October 2006.
- ^ Montanaro, James; et al. (1997). "A 160-MHz, 32-b, 0.5-W CMOS RISC Microprocessor" (PDF). Digital Technical Journal. 9 (1): 49–62.
- ^ DeMone, Paul (9 November 2000). "ARM's Race to Embedded World Domination". Real World Technologies. Retrieved 6 October 2015.
- ^ "March of the Machines". technologyreview.com. MIT Technology Review. 20 April 2010. Archived from the original on 16 October 2015. Retrieved 6 October 2015.
- ^ Krazit, Tom (3 April 2006). "ARMed for the living room". CNET.
- ^ a b Fitzpatrick, J. (2011). "An Interview with Steve Furber". Communications of the ACM. 54 (5): 34–39. doi:10.1145/1941487.1941501.
- ^ Tracy Robinson (12 February 2014). "Celebrating 50 Billion shipped ARM-powered Chips".
- ^ Sarah Murry (3 March 2014). "ARM's Reach: 50 Billion Chip Milestone". Archived from the original on 16 September 2015.
- ^ Brown, Eric (2009). "ARM netbook ships with detachable tablet". Archived from the original on 3 January 2013. Retrieved 19 August 2009.
- ^ Peter Clarke (7 January 2016). "Amazon Now Sells Own ARM chips".
- ^ "MACOM Successfully Completes Acquisition of AppliedMicro" (Press release). 26 January 2017.
- ^ Frumusanu, Andrei. "ARM Details Built on ARM Cortex Technology License". AnandTech. Retrieved 26 May 2019.
- ^ Cutress, Ian. "ARM Flexible Access: Design the SoC Before Spending Money". AnandTech. Retrieved 9 October 2019.
- ^ "ARM Flexible Access Frequently Asked Questions". ARM. Retrieved 9 October 2019.
- ^ Nolting, Stephan. "STORM CORE Processor System" (PDF). OpenCores. Retrieved 1 April 2014.
- ^ ZAP on GitHub
- ^ "Cortex-M23 Processor". ARM. Retrieved 27 October 2016.
- ^ "Cortex-M33 Processor". ARM. Retrieved 27 October 2016.
- ^ "ARMv8-M Architecture Simplifies Security for Smart Embedded". ARM. Retrieved 10 November 2015.
- ^ Ltd, Arm. "M-Profile Architectures". Arm | The Architecture for the Digital World. Retrieved 29 August 2023.
- ^ "ARMv8-R Architecture". Retrieved 10 July 2015.
- ^ Craske, Simon (October 2013). "ARM Cortex-R Architecture" (PDF). Arm Holdings. Archived from the original (PDF) on 6 April 2014. Retrieved 1 February 2014.
- ^ Smith, Ryan (20 September 2016). "ARM Announces Cortex-R52 CPU: Deterministic & Safe, for ADAS & More". AnandTech. Retrieved 20 September 2016.
- ^ "Cortex-A32 Processor". ARM. Retrieved 10 October 2019.
- ^ "Cortex-A35 Processor". ARM. Retrieved 10 November 2015.
- ^ a b "ARM Launches Cortex-A50 Series, the World's Most Energy-Efficient 64-bit Processors" (Press release). Arm Holdings. Retrieved 31 October 2012.
- ^ "Cortex-A72 Processor". ARM. Retrieved 10 July 2015.
- ^ "Cortex-A73 Processor". ARM. Retrieved 2 June 2016.
- ^ "ARMv8-A Architecture". Retrieved 10 July 2015.
- ^ "Cavium Thunder X ups the ARM core count to 48 on a single chip". SemiAccurate. 3 June 2014.
- ^ "Cavium at Supercomputing 2014". Yahoo Finance. 17 November 2014. Archived from the original on 16 October 2015. Retrieved 15 January 2017.
- ^ Burt, Jeff (17 November 2014). "Cray to Evaluate ARM Chips in Its Supercomputers". eWeek.
- ^ "Samsung Announces Exynos 8890 with Cat.12/13 Modem and Custom CPU". AnandTech.
- ^ "Cortex-A34 Processor". ARM. Retrieved 10 October 2019.
- ^ "D21500 [AARCH64] Add support for Broadcom Vulcan". reviews.llvm.org.
- ^ "Cortex-A55 Processor". ARM. Retrieved 29 May 2017.
- ^ "Cortex-A75 Processor". ARM. Retrieved 29 May 2017.
- ^ "Cortex-A76 Processor". ARM. Retrieved 11 October 2018.
- ^ Berenice Mann (April 2017). "ARM Architecture – ARMv8.2-A evolution and delivery". community.ARM.com.
- ^ Frumusanu, Andrei. "Samsung Announces the Exynos 9825 SoC: First 7nm EUV Silicon Chip". AnandTech. Retrieved 11 October 2019.
- ^ "Fujitsu began to produce Japan's billions of super-calculations with the strongest ARM processor A64FX". China IT News. Archived from the original on 20 June 2019. Retrieved 17 August 2019.
ARMv8 SVE (Scalable Vector Extension) chip, which uses 512bit floating point.
- ^ "Cortex-A65AE – ARM". ARM. Retrieved 8 April 2020.
can execute two-threads in parallel on each cycle. Each thread can be at different exception levels and run different operating systems.
- ^ Frumusanu, Andrei. "Marvell Announces ThunderX3: 96 Cores & 384 Thread 3rd Gen ARM Server Processor". AnandTech. Retrieved 26 May 2020.
- ^ "AArch64: add support for newer Apple CPUs · apple/llvm-project@677da09". GitHub. Retrieved 23 September 2022.
- ^ "New features for the Armv8-A architecture - Architectures and Processors blog - Arm Community blogs - Arm Community". community.arm.com. 21 September 2020. Retrieved 28 December 2021.
- ^ "Arm's solution to the future needs of AI, security and specialized computing is v9". Arm. Retrieved 16 August 2021.
- ^ "First Armv9 Cortex CPUs for Consumer Compute". community.arm.com. 25 May 2021. Retrieved 16 August 2021.
- ^ "Documentation – Arm Developer". developer.arm.com. Retrieved 3 October 2024.
- ^ "Documentation – Arm Developer". developer.arm.com. Retrieved 3 October 2024.
- ^ "Apple M4 Support Added To The LLVM Compiler, Confirming Its ISA Capabilities". www.phoronix.com. Retrieved 15 June 2024.
- ^ "Arm A-Profile Architecture Developments 2021 - Architectures and Processors blog - Arm Community blogs - Arm Community". community.arm.com. 8 September 2021. Retrieved 25 September 2023.
- ^ "Arm A-Profile Architecture Developments 2022 - Architectures and Processors blog - Arm Community blogs - Arm Community". community.arm.com. 29 September 2022. Retrieved 25 September 2023.
- ^ "Arm A-Profile Architecture Developments 2023 - Architectures and Processors blog - Arm Community blogs - Arm Community". community.arm.com. 29 September 2022. Retrieved 11 October 2024.
- ^ "Arm A-Profile Architecture Developments 2024 - Architectures and Processors blog - Arm Community blogs - Arm Community". community.arm.com. 29 September 2022. Retrieved 11 October 2024.
- ^ "Line Card" (PDF). 2003. Retrieved 1 October 2012.
- ^ Parrish, Kevin (14 July 2011). "One Million ARM Cores Linked to Simulate Brain". EE Times. Retrieved 2 August 2011.
- ^ "Processor mode". Arm Holdings. Retrieved 26 March 2013.
- ^ "KVM/ARM" (PDF). Retrieved 14 February 2023.
- ^ Brash, David (August 2010). Extensions to the ARMv7-A Architecture. 2010 IEEE Hot Chips 22 Symposium (HCS). pp. 1–21. doi:10.1109/HOTCHIPS.2010.7480070. ISBN 978-1-4673-8875-7. S2CID 46339775.
- ^ "How does the ARM Compiler support unaligned accesses?". 2011. Retrieved 5 October 2013.
- ^ "Unaligned data access". Retrieved 5 October 2013.
- ^ "Cortex-M0 r0p0 Technical Reference Manual" (PDF). Arm.
- ^ "ARMv7-M Architecture Reference Manual". Arm. Retrieved 18 July 2022.
- ^ a b "ARMv7-A and ARMv7-R Architecture Reference Manual; Arm Holdings". arm.com. Retrieved 19 January 2013.
- ^ "ARM Information Center". Retrieved 10 July 2015.
- ^ "Condition Codes 1: Condition flags and codes". ARM Community. 11 September 2013. Retrieved 26 September 2019.
- ^ "9.1.2. Instruction cycle counts".
- ^ "CoreSight Components: About the Debug Access Port".
- ^ "The Cortex-M3: Debug Access Port (DAP)".
- ^ Anderson, Mike. "Understanding ARM HW Debug Options" (PDF).
- ^ "CMSIS-DAP Debugger User's Guide".
- ^ "CMSIS-DAP".
- ^ "ARM DSP Instruction Set Extensions". arm.com. Archived from the original on 14 April 2009. Retrieved 18 April 2009.
- ^ a b Clarke, Peter (3 May 1999). "EPF: ARC, ARM add DSP extensions to their RISC cores". EE Times. Retrieved 15 March 2024.
- ^ Turley, Jim (18 November 1996). "ARM Tunes Piccolo for DSP Performance" (PDF). Microprocessor Report. Retrieved 15 March 2024.
- ^ "DSP & SIMD". Retrieved 10 July 2015.
- ^ "ARM7TDMI Technical Reference Manual" (PDF). p. ii.
- ^ Jaggar, Dave (1996). ARM Architecture Reference Manual. Prentice Hall. pp. 6–1. ISBN 978-0-13-736299-8.
- ^ Nathan Willis (10 June 2015). "Resurrecting the SuperH architecture". LWN.net.
- ^ "ARM Processor Instruction Set Architecture". ARM.com. Archived from the original on 15 April 2009. Retrieved 18 April 2009.
- ^ "ARM aims son of Thumb at uCs, ASSPs, SoCs". Linuxdevices.com. Archived from the original on 9 December 2012. Retrieved 18 April 2009.
- ^ "ARM Information Center". Infocenter.arm.com. Retrieved 18 April 2009.
- ^ "Jazelle". ARM Ltd. Archived from the original on 2 June 2017.
- ^ Tom R. Halfhill (2005). "ARM strengthens Java compilers: New 16-Bit Thumb-2EE Instructions Conserve System Memory" (PDF). Archived from the original (PDF) on 5 October 2007.
- ^ ARM Architecture Reference Manual, Armv7-A and Armv7-R edition, issue C.b, Section A2.10, 25 July 2012.
- ^ "ARM Compiler toolchain Using the Assembler – VFP coprocessor". ARM.com. Retrieved 20 August 2014.
- ^ "VFP directives and vector notation". ARM.com. Retrieved 21 November 2011.
- ^ a b "Differences between ARM Cortex-A8 and Cortex-A9". Shervin Emami. Retrieved 21 November 2011.
- ^ "FPA10 Data Sheet" (PDF). chrisacorns.computinghistory.org.uk. GEC Plessey Semiconductors. 11 June 1993. Retrieved 26 November 2020.
In relation to IEEE 754-1985, the FPA achieves conformance in single-precision arithmetic [...] Occasionally, double- and extended-precision multiplications may be produced with an error of 1 or 2 units in the least significant place of the mantissa.
- ^ a b "Cortex-A7 MPCore Technical Reference Manual – 1.3 Features". ARM. Retrieved 11 July 2014.
- ^ "ArmHardFloatPort – Debian Wiki". Wiki.debian.org. 20 August 2012. Retrieved 8 January 2014.
- ^ "Cortex-A9 Processor". arm.com. Retrieved 21 November 2011.
- ^ "About the Cortex-A9 NEON MPE". arm.com. Retrieved 21 November 2011.
- ^ "US20050125476A1".
- ^ "US20080141004A1".
- ^ "ARM Options". GNU Compiler Collection Manual. Retrieved 20 September 2019.
- ^ Ne10: An open optimized software library project for the ARM Architecture on GitHub
- ^ Joseph Yiu. "Introduction to ARMv8.1-M architecture" (PDF). Retrieved 18 July 2022.
- ^ "Genode – An Exploration of ARM TrustZone Technology". Retrieved 10 July 2015.
- ^ "ARM Announces Availability of Mobile Consumer DRM Software Solutions Based on ARM TrustZone Technology" (Press release). News.thomasnet.com. Retrieved 18 April 2009.
- ^ Laginimaineb (8 October 2015). "Bits, Please!: Full TrustZone exploit for MSM8974". Bits, Please!. Retrieved 3 May 2016.
- ^ Di Shen. "Attacking your 'Trusted Core' Exploiting TrustZone on Android" (PDF). Black Hat Briefings. Retrieved 3 May 2016.
- ^ "ARM TrustZone and ARM Hypervisor Open Source Software". Open Virtualization. Archived from the original on 14 June 2013. Retrieved 14 June 2013.
- ^ "AMD Secure Technology". AMD. Archived from the original on 23 July 2016. Retrieved 6 July 2016.
- ^ Smith, Ryan (13 June 2012). "AMD 2013 APUs to include ARM Cortex A5 Processor for Trustzone Capabilities". AnandTech. Retrieved 6 July 2016.
- ^ a b Shimpi, Anand Lal (29 April 2014). "AMD Beema Mullins Architecture A10 micro 6700T Performance Preview". AnandTech. Retrieved 6 July 2016.
- ^ Walton, Jarred (4 June 2014). "AMD Launches Mobile Kaveri APUs". AnandTech. Retrieved 6 July 2016.
- ^ "Root of Trust" (white paper). Samsung Electronics. April 2016.
- ^ "ARM Architecture Reference Manual" (PDF). p. B4-8. Archived from the original (PDF) on 6 February 2009.
APX and XN (execute never) bits have been added in VMSAv6 [Virtual Memory System Architecture]
- ^ ARM Architecture Reference Manual, ARMv7-A and ARMv7-R edition. ARM Limited.
- ^ "Cortex-A65AE". ARM Developer. Retrieved 26 April 2019.
- ^ "AppliedMicro Showcases World's First 64-bit ARM v8 Core" (Press release). AppliedMicro. 28 October 2011. Retrieved 11 February 2014.
- ^ "Samsung's Exynos 5433 is an A57/A53 ARM SoC". AnandTech. Retrieved 17 September 2014.
- ^ "ARM Cortex-A53 MPCore Processor Technical Reference Manual: Cryptography Extension". ARM. Retrieved 11 September 2016.
- ^ a b "Impact of implemented Exception levels". Learn the architecture - AArch64 Exception Model. Arm.
- ^ "Cortex-A32". Arm Developer.
- ^ "Cortex-A34". Arm Developer.
- ^ "Cortex-A72". Arm Developer.
- ^ Frumusanu, Andrei (3 September 2020). "ARM Announced Cortex-R82: First 64-bit Real Time Processor". AnandTech.
- ^ Frumusanu, Andrei (30 March 2021). "Arm Announces Armv9 Architecture: SVE2, Security, and the Next Decade". AnandTech.
- ^ Harrod, Alex (30 March 2021). "Arm's Solution to the Future Needs of AI, Security and Specialized Computing is v9" (Press release). Arm Holdings.
- ^ "SystemReady Compliance Program". Arm.
- ^ "Arm Base System Architecture". Arm.
- ^ "Arm Server Base System Architecture". Arm.
- ^ "Arm Base Boot Requirements". Arm.
- ^ "Base Boot Security Requirements". Arm.
- ^ "Arm SystemReady Requirements Specification". Arm.
- ^ Osborne, Charlie. "ARM announces PSA security architecture for IoT devices". ZDNet.
- ^ a b Wong, William (25 October 2017). "ARM's Platform Security Architecture Targets Cortex-M". Electronic Design. Archived from the original on 8 May 2019.
- ^ Hoffenberg, Steve (31 October 2017). "ARM: Security Isn't Just a Technological Imperative, It's a Social Responsibility". VDC Research. Archived from the original on 28 September 2023.
- ^ Armasu, Lucian (22 February 2018). "ARM Reveals More Details About Its IoT Platform Security Architecture". Tom's Hardware.
- ^ Williams, Chris. "ARM PSA IoT API? BRB... Toolbox of tech to secure net-connected kit opens up some more". The Register.
- ^ Hayes, Caroline (25 February 2019). "Embedded World: Arm introduces fourth security element to PSA". Electronics Weekly.
- ^ "PSA Certified: building trust in IoT". PSA Certified.
- ^ a b "PSA Certified–building trust, building value". EE Times. 4 March 2019.
- ^ "The $6trn importance of security standards and regulation in the IoT era". IoT Now. 16 March 2020.
- ^ McGregor, Jim (4 March 2019). "Arm Introduces Security Certification Testing For IoT". Forbes.
- ^ Speed, Richard (26 February 2019). "Azure IoT heads spaceward to maintain connectivity at the edge, courtesy of Inmarsat". TheRegister.
- ^ "OS-9 Specifications". Microware.
- ^ a b "Pharos". SourceForge. Retrieved 24 May 2018.
- ^ "PikeOS Safe and Secure Virtualization". Retrieved 10 July 2013.
- ^ a b "Safety Certified Real-Time Operating Systems – Supported CPUs".
- ^ "ARM Platform Port". opensolaris.org. Archived from the original on 2 December 2012. Retrieved 29 December 2012.
- ^ "Green Hills Software's INTEGRITY-based Multivisor Delivers Embedded Industry's First 64-bit Secure Virtualization Solution". ghs.com. Retrieved 14 March 2018.
- ^ "Enea OSE real-time operating system for 5G and LTE-A | Enea". enea.com. Archived from the original on 1 January 2019. Retrieved 17 April 2018.
- ^ "Supported Platforms". docs.sel4.systems. Retrieved 23 November 2018.
- ^ "QNX Software Development Platform (SDP 7.0) | BlackBerry QNX". blackberry.qnx.com. Retrieved 27 July 2020.
- ^ "Wind River Releases 64-Bit VxWorks RTOS" (Press release). Wind River Systems. 28 February 2011. Retrieved 24 October 2023.
- ^ "Manjaro-ARM". Manjaro wiki. 20 June 2022.
- ^ Linus Torvalds (1 October 2012). "Re: [GIT PULL] arm64: Linux kernel port". Linux kernel mailing list (Mailing list). Retrieved 2 May 2019.
- ^ Larabel, Michael (27 February 2013). "64-bit ARM Version of Ubuntu/Debian Is Booting". Phoronix. Retrieved 17 August 2014.
- ^ "Debian Project News – August 14th, 2014". Debian. 14 August 2014. Retrieved 17 August 2014.
- ^ "Ubuntu Server for ARM". ubuntu.com.
- ^ "Architectures/AArch64". Retrieved 16 January 2015.
- ^ "Portal:ARM/AArch64". Retrieved 16 January 2015.
- ^ "SUSE Linux Enterprise 12 SP2 Release Notes". Retrieved 11 November 2016.
- ^ "Red Hat introduces ARM server support for Red Hat Enterprise Linux". redhat.com. Retrieved 18 January 2019.
- ^ "64-bit ARM architecture project update". The FreeBSD Foundation. 24 November 2014.
- ^ "OpenBSD/arm64". Retrieved 25 September 2023.
- ^ "NetBSD/arm64". Retrieved 5 August 2018.
- ^ "HP, Asus announce first Windows 10 ARM PCs: 20-hour battery life, gigabit LTE". Ars Technica. Retrieved 22 January 2018.
This new version of Windows 10 is Microsoft's first 64-bit ARM operating system. It'll run x86 and 32-bit ARM applications from the Store, and in due course, 64-bit ARM applications. However, Microsoft hasn't yet finalised its 64-bit ARM SDK. Many pieces are in place (there's a 64-bit ARM compiler, for example), but the company isn't yet taking 64-bit ARM applications submitted to the Store, and there aren't any 64-bit ARM desktop applications either.
- ^ Hassan, Mehedi (10 December 2016). "Windows 10 on ARM64 gets its first compiled apps". MSPoweruser.
- ^ Filippidis, Katrina (1 June 2018). "VLC becomes one of first ARM64 Windows apps". Engadget.
- ^ Sweetgall, Marc (15 November 2018). "Official support for Windows 10 on ARM development". Windows Developer. Windows Blogs. Microsoft. Retrieved 17 December 2019.
- ^ Gartenberg, Chaim (12 November 2020). "macOS Big Sur is now available to download". The Verge. Retrieved 13 November 2020.
- ^ Clover, Juli (23 June 2020). "Rosetta Won't Support x86 Virtualization Apps Running Windows". MacRumors. Retrieved 13 November 2020.
- ^ "ARM – The Official Wine Wiki". Retrieved 10 July 2015.
- ^ "ARM64 – The Official Wine Wiki". Retrieved 10 July 2015.
- ^ "ARM Security Updates". ARM Developer. Retrieved 24 May 2018.
Bibliography
[edit]- Evans, Matt (27 December 2019). The Ultimate Acorn Archimedes talk. Schedule 36 Chaos Communication Congress. YouTube. Archived from the original on 11 December 2021 – via media.ccc.de.
Further reading
[edit]External links
[edit]- Official website , ARM Ltd.
Architecture manuals
[edit]- ARM Limited (1996–2005). "ARM Architecture Reference Manual". documentation-service.arm.com. Retrieved 16 July 2021. - covers ARMv4, ARMv4T, ARMv5T, (ARMv5TExP), ARMv5TE, ARMv5TEJ, and ARMv6
- ARM Limited (2007–2018). "Armv6-M Architecture Reference Manual". ARM documentation. Retrieved 17 July 2021.
- ARM Limited (2007–2018). "ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition". ARM documentation. Retrieved 17 July 2021.
- ARM Limited (2006–2021). "ARMv7-M Architecture Reference Manual". ARM documentation. Retrieved 24 August 2022.
- ARM Limited (2013–2022). "Arm Architecture Reference Manual for A-profile architecture". ARM documentation. Retrieved 24 August 2022.
- ARM Limited (2016–2020). "ARM Architecture Reference Manual Supplement - ARMv8, for the ARMv8-R AArch32 architecture profile". ARM documentation. Retrieved 17 July 2021.
- ARM Limited (2020–2022). "Arm Architecture Reference Manual Supplement - Armv8, for Armv8-R AArch64 architecture profile". ARM documentation. Retrieved 24 August 2022.
- ARM Limited (2015–2022). "Armv8-M Architecture Reference Manual". ARM documentation. Retrieved 24 August 2022.
- ARM Limited (2021). "Arm Armv9-A A64 Instruction Set Architecture". ARM documentation. Retrieved 17 July 2021.
- "ARM Virtualization Extensions". Archived from the original on 18 December 2013.
Quick-reference cards
[edit]Instructions
[edit]- Thumb Archived 20 June 2020 at the Wayback Machine
- ARM and Thumb-2 Archived 20 June 2020 at the Wayback Machine
- Vector Floating Point Archived 19 June 2020 at the Wayback Machine
Opcodes
[edit]- Thumb Archived 30 July 2022 at the Wayback Machine. Additional archives: 22 August 2022.
- ARM Archived 7 June 2022 at the Wayback Machine. Additional archives: 22 August 2022.
- GNU Assembler Directives Archived 30 April 2022 at the Wayback Machine. Additional archives: 22 August 2022.