Processor and method for using two group of memory for matrix processing by processor
Processor and method for using two group of memory for matrix processing by processor
 CN 1,532,686 A
 Filed: 06/26/2000
 Published: 09/29/2004
 Est. Priority Date: 07/26/1999
 Status: Active Grant
First Claim
1. processor comprises:
 First group of register of storing first data matrix has the row of first number and the row of first number;
First element in first data matrix is stored on first line index and first column index;
Second group of register of storing second data matrix has the row of second number and the row of second number;
Second element in second data matrix is stored in second line index that equals first column index, and equals (after this second element is called the rotation pairing of first element) on the secondary series index of first line index;
AndRevise the logic of the rotation pairing of first element, to respond any modification of first element.
Chinese PRB Reexamination
Abstract
A processor has at least two sets of registers. The first set stores a matrix of data, and the second set stores a transposed copy of the matrix of data. When any portion of any row of the first set is modified, the corresponding portion of the column of the transposed copy in the second set is also automatically modified. A method of using two sets of registers for matrix processing by a processor includes storing a matrix of data into a first set of registers, the first set of registers having a first number of registers, each register comprising a first number of storage units, each storage unit storing an element of the matrix, and transposing the matrix of data into a second set of registers, the second set of registers having a second number of registers, each register comprising a second number of storage units. The method also includes referencing one of the first set of registers to operate on a row of the matrix of data, and referencing one of the second set of registers to operate on a column of the matrix of data.
26 Claims

1. processor comprises:

First group of register of storing first data matrix has the row of first number and the row of first number; First element in first data matrix is stored on first line index and first column index; Second group of register of storing second data matrix has the row of second number and the row of second number; Second element in second data matrix is stored in second line index that equals first column index, and equals (after this second element is called the rotation pairing of first element) on the secondary series index of first line index;
AndRevise the logic of the rotation pairing of first element, to respond any modification of first element.


2. the described processor of claim 1, wherein said logic is set to the new value of first element by the rotation pairing of first element, responds any variation of first element value.

3. the described processor of claim 2 also comprises the new value that is set to the rotation pairing of first element by first element, responds the logic of any variation of value of the rotation pairing of first element.

4. the described processor of claim 3, wherein:
The row of second number is more than or equal to the row of first number;
And the row of second number are more than or equal to the row of first number.

5. the described processor of claim 4 also comprises the logic of the element in the first or second line data matrix with single instruction of reference stores.

6. the described processor of claim 5, wherein:

First group of register comprises the register of first number, and each register comprises the storage unit of first number; Second group of register comprises the register of second number, and each register comprises the storage unit of second number;
AndThe storage unit of second number is more than or equal to the register of first number.


7. the described processor of claim 6, wherein the register of first number equals the register of second number.

8. the described processor of claim 7, wherein first group of register comprises the MMX register, and the register of first number is 8, and data matrix comprises view data.

9. method comprises:

Storage has first line index in first group of register and first data matrix of first element on first column index; Storage has second data matrix that second number is capable and second number is listed as, second matrix has in second group of register, in second line index that equals first column index and equaling second element (after this second element is called the rotation pairing of first element) on the secondary series index of first line index;
AndRevise the rotation pairing of first element, to respond any modification of first element.


10. the described method of claim 9, the rotation pairing of wherein revising first element comprises that also the rotation pairing of first element is set to the new value of first element.

11. the described method of claim 10 comprises that also first element is set to the new value of the rotation pairing of first element, with any modification of the rotation pairing that responds first element.

12. the described method of claim 11, wherein:

The row of second number is more than or equal to the row of first number;
AndThe row of second number are more than or equal to the row of first number.


13. the described method of claim 12 also comprises:

Data matrix is stored in first group of register; The transposition of data matrix is stored in second group of register; One of quote in first group of register the delegation that comes the service data matrix;
And one of quote in second group of register row that come the service data matrix.


14. the described method of claim 13 also comprises the column data that one of is stored in second group of register is carried out map function.

15. the described method of claim 14 is wherein carried out map function and is comprised the column data that one of is stored in second group of register is carried out discrete cosine transform.

16. the described method of claim 15, wherein first group of register comprises the register of first number, each register comprises the storage unit of first number, second group of register comprises the register of second number, each register comprises the storage unit of second number, and the storage unit of second number is more than or equal to the register of first number.

17. the described method of claim 16, wherein the register of first number equals the register of second number.

18. the described method of claim 17, wherein first group of register comprises the MMX register, and the register of first number is 8, and data matrix comprises view data.

19. a system comprises the processor that is connected to storer, this processor comprises:

First group of register of storing first data matrix has the row of first number and the row of first number; First element in first data matrix is stored on first line index and first column index; Second group of register of storing second data matrix has the row of second number and the row of second number; Second element in second data matrix is stored in second line index that equals first column index, and equals (after this second element is called the rotation pairing of first element) on the secondary series index of first line index;
AndRevise the logic of the rotation pairing of first element, to respond any modification of first element.


20. the rotation pairing by first element of the described system of claim 19, wherein said logic is set to the new value of first element, responds any variation of first element value.

21. the described system of claim 20 also comprises the new value that is set to the rotation pairing of first element by first element, responds the logic of any variation of value of the rotation pairing of first element.

22. the described system of claim 21, wherein:

The row of second number is more than or equal to the row of first number;
AndThe row of second number are more than or equal to the row of first number.


23. the described system of claim 22 also comprises the logic of the element in the first or second line data matrix with single instruction of reference stores.

24. the described system of claim 23, wherein first group of register comprises the register of first number, each register comprises the storage unit of first number, second group of register comprises the register of second number, each register comprises the storage unit of second number, and the storage unit of second number is more than or equal to the register of first number.

25. the described system of claim 24, wherein the register of first number equals the register of second number.

26. the described system of claim 25, wherein first group of register comprises the MMX register, and the register of first number is 8, and data matrix comprises view data.
Specification(s)