summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/gcc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-02-25 00:53:20 +0800
committerruki <[email protected]>2023-02-25 00:53:20 +0800
commitb1cd84641fd56aeb204a045f80be0cecceb02b37 (patch)
treeb88a431bd55ea2f6080764d47b26bc54b2915530 /xmake/modules/core/tools/gcc.lua
parentf6b383d36a3679bc968bd4a3e7ceade92d950fcb (diff)
add fma
Diffstat (limited to 'xmake/modules/core/tools/gcc.lua')
-rw-r--r--xmake/modules/core/tools/gcc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua
index b8a05832c..84a1d187f 100644
--- a/xmake/modules/core/tools/gcc.lua
+++ b/xmake/modules/core/tools/gcc.lua
@@ -166,6 +166,7 @@ function nf_vectorext(self, extension)
, ssse3 = "-mssse3"
, avx = "-mavx"
, avx2 = "-mavx2"
+ , fma = "-mfma"
, neon = "-mfpu=neon"
}
return maps[extension]