NEON中的vshr指令中位移数量参数必须为compile time literal constant,因为该参数是被encoded as part pf ARM instruction itself. 同时像vshl; vext指令也是一样.对于某些运行时时的位移参数变化不多的情况,可以考虑使用switch语句来达到目标. 注意,必须是compiile time literal constant,而不是使用个const关键字就可以了.比如下面两种情况: void func(int arg) {
转自:http://blog.csdn.net/fengbingchun/article/details/38020265 版权声明:本文为博主原创文章,未经博主允许不得转载. “ARM Advanced SIMD”,nick-named “NEON”, it provides:(1).A set of interesting scalar/vectorinstructions and registers(the latter are mapped to the same chip area a