DSP6713 数据对齐函数
时间: 2024-06-07 13:08:57 浏览: 19
DSP6713 是德州仪器(TI)公司推出的一款数字信号处理器,其数据对齐函数包括:
1. `void *memcpy_fast(void *restrict dst, const void *restrict src, int count)`
该函数用于将内存块从 src 复制到 dst,count 表示复制的字节数。该函数将数据对齐方式设置为按字节对齐。
2. `void *memset_fast(void *dst, int c, int count)`
该函数用于将 dst 内存块中的每个字节都设置为 c,count 表示内存块的大小。该函数将数据对齐方式设置为按字节对齐。
3. `void *memmove_fast(void *dst, const void *src, int count)`
该函数用于将内存块从 src 移动到 dst,count 表示移动的字节数。该函数将数据对齐方式设置为按字节对齐。
4. `void *memcpy_16bit(void *restrict dst, const void *restrict src, int count)`
该函数用于将内存块从 src 复制到 dst,count 表示复制的字节数。该函数将数据对齐方式设置为按 16 位对齐。
5. `void *memset_16bit(void *dst, int c, int count)`
该函数用于将 dst 内存块中的每个 16 位字都设置为 c,count 表示内存块的大小。该函数将数据对齐方式设置为按 16 位对齐。
注意,这些函数只适用于 DSP6713 处理器,其他处理器可能需要使用不同的函数来实现数据对齐。
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)