ARM vs x86: What's the difference?

06/01/2023 Seektronics


This article is about the difference between arm architecture and x86 architecture

What is the ARM Architecture

 

The ARM architecture, formerly known as AdvancedRISCMachine (earlier: AcornRISCMachine), is a 32-bit Reduced Instruction Set (RISC) processor architecture that is widely used in many embedded system designs. Due to its energy-saving features, the ARM processor is well suited for mobile communications, in line with its primary design goal of low power consumption.

 

ARM processors can be found in many consumer electronics products, from portable devices (PDAs, cell phones, multimedia players, handheld video games, and computers) to computer peripherals (hard drives, desktop routers) and even in military installations such as missile-based computers. It is found in military facilities such as bullet-loaded computers. There are also a number of ARM-based design derivatives, including Marvell's XScale architecture and Texas Instruments' OMAP family of products.

 

ARM Architecture Diagram

 

The following figure shows the ARM architecture diagram. It consists of a 32-bit ALU, several 32-bit general purpose registers and status registers, 32&TImes;8-bit multipliers, 32&TImes;32-bit bucket shift registers, instruction decoding and control logic, instruction pipeline, and data/address registers.

 

1, ALU: It has two operand latches, adders, logic functions, results, and zero detection logic composition.

 

2, barrel shift registers: ARM uses 32 & TImes; 32-bit barrel shift registers, which can make in the left shift / right shift n bits, ring shift n bits and arithmetic right shift n bits can be completed at once.

 

3, high-speed multiplier: multipliers generally use the "plus one shift" method to achieve multiplication, ARM in order to improve the speed of operations, the use of two multiplication method, according to the multiplier of two bits to achieve "plus one shift" operation; ARM high-speed multiplier using 32 & TImes; 8-bit structure, so that the integration can be reduced (the corresponding chip area is less than 1/3 of the parallel multiplier).

 

4, floating point components: floating point components are used as options for ARM architecture. fp10 floating point gas pedal is connected to ARM as a co-processing method and is executed through the interpretation of co-processing instructions.

 

5Controller: ARM's controller is a hard-wired programmable logic array PLA.

 

6Registers

 

 

 

 

x86 architecture

 

 

 

 

According to different motherboards, platforms, the architecture is slightly different, for example, many motherboards have integrated the North Bridge into the CPU, the South Bridge into the PCH, but the general framework is still the same. The following is a brief introduction to each of the contents of this architecture diagram:

 

1: CPU, we are no stranger to the term, the central processing unit, the core brain of the computer.

 

2: North Bridge (North Bridge Chipset): North Bridge is a chip on the computer's motherboard, located in the CPU socket side, play a role in connecting.

 

3: South Bridge chip (South Bridge) is an important part of the motherboard chipset, generally located on the motherboard far from the CPU socket below, near the PCI slot, this layout is to take into account that it is connected to the I/O bus more, far from the processor is conducive to wiring.

 

4: Memory is one of the important components in a computer, it is the bridge to the CPU for communication. All programs in the computer run in memory, so the performance of memory has a great impact on the computer.

 

5: Video card (Video card, Graphics card) full name display interface card, also known as display adapter, is the most basic configuration of the computer, one of the most important accessories.

 

6Display j interface

 

7: Network card is a network component working in link layer, it is the interface connecting computer and transmission medium in LAN, it not only can realize the physical connection and electrical signal matching with the transmission medium of LAN, but also involves the function of frame sending and receiving, frame encapsulation and unpacking, medium access control, data encoding and decoding, and data caching, etc.

 

8: The basic function of a sound card is to convert the original sound signal from a microphone, tape, or CD and output it to headphones, speakers, amplifiers, recorders, and other sound devices, or to make a beautiful sound from a musical instrument through a digital interface for music devices (MIDI).

 

9: SATA (Serial Advanced Technology Attachment, Serial Advanced Technology Attachment) is an industry-standard serial hardware drive interface based on the hard drive interface specification proposed by Intel, IBM, Dell, APT, Maxtor and Seagate.

 

10: A hard drive is one of the primary storage media for a computer and consists of one or more aluminum or glass discs. The discs are covered with a ferromagnetic material.

 

