Data shuffling method

A data and shuffling technology, applied in electrical digital data processing, program control design, instruments, etc., can solve the problems of inability to support multiple source shuffling operations, shuffling operations cannot be supported, etc., to reduce the number of instructions and improve execution. effect of speed

Inactive Publication Date: 2011-11-23
江苏芯动神州科技有限公司
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, the current technical solution can only support the operation of one source, and cannot support the shuffling operation of multiple sources
Moreover, in the processing of a large amount of communication data, sometimes the user needs to keep part of the data in the destination register, while other parts normally receive the shuffled data, and the data in the source register remains unchanged, but the current shuffling operation cannot support

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data shuffling method
  • Data shuffling method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and through specific implementation methods.

[0018] figure 1 is a schematic diagram of the data shuffling operation in the specific embodiment of the present invention. Such as figure 1 As shown, the three source registers VRi, VRm and VRn, the configuration register VR16 and the destination register VRd are all 256-bit vector registers, all of which can store 16 pieces of 16-bit data.

[0019] Firstly, the data to be shuffled is stored in three source registers VRi, VRm and VRn, and the data of the three source registers VRi, VRm and VRn are combined and sorted together.

[0020] Secondly, from the 48 16-bit data to be shuffled in the three source registers VRi, VRm and VRn, select the same number as the number of data that can be stored in the configuration register VR16, that is, 16 data to be shuffled in the source register The number o...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

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.

Description

technical field [0001] The invention relates to the technical field of microprocessors, in particular to a data shuffling method. Background technique [0002] With the advancement of processor technology, users usually expect and need their computer's performance to be higher and higher, so the processor's data parallel processing becomes particularly important, and the requirements for fast shuffling are also getting higher and higher. [0003] In the existing shuffling operation, the first operand stores the data to be shuffled, and the second operand includes a set of shuffling control mask bytes to specify the shuffling mode. For example, a 128-bit register is divided into 16 byte counts, so four bits are required to indicate the number of data elements in the source operand. If most significant bit 7 of the shuffling control byte is set, a constant zero is written to the result byte. Otherwise, if a certain byte of the second operand is represented as byte I. Its le...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/30G06F9/315
Inventor 王艳艳孙瑞玮
Owner 江苏芯动神州科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products