ARM NEON我怎么可以改变值与指数 [英] ARM NEON how can i change value with a index

查看:330
本文介绍了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天全站免登陆