Method and apparatus for compressing vector data, method and apparatus for decompressing vector data, and device
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsZimu REN, Dongsheng Li
Life of this patent
Estimating the term…
Loading patent…
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsZimu REN, Dongsheng Li
Estimating the term…
The present subject matter relates to the field of data processing technologies. Source vector data is stored in a source vector register. The source vector data is divided into n source sub-vectors. The n source sub-vectors are in a one-to-one correspondence with n sets of multiplexers. First valid elements in a source sub-vector are selectively arranged by multiplexers in the n sets of multiplexers in the source vector data to obtain a target sub-vector. A data merging apparatus shifts and merges n target sub-vectors corresponding to the n source sub-vectors to obtain target vector data. A target vector register stores second valid elements in the target vector data. Through the method, the apparatus, and the device, a congestion level of wires can be effectively reduced, thereby significantly reducing an area of a processor.
A method for compressing vector data by a processor comprising a source vector register, n sets of multiplexers, a data merging apparatus, and a target vector register, where n is an integer greater than 1, the method comprising:
A method for decompressing vector data by a processor comprising a target vector register, a data splitting apparatus, and n sets of multiplexers, wherein n is an integer greater than 1, the method comprising:
A method for compressing and decompressing vector data by a processor comprising a source vector register, a target vector register, n sets of multiplexers, a data merging apparatus, and a data splitting apparatus, where n is an integer greater than 1, the method comprising:
Dependencies are inferred from the claim text.