Exploiting SIMD instructions in current processors to improve classical string algorithms

  • Authors:
  • Susana Ladra;Oscar Pedreira;Jose Duato;Nieves R. Brisaboa

  • Affiliations:
  • Database Laboratory, Universidade da Coruña, Spain;Database Laboratory, Universidade da Coruña, Spain;Parallel Architectures Group, Universitat Politècnica de València, Spain;Database Laboratory, Universidade da Coruña, Spain

  • Venue:
  • ADBIS'12 Proceedings of the 16th East European conference on Advances in Databases and Information Systems
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

Current processors include instruction set extensions especially designed for improving the performance of media, imaging, and 3D workloads. These instructions are rarely considered when implementing practical solutions for algorithms and compressed data structures, mostly because they are not directly generated by the compiler. In this paper, we proclaim their benefits and encourage their use, as they are an unused asset included in almost all general-purpose computers. As a proof of concept, we perform an experimental evaluation by straightforwardly including some of these complex instructions in basic string algorithms used for indexing and search, obtaining significant speedups. This opens a new interesting line of research: designing new algorithms and data structures by taking into account the existence of these sets of instructions, in order to achieve significant speedups at no extra cost.