Is there a header file with declarations of _intel_sse2_strcpy, _intel_sse2_strlen, etc Intel specific CRT-functions?

Is there a header file with declarations of _intel_sse2_strcpy, _intel_sse2_strlen, etc Intel specific CRT-functions?

My question is: Is there a header file with declarations of _intel_sse2_strcpy, _intel_sse2_strlen, etc Intel specific CRT-functions? Thanks in advance.

5 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.

no, we don't have such. 

the "_intel_sse2_strcpy" is not always used for any strcpy, it depends on many things - size of the buffer, data type, any over-lapping etc. so it's better to let the compiler to decide. 

why would you like to use it explicitly?

Jennifer 

Thanks, Jennifer.

>>...so it's better to let the compiler to decide. why would you like to use it explicitly?

I wanted to verify _intel_sse2_strcpy performance vs. a standard CRT-function strcpy and it is some kind of a very small R&D.

So, are there any Intel C++ compiler switches, related to inlining, or intrinsics, etc, which could force usage of _intel_sse2_strcpy?

Ok. "/Oi-" is the flag to avoid using _intel_sse2_strcpy like:

   > icl str_test.cpp --------will use the _intel_sse2_strcpy

   > icl /Oi- str_test.cpp ------- will not use the _intel_sse2_strcpy

>>Ok. "/Oi-" is the flag to avoid using _intel_sse2_strcpy like:
>>
>> > icl str_test.cpp --------will use the _intel_sse2_strcpy
>>
>> > icl /Oi- str_test.cpp ------- will not use the _intel_sse2_strcpy

Thank you, Jennifer!

Faça login para deixar um comentário.