The invention discloses a logical resource sharing method for a special
instruction set processor. The method comprises steps of S1, an optimal transformation set being partitioned, and a
similarity matrix R being partitioned according to columns; S2, for unshielded elements of each block, scanning the value of each element line by line from the first row and the first column, and searching the maximum element value gamma i, j appearing for the first time as a
growth point for further expansion; S3, searching a maximum element value gamma i, a appearing for the first time in the ith row indicated by the coordinates (i, j) of the growing points, searching a maximum element value gamma j, b appearing for the first time in the jth row, and then shielding all element values in the ith row and the jth row; S4, judging the newly found element values gamma i, a and gamma j, b, and if all the elements are 0, continuing; otherwise, shielding or repeating the step; and S5, grouping and archiving the calculation
modes generated in the step S4. The method has advantages of being simple in principle, easy to implement, capable of improving calculation efficiency and
resource utilization rate and the like.