This round of learning process mainly focuses on the learning of ARM NEON technology, mainly including the learning of instructions and the summary of programming skills.
ARM NEON technology is an optional component of the ARMv7 architecture. NEON is a 64/128-bit hybrid SIMD technology for advanced media and signal processing applications and embedded processors. It is implemented as part of the ARM core, but has its own execution pipeline and register set, which is different from the ARM core register set.
NEON supports integer, fixed-point, and single-precision floating-point SIMD operations. These instructions are available in both ARM and Thumb-2.
NEON extension register set:
--- 16-128bit four-word register Q0~Q15
--- 32-64bit double word register D0~D31
Many NEON data processing instructions are available in normal, long, wide, narrow, and saturating variants. NEON instructions can process:
* A doubleword vector consisting of:
---8 8-bit elements
---4 16-bit elements
---2 32-bit elements
---1 64-bit element
* A quadword vector consisting of
---16 8-bit elements
---8 16-bit elements
--- 4 32-bit elements
--- 2 64-bit elements
Normal instructions
Normal instructions can operate on any of the above vector types and produce a result vector of the same size and usually the same type as the operand vector. You can specify that the operands and results of normal instructions must all be quadwords by appending Q to the instruction mnemonic. When this is specified, the assembler generates an error if either the operand or the result is not a quadword.
Long instructions
Long instructions operate on doubleword vector operands and produce a quadword vector result. The elements produced are usually twice the width of the operand elements and are of the same type. Long instructions are specified by appending L to the instruction mnemonic.
Wide Instructions
Wide instructions operate on a doubleword vector operand and a quadword vector operand. Such instructions produce a quadword vector result. The elements produced and the elements of the first operand are twice the width of the elements of the second operand. Wide instructions are specified by appending W to the instruction mnemonic.
Narrow instructions
Narrow instructions operate on quadword vector operands and produce doubleword vector results. The elements produced are usually half the width of the operand elements.
Narrow instructions are specified by appending N to the instruction mnemonic.
Saturation Instructions
Saturating instructions are specified by using a Q prefix between the V and the instruction mnemonic.
Previous article:ARM LCD and LCD controller
Next article:Establish ARM cross-compilation environment (arm-none-linux-gnueabi-gcc with EABI)
- Popular Resources
- Popular amplifiers
- Detailed explanation of big data technology system: principles, architecture and practice (Dong Xicheng)
- Multi-port and shared memory architecture for high-performance ADAS SoCs
- Machine Learning: Architecture in the Age of Artificial Intelligence
- Research and design of electric vehicle drive motor ECU control software based on AUTOSAR
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- The role and selection of input and output capacitors in power supplies
- It's all here! TI mmWave radar product information and software download links
- Share: Detailed explanation of induction cooker control using single chip microcomputer
- Can Tantalum Capacitors Replace MLCC?
- [NXP Rapid IoT Review] + Remotely modify display data
- How to use Namisoft to make spectrum analyzer capture screen and send it to computer through SCPI command
- Quartz crystal
- Is there any relationship between the cutoff frequency and the resonant frequency? Is the transmitted power the highest when it is in resonance?
- High salary recruitment: automotive mold sales engineer
- 2012 Competition Award-winning Papers, Source Code, PCB (Part 3)