ARM NEON how can i change value with a index

[亡魂溺海] 提交于 2019-12-25 05:06:54

问题


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


return pArray[value];
}

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

thanks for your help!!


回答1:


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.



来源:https://stackoverflow.com/questions/11502332/arm-neon-how-can-i-change-value-with-a-index

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!