The invention provides a shuffle switch matrix compression method based on mode shift, which comprises the following steps: 1, presetting an SF_Table as the table for storing a shuffle mode, setting data
granularity for a current shuffle request to be the minimum data
granularity supported by a
crossbar switch, and compressing according to the current
granularity index method; 2, judging whether mode shift relation exists between the compressed shuffle mode for the current shuffle request and a certain table entry in the shuffle mode table; if yes,
jumping to step 3, otherwise,
jumping to step 4; 3, keeping the shuffle mode table unchanged, adding corresponding shuffle mode address information and
relative shift information to a current shuffle command, and then
processing the next shuffle request; and 4, adding the current shuffle mode to the shuffle mode table, adding corresponding shuffle mode address information and
relative shift information to the current shuffle command, and
processing the next shuffle request. The shuffle
switch matrix compression method is simple, is convenient to operate and has the advantages of wide application range, improved compression efficiency and the like.