summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/cl.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/core/tools/cl.lua')
-rw-r--r--xmake/modules/core/tools/cl.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua
index cc19978b9..2a0bc556c 100644
--- a/xmake/modules/core/tools/cl.lua
+++ b/xmake/modules/core/tools/cl.lua
@@ -184,6 +184,7 @@ function nf_vectorext(self, extension)
, sse2 = "-arch:SSE2"
, avx = "-arch:AVX"
, avx2 = "-arch:AVX2"
+ , fma = "-arch:AVX2"
}
local flag = maps[extension]
if flag and self:has_flags(flag, "cxflags") then