当前位置:网站首页>使用arm Neon操作,提高内存拷贝速度
使用arm Neon操作,提高内存拷贝速度
2022-07-05 08:43:00 【hankfu】
在arm CPU上,使用arm Neon操作,可以提高内存拷贝速度。
首先包含 Neon的头文件arm_neon.h。
#include <arm_neon.h>
再使用Neon操作。
p_u8x16_buffer = (volatile uint8x16_t* )p_u8_buffer;
for( i=0; i<i_data_num; i++ )
{
vst1q_u8( (uint8_t *) &p_u8x16_buffer[i], vrst16);
}
边栏推荐
- Mathematical modeling: factor analysis
- 剑指 Offer 09. 用两个栈实现队列
- Guess riddles (142)
- 我从技术到产品经理的几点体会
- Daily question - input a date and output the day of the year
- Tips 1: Web video playback code
- Example 003: a complete square is an integer. It is a complete square after adding 100, and it is a complete square after adding 168. What is the number?
- Numpy 小坑:维度 (n, 1) 和 维度 (n, ) 数组相加运算后维度变为 (n, n)
- Five design details of linear regulator
- 猜谜语啦(2)
猜你喜欢
随机推荐
Example 005: three numbers sorting input three integers x, y, Z, please output these three numbers from small to large.
Speech recognition learning summary
Typescript hands-on tutorial, easy to understand
696. 计数二进制子串
Is the security account given by Yixue school safe? Where can I open an account
319. 灯泡开关
[牛客网刷题 Day4] JZ35 复杂链表的复制
Halcon blob analysis (ball.hdev)
GEO数据库中搜索数据
猜谜语啦(11)
C language data type replacement
剑指 Offer 05. 替换空格
Several problems to be considered and solved in the design of multi tenant architecture
Numpy pit: after the addition of dimension (n, 1) and dimension (n,) array, the dimension becomes (n, n)
C# LINQ源码分析之Count
Cinq détails de conception du régulateur de tension linéaire
Basic number theory - fast power
Business modeling of software model | overview
How apaas is applied in different organizational structures
Latex improve