How to vectorize and optimize this functions in C?
问题 I have this functions, the result is correct but the compiler don't vectorize this. How can I achive that the compiler vectorize this and how can I optimize this codes? void LongNumSet( char *L, unsigned N, char digit ) { for (int i = 0; i < N; ++i){ L[i] = digit; } } void LongNumCopy( char *Vin, char *Vout, unsigned N ) { for ( int i=0; i< N; ++i ) { Vout[i] = Vin[i]; } } char LongNumAddition( char *__restrict Vin1, char * __restrict Vin2, char * __restrict Vout, unsigned N ) { char CARRY =