summaryrefslogtreecommitdiff
path: root/xmake/core/base/cpu.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-04-06 00:00:05 +0800
committerruki <[email protected]>2021-04-06 00:00:05 +0800
commit1bc903433851185dff0aa276db7142d1d5ccbba0 (patch)
tree59363687d93a586ca569acbf58da0ad8d991451c /xmake/core/base/cpu.lua
parentc63cac076ef07bac7884e93e96b926f9406abd2c (diff)
update comments
Diffstat (limited to 'xmake/core/base/cpu.lua')
-rw-r--r--xmake/core/base/cpu.lua9
1 files changed, 3 insertions, 6 deletions
diff --git a/xmake/core/base/cpu.lua b/xmake/core/base/cpu.lua
index 4e3231cab..47d503e32 100644
--- a/xmake/core/base/cpu.lua
+++ b/xmake/core/base/cpu.lua
@@ -28,10 +28,8 @@ local io = require("base/io")
-- get cpu micro architecture for Intel
--
--- @see https://en.wikipedia.org/wiki/List_of_Intel_CPU_microarchitectures
--- http://www.intel.com/content/www/us/en/processors/architectures-software-developer-manuals.html
--- https://github.com/tesseract-ocr/tesseract/blob/master/cmake/OptimizeForArchitecture.cmake
--- https://en.wikichip.org/wiki/intel/cpuid
+-- @see https://en.wikichip.org/wiki/intel/cpuid
+-- https://github.com/xmake-io/xmake/issues/1120
--
function cpu._march_intel()
local cpu_family = cpu.family()
@@ -129,8 +127,7 @@ end
-- get cpu micro architecture for AMD
--
--- @see https://en.wikipedia.org/wiki/List_of_AMD_CPU_microarchitectures
--- https://en.wikichip.org/wiki/amd/cpuid
+-- @see https://en.wikichip.org/wiki/amd/cpuid
--
function cpu._march_amd()
local cpu_family = cpu.family()