summaryrefslogtreecommitdiff
path: root/probe/gen.lua
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-08-11 02:31:34 +0000
committerMichael Forney <mforney@mforney.org>2019-08-12 02:24:38 +0000
commitc99cffd412a041586e8a475bbb75212f3746ca1d (patch)
tree7cd1538269ae21024285b2d5d2d02abc4c2513f7 /probe/gen.lua
parent43c67768e8b6655c9ae3276f3c2704181437bfea (diff)
strace: Probe for __builtin_popcount
Diffstat (limited to 'probe/gen.lua')
-rw-r--r--probe/gen.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/probe/gen.lua b/probe/gen.lua
index 082f697e..ab2cb3d2 100644
--- a/probe/gen.lua
+++ b/probe/gen.lua
@@ -7,6 +7,7 @@ probe('HAVE__MM_MOVEMASK_EPI8')
probe('HAVE__THREAD_LOCAL')
probe('HAVE___BUILTIN_CLZ')
probe('HAVE___BUILTIN_CTZL')
+probe('HAVE___BUILTIN_POPCOUNT')
local function probesize(var)
build('probesize', '$outdir/'..var, {'$dir/'..var, '|', 'scripts/probe-size.sh'}, {var=var})