arrow
Return

Accelerating Huffman Encoding Using 512-Bit SIMD Instructions

delete2024-02-01
delete1
PRE
AI
Y
Yue Yu
Z
Zhe Zhao
S
Sian-Jheng Lin *
W
Weihai Li
DOI:10.1109/TCE.2023.3347229delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Based on 512-bit SIMD instructions, a Huffman encoding implementation, termed Huffman-SIMD, is proposed. The proposed implementation consists of four parts: establishing the Huffman coding table, data initialization, look-up table, and shifting and merging data. We establish the code table according to the characteristics of SIMD instructions. The code table is divided into eight sub-tables, with every two sub-tables in a group. It uses flag bits in each storage item to distinguish codewords from non-codewords, so the code table does not need to store the length of codewords in order to reduce the use of registers. After accelerating the table lookup operation using SIMD instruction, the valid size in each entry is different. Therefore, the shift merging algorithm is designed to operate on data and eliminate the spacing between data. This paper uses three datasets, Calgary, Silesia and Canterbury, to evaluate the implementation and compare it with the existing Huff0 library. The throughput is improved by 12.01% on average. Thus the implementation proposed in this paper improves the coding efficiency.
Keywords:
Encoding
Symbols
Decoding
Codes
Throughput
Registers
Huffman coding
Huffman code
SIMD instructions
encoding algorithm

Journal

IEEE Transactions on Consumer Electronics cover
IEEE Transactions on Consumer Electronics
IF:
10.9
Papers:
5.3K
Citations:
6.8K

Organization

C
chinese academy of sciences
Scholars:
56.7W
Papers: 45.0W
Citations: 704
Cited Papers

Cited Papers

errShare
errSave
errShare
errSave
errShare
errSave
A General SIMD-Based Approach to Accelerating Compression Algorithms
err2015-03-23
err22
errOAAI
errZhao, Wayne Xin; Zhang, Xudong; Lemire, Daniel; Shan, Dongdong; Nie, Jian-Yun; Yan, Hongfei; Wen, Ji-Rong
errShare
errSave
Dental Biopolymer Composites with Antibiotics, Bisphosphonate, and Hydroxyapatite for Possible Use in Bone Tissue Regeneration
err2024-01-22
err0
errOAAI
errMihaela Maria Budiul; Gabriela Vlase; Daniel Negru; Dorinel Okolišan; Ionela-Amalia Bradu; Alexandra Tăşală; Alexandru Pahomi; Titus Vlase; Daniela Jumanca; Atena Galuscan; Paula Sfirloaga; Nicoleta Carabă; Roxana Popescu; Anamaria Matichescu
errShare
errSave
errShare
errSave
researcher View more