SSE SSE2 and SSE3 for GNU C++

前端 未结 5 1993
清酒与你
清酒与你 2020-12-07 07:35

Is there a simple tutorial for me to get up to speed in SSE, SSE2 and SSE3 in GNU C++? How can you do code optimization in SSE?

5条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-07 07:59

    Check out the -mtune and -march options, -msse*, and -mfpmath of course. All of those enable GCC to do SSE-specific optimizations.

    Anything beyond that is the realm of Assembler, I am afraid.

    GCC Online Manual - i386 and x86_64 Options

提交回复
热议问题