DOMESTIC PRODUCED CPU SW-1600 ORIENTED VECTOR REGROUP
Pla Information · Computer Applications and Software · 2011
Since vectorized regroup instructions are comparatively complex whereas different instructions correspond to different delays,it is hard to find out a uniform and efficient vector regroup algorithm.The paper analyzes shifting and insertion/extraction instructions that are offered by domestic produced CPU SW-1600,and presents an optimal algorithm that only depends on shifting or insertion/extraction instructions to realize vector regroup as well as an efficient algorithm that integrates the two types of instructions to realize vector regroup.At last it is proven by experiments that the algorithms can better vectorize programs.The speedup ratio for integer type values reaches 7.31 while that for complex double precision float type programs reaches 1.83.