问题
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