summaryrefslogtreecommitdiff
path: root/xmake/core/base/cpu.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-04-05 22:54:48 +0800
committerruki <[email protected]>2021-04-05 22:54:48 +0800
commit50f12b3ea0c8e3e5da5418cb2bbf3dda920c998f (patch)
treec09bf9bf3e017c8d38bd47ce05ea0712ade087bb /xmake/core/base/cpu.lua
parentd76dd37f176b2950891852d6eddce140c5543f5a (diff)
add todo
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