且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

/arch:AVX 是否启用 AVX2?

更新时间:2023-11-26 13:31:52

它指的是 AVX 而不是 AVX2.据微软称,这(主要)适用于浮点运算.无论此标志如何,VS2012 都支持 AVX2 内在函数.AVX 可用于 SandyBridge 和 IvyBridge 的 i3、i5 和 i7 变体.AVX2 始于 Haswell.

It refers to AVX not AVX2. According to Microsoft this applies (mostly) to floating point operations. VS2012 supports AVX2 intrinsic functions regardless of this flag. AVX is available on i3, i5 and i7 variants of SandyBridge and IvyBridge. AVX2 started with Haswell.