A system, comprising: a matrix processor unit (101, 201), including: a first type of register configured to concurrently store values of a plurality of different rows of a first matrix, wherein the first matrix is a weight matrix, wherein at least a portion of the first type of register is logically divided into groups of elements, and each of the groups corresponds to a different row of the first matrix; wherein each of the groups of elements of the first type of register is separated by zero-value elements; and wherein the first type of register is further configured to broadcast contents to each of a plurality of calculation units (111, 121, 131, 141); a group of a second type of registers, wherein each of the second type of registers is configured to concurrently store values from a plurality of different rows of a second matrix corresponding to a two-dimensional slice of the second matrix; and wherein the second matrix is a data matrix; and wherein each of the plurality of calculation units (111, 121, 131, 141) corresponds to one of the second type of registers, wherein in response to receiving a depthwise convolution operation instruction specifying the first matrix and the second matrix, each of the calculation units (111, 121, 131, 141) is configured to load the stored contents of the second type of register into the calculation unit as a data input vector and multiply each value stored in the first type of register with a corresponding value stored in the corresponding data input vector and sum together multiplication results of the corresponding calculation unit to at least in part determine a corresponding element in a result matrix of convoluting the second matrix with the first matrix. a matrix processor unit (101, 201), including: a first type of register configured to concurrently store values of a plurality of different rows of a first matrix, wherein the first matrix is a weight matrix, wherein at least a portion of the first type of register is logically divided into groups of elements, and each of the groups corresponds to a different row of the first matrix; wherein each of the groups of elements of the first type of register is separated by zero-value elements; and wherein the first type of register is further configured to broadcast contents to each of a plurality of calculation units (111, 121, 131, 141); a group of a second type of registers, wherein each of the second type of registers is configured to concurrently store values from a plurality of different rows of a second matrix corresponding to a two-dimensional slice of the second matrix; and wherein the second matrix is a data matrix; and a first type of register configured to concurrently store values of a plurality of different rows of a first matrix, wherein the first matrix is a weight matrix, wherein at least a portion of the first type of register is logically divided into groups of elements, and each of the groups corresponds to a different row of the first matrix; wherein each of the groups of elements of the first type of register is separated by zero-value elements; and wherein the first type of register is further configured to broadcast contents to each of a plurality of calculation units (111, 121, 131, 141); a group of a second type of registers, wherein each of the second type of registers is configured to concurrently store values from a plurality of different rows of a second matrix corresponding to a two-dimensional slice of the second matrix; and wherein the second matrix is a data matrix; and wherein each of the plurality of calculation units (111, 121, 131, 141) corresponds to one of the second type of registers, wherein in response to receiving a depthwise convolution operation instruction specifying the first matrix and the second matrix, each of the calculation units (111, 121, 131, 141) is configured to load the stored contents of the second type of register into the calculation unit as a data input vector and multiply each value stored in the first type of register with a corresponding value stored in the corresponding data input vector and sum together multiplication results of the corresponding calculation unit to at least in part determine a corresponding element in a result matrix of convoluting the second matrix with the first matrix.