11: Bus

 

What is the difference between arm architecture and x86 architecture?

 

I. Performance

 

X86 structure of the computer in any case than the ARM structure of the system in terms of performance is much faster, much stronger. x86 CPU is casually more than 1G, dual-core, quad-core prevalent, usually using 45nm (or even more advanced) process for production; and ARM: CPU is usually a few hundred megabytes, only recently appeared about 1G CPU, the process is usually used less than 65nm process, it can be said that in terms of performance and production process ARM is not the rival of X86 structure system.

 

using RISC pipeline instruction set, in the completion of comprehensive work is simply at a disadvantage, and in some relatively fixed tasks of the application of its advantages can be brought to full play.

 

II. The ability to expand

 

X86 architecture computers are connected to expansion devices (e.g., hard disk, memory, etc.) by means of a "bridge", and since x86 architecture computers have been around for nearly 30 years, they have a wide variety of expansion devices and are relatively inexpensive, so x86 architecture computers can easily be expanded in performance, such as adding memory, hard disk, etc.

 

The ARM architecture computer is connected to the CPU and data storage device through a special data interface, so it is difficult to expand the performance of ARM storage and memory (usually the capacity of memory and data storage has been set at the time of product design), so the system with ARM architecture is generally not considered to expand. The basic principle of "enough is good enough" is followed.

 

III. The compatibility of the operating system

 

The X86 system is unified by the Wintel Alliance built by Microsoft and Intel, which has monopolized the personal computer operating system for nearly 30 years, forming a huge user base and deeply curing the habits of many users. Almost all x86 hardware platforms can directly use Microsoft Windows and almost all the popular tools and software, so x86 systems have unparalleled advantages in terms of compatibility.

 

ARM systems almost all use Linux operating system, and almost all hardware systems have to build their own system separately, which is not compatible with other systems, which also leads to its application software can not be easily transplanted, which has been seriously restricting the development and application of ARM systems. After GOOGLE developed the open Android system, it unified the operating system of ARM structured computer, so that the new computer system based on ARM structure has a unified, open and free operating system, which provides strong support and power for the development of ARM.

 

 

IV. The convenience of software development and the diversity of tools available

 

The X86 architecture system has been launched for nearly 30 years, and during this period, the X86 computer has reached a very mature and even perfect state in terms of user applications, software support, software development tools and compatibility, etc. After a golden period of rapid development. So with X86 computer systems there is not only a large selection of third-party software available but also a large number of software programming tools to help you do the work you want to do.

 

The Arm architecture of computer systems is constrained by hardware performance, operating system streamlining, and system compatibility issues, making it impossible for Arm architecture computer systems to have as many programming tools and third-party software to choose from and use as X86 computer systems.

 

A more direct conclusion of this comparison is that it is easier, simpler, and less expensive to develop software based on the x86 architecture computer system platform than the arm architecture system, and it is easier to find third-party software (eliminating the time and cost of developing it yourself), and it is easier to port the software.

 

From the above comparative analysis, it gives us a very clear feeling that ARM and X86 structured computers are not comparable at all, and ARM is not the rival of X86 computers. If we consider only the aspects mentioned above, ARM is unable to compete with X86 computers and is not even qualified for comparison. However, in the past 1 or 2 years, ARM products in terminal applications, especially handheld terminal applications (such as: smartphones, tablet PCs, etc.), the number of sales has far exceeded the number of x86 structured computer sales, it can be seen that ARM has its advantages with the X86 structured computer can not be compared. The advantage is: power consumption.

 

V. Power consumption

 

X86 computer to adapt to the needs of a variety of applications, the development of the idea is: performance + speed. 20 years of x86 computer speed from the original 8088 a few M development to now casually is a few G, and still a few cores, its speed and performance has been improved by thousands and thousands of times, technical progress has made x86 computer become an indispensable part of the public life. However, the direction and mode of development of x86 computers, so that its power consumption has been high, a computer is casually hundreds of watts, even the so-called low-power energy-saving laptop or netbook, there are more than 10, 20 watts of power consumption, which can not be compared with the ARM structure of the computer.