Architectural support for SWAR text processing with parallel bit streams

2009; ACM SIGARCH; Volume: 37; Issue: 1 Linguagem: Inglês

10.1145/2528521.1508283

ISSN

1943-5851

Autores

Robert D. Cameron, Dan Lin,

Tópico(s)

Advanced Data Storage Technologies

Resumo

Parallel bit stream algorithms exploit the SWAR (SIMD within a register) capabilities of commodity processors in high-performance text processing applications such as UTF-8 to UTF-16 transcoding, XML parsing, string search and regular expression matching. Direct architectural support for these algorithms in future SWAR instruction sets could further increase performance as well as simplifying the programming task. A set of simple SWAR instruction set extensions are proposed for this purpose based on the principle of systematic support for inductive doubling as an algorithmic technique. These extensions are shown to significantly reduce instruction count in core parallel bit stream algorithms, often providing a 3X or better improvement. The extensions are also shown to be useful for SWAR programming in other application areas, including providing a systematic treatment for horizontal operations. An implementation model for these extensions involves relatively simple circuitry added to the operand fetch components in a pipelined processor.

Referência(s)