From 9e3c0bf4512865b7b5cd0ef2f46ac79fa12b4e86 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 22 Feb 2015 15:17:24 +0100 Subject: Prefetch bucket accumulator The bucket add is a hotspot. --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index 6ba36c4..d804ab1 100644 --- a/wscript +++ b/wscript @@ -15,7 +15,7 @@ def configure(conf): conf.check_cc (lib='amdlibm', header_name='amdlibm.h', mandatory=False, define_name='HAVE_AMDLIBM', uselib_store='amdlibm') # does not work - #conf.check_cc (function_name='__builtin_ia32_rdrand64_step', define_name='HAVE_RDRAND64') + conf.check_cc (function_name='__builtin_prefetch', define_name='HAVE_BUILTIN_PREFETCH') conf.write_config_header ('config.h') def build(bld): -- cgit v1.2.3