ARM NEON 如何使用索引更改值 [英] ARM NEON how can i change value with a index

查看:27
本文介绍了ARM NEON 如何使用索引更改值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

unsigned char changeValue(unsigned char pArray[256],unsigned char value)
{


return pArray[value];
}

我怎样才能用大约 uint8x8_t 的霓虹灯改变这个函数??

how can I change this function with neon with about uint8x8_t??

感谢您的帮助!!

推荐答案

你不能 - NEON 没有收集负载.您可以像这样处理的唯一情况是您想要返回 8 或 16 个连续字节值.

You can't - NEON does not have gathered loads. The only case that you can handle like this is when you want to return 8 or 16 contiguous byte values.

这篇关于ARM NEON 如何使用索引更改值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