For example, creating a 3D game with physics. Analyzed CPUID, received information about extensions. Further, where to use them? In any calculations? Or in the most critical? Maybe to work with matrices? And after all these SSE are many different, and not only SSE. What, where, for what it is better to use them? It is impossible to leave them in a non-working state?

Closed due to the fact that the question is too common for participants Harry , user194374, Alex , Denis Bubnov , aleksandr barakin 22 Dec '16 at 19:56 .

Please correct the question so that it describes the specific problem with sufficient detail to determine the appropriate answer. Do not ask a few questions at once. See “How to ask a good question?” For clarification. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • 3
    The answer to the question "where to use them" is a profiler! Analyze cpuid to decide which sse to use .... if we are talking about sse, and not about sse2, sse3, then most likely the gamers will not even have such a computer, which would not support it :) - KoVadim
  • I am sure that finding a computer without sse2 / sse3 will not be easier, especially among gamers. - Arnial
  • That is not the point. - user185136
  • Use in cases where a) is possible, b) is justified. You can switch from assembly to C ++. Modern compilers to the fullest use all the capabilities of processors. - Alexander Petrov

1 answer 1

The answer will be exactly the same as for any optimizations: the profiler is taken, bottlenecks are searched for in the program, one or another optimization method is used (in your case, SSE), it is checked whether there is an improvement, and whether the game is worth the candle (see Amdala ).

Yes, the answer is not very specific, but it is hardly possible to give a more specific answer to such a general question ...