This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to shuffle bits and Check high bit value using Neon Intrinsics?

Note: This was originally posted on 1st November 2011 at http://forums.arm.com

Hi,

I am trying to convert a code written in SSE3 intrinsics to NEON SIMD  and am stuck because of a shuffle function.I have looked at the GCC Intrinsics ,ARM manuals but have not been able to find a solution

Is there any equivalent function for the _mm_shuffle_epi8 function in SSE3 .Any suggestions on how to implement this would be really appreciated since I cant seem to get past this.I know that a lookup-table exists ,but it does not do an initial comparison like the _mm_shuffle ,so i am not sure how to implement this.

Also,I need to check only the high bit values of each byte in a register.Is there any way to check the high-bit value of each element in a vector ?I looked at the manual and was not able to find anything relevant.Any help/info would be sincerely appreciated.

Cheers,



0