首页> 外文OA文献 >Faster population counts using AVX2 instructions
【2h】

Faster population counts using AVX2 instructions

机译:使用AVX2指令加快人口计数

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。
获取外文期刊封面目录资料

摘要

Counting the number of ones in a binary stream is a common operation in database, information-retrieval, cryptographic and machine-learning applications. Most processors have dedicated instructions to count the number of ones in a word (e.g., popcnt on x64 processors). Maybe surprisingly, we show that a vectorized approach using SIMD instructions can be twice as fast as using the dedicated instructions on recent Intel processors. The benefits can be even greater for applications such as similarity measures (e.g., the Jaccard index) that require additional Boolean operations. Our approach has been adopted by LLVM: it is used by its popular C compiler (Clang).
机译:在数据库,信息检索,密码学和机器学习应用程序中,对二进制流中的1进行计数是一种常见的操作。大多数处理器都有专门的指令来计算一个单词的个数(例如,x64处理器上的popcnt)。也许令人惊讶的是,我们证明了使用SIMD指令的矢量化方法的速度可以是使用最新Intel处理器上专用指令的速度的两倍。对于诸如相似性度量(例如,Jaccard索引)之类的需要附加布尔运算的应用,其益处甚至更大。 LLVM已采用了我们的方法:流行的C编译器(Clang)使用了该方法。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号