summaryrefslogtreecommitdiff
path: root/xmake/core/base/cpu.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/base/cpu.lua')
-rw-r--r--xmake/core/base/cpu.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/core/base/cpu.lua b/xmake/core/base/cpu.lua
index 0998afeb1..3e034da60 100644
--- a/xmake/core/base/cpu.lua
+++ b/xmake/core/base/cpu.lua
@@ -192,6 +192,11 @@ function cpu.march()
return march
end
+-- get cpu vector extensions
+-- TODO
+function cpu.vectorexts()
+end
+
-- get cpu number
function cpu.number()
return os.cpuinfo().ncpu