Data shuffling method
The invention discloses a data shuffling method, which comprises the following steps of: storing data to be shuffled in two or more source registers; storing a position number, equal to the number of data which can be stored by a configuration register, of the data to be shuffled into the configurat...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a data shuffling method, which comprises the following steps of: storing data to be shuffled in two or more source registers; storing a position number, equal to the number of data which can be stored by a configuration register, of the data to be shuffled into the configuration register; and shuffling the data in the two or more source registers one by one according to the position number in the configuration register. By adoption of the technical scheme of the invention, the shuffling of one source, two sources or three sources can be supported; the number of instructions required by rearrangement application of multi-source data can be reduced by supporting multi-source shuffling operation; the execution speed of a processor is improved; maintenance of a part of data in a target register is supported; other parts of shuffled data are normally received; and the data in the source registers keeps invariable. |
---|