Method and apparatus for vector table look-up
First Claim
1. A method for execution by a microprocessor in response to receiving a single instruction, the method comprising:
- receiving the single instruction that includes a first index of a first vector in a first entry in a register file and a second index of a second vector in a second entry in the register file,receiving the first vector having a first plurality of numbers and the second vector having a second plurality of numbers, each of the first plurality of numbers pointing to one of a plurality of entries, each of the plurality of entries being in one of a plurality of look-up tables; and
replacing simultaneously the plurality of entries in the plurality of look-up tables that are indicated by the first plurality of numbers from the first entry in the register file, with the second plurality of numbers from the second entry in the register file;
wherein the receiving and the replacing operations are performed in response to the microprocessor receiving the single instruction;
wherein the microprocessor comprises a media processor integrated with a memory controller for host memory on a single integrated circuit.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods and apparatuses for performing vector table look-up using multiple look-up tables. In one aspect of the invention, a method for execution by a microprocessor in response to receiving a single instruction includes: receiving a plurality of numbers; partitioning look-up memory into a plurality of look-up tables; looking up simultaneously a plurality of elements from the plurality of look-up tables. Each of the plurality of elements is in one of the plurality of look-up tables and is pointed to by one of the plurality of numbers. The above operations are performed in response to the microprocessor receiving the single instruction.
80 Citations
44 Claims
-
1. A method for execution by a microprocessor in response to receiving a single instruction, the method comprising:
receiving the single instruction that includes a first index of a first vector in a first entry in a register file and a second index of a second vector in a second entry in the register file, receiving the first vector having a first plurality of numbers and the second vector having a second plurality of numbers, each of the first plurality of numbers pointing to one of a plurality of entries, each of the plurality of entries being in one of a plurality of look-up tables; and replacing simultaneously the plurality of entries in the plurality of look-up tables that are indicated by the first plurality of numbers from the first entry in the register file, with the second plurality of numbers from the second entry in the register file; wherein the receiving and the replacing operations are performed in response to the microprocessor receiving the single instruction; wherein the microprocessor comprises a media processor integrated with a memory controller for host memory on a single integrated circuit. - View Dependent Claims (2)
-
3. A method for execution by a microprocessor in response to receiving a single instruction, the method comprising:
-
receiving the single instruction having an identity number code that specifies a DMA controller and an index of a first entry in a register file, wherein the first entry register file contains control parameters that include a bit segment which specifies a count indicating a number of entries to be loaded in each of a plurality of look-up units; receiving the control parameters from the register file; and replacing at least one entry in at least one of the plurality of look-up units in a microprocessor unit according to the control parameters with at least one number using the Direct Memory Access (DMA) controller; wherein the replacing is performed in response to the microprocessor receiving the single instruction.
-
-
4. A method for execution by a microprocessor in response to receiving a single instruction, the method comprising:
-
receiving the single instruction having an identity number code that specifies a DMA controller and an index of a first entry in a register file, wherein the first entry in the register file contains control parameters, wherein the control parameters include a bit segment which specifies a count indicating a number of entries to be loaded in each of a plurality of look-up units; and receiving the control parameters from the register file; replacing at least one entry for each of a plurality of look-up units in a microprocessor according to the control parameters, with a plurality of numbers using the Direct Memory Access (DMA) controller; wherein the replacing is performed in response to the microprocessor receiving the single instruction. - View Dependent Claims (5, 6, 7, 8, 9)
-
-
10. A method for execution by a microprocessor in response to receiving a single instruction, the method comprising:
-
receiving the single instruction that includes a first index of a first vector in a first entry in a register file and a second index of a second vector in a second entry in the register file; receiving the first vector having a plurality of numbers from the register file; partitioning a look-up memory into a first plurality of look-up tables, wherein the look-up memory comprises a second plurality of look-up units, and wherein the partitioning of the look-up memory comprises configuring the second plurality of look-up units into the first plurality of look-up tables according to a configuration indicator specified by the single instruction; looking up simultaneously a plurality of elements of the second vector from the first plurality of look-up tables, each of the plurality of elements being in one of the first plurality of look-up tables and being pointed to by one of the plurality of numbers; wherein the partitioning and the looking-up operations are performed in response to the microprocessor receiving the single instruction. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23)
-
-
24. A machine readable media containing an executable computer program instruction which when executed by a digital processing system causes said system to perform a method comprising:
-
receiving a single instruction that includes a first index of a first vector in a first entry in a register file and a second index of a second vector in a second entry in the register file, receiving the first vector having a first plurality of numbers and a second vector having a second plurality of numbers, each of the first plurality of numbers pointing to one of a plurality of entries, each of the plurality of entries being in one of a plurality of look-up tables; and replacing simultaneously the plurality of entries in the plurality of look-up tables that are indicated by the first plurality of numbers from the first entry in the register file with the second plurality of numbers from the second entry in the register file; wherein the receiving and the replacing operations are performed in response to the microprocessor receiving the single instruction; wherein the microprocessor comprises a media processor integrated with a memory controller for host memory on a single integrated circuit. - View Dependent Claims (25)
-
-
26. A machine readable media containing an executable computer program instruction which when executed by a digital processing system causes said system to perform a method comprising:
-
receiving the single instruction having an identity number code that specifies a DMA controller and an index of a first entry in a register file, wherein the first entry in the register file contains control parameters that include a bit segment which specifies a count indicating a number of entries to be loaded in each of a plurality of look-up units; receiving the control parameters from the register file; and replacing at least one entry in at least one of a plurality of look-up units in a microprocessor unit according to the control parameters with at least one number using a Direct Memory Access (DMA) controller; wherein the replacing is performed in response to the microprocessor receiving the single instruction.
-
-
27. A machine readable media containing an executable computer program instruction which when executed by a digital processing system causes said system to perform a method comprising:
-
receiving the single instruction having an identity number code that specifies a DMA controller and an index of a first entry in a register file, wherein the first entry in the register file contains control parameters, wherein the control parameters include a bit segment which specifies a count indicating a number of entries to be loaded in each of a plurality of look-up units; receiving the control parameters from the register file; and replacing at least one entry for each of a plurality of look-up units in a microprocessor according to the control parameters, with a plurality of numbers using a Direct Memory Access (DMA) controller; wherein the receiving is performed in response to the microprocessor receiving the single instruction. - View Dependent Claims (28, 29, 30, 31)
-
-
32. A machine readable media containing an executable computer program instruction which when executed by a digital processing system causes said system to perform a method comprising:
-
receiving a single instruction that includes a first index of a first vector in a first entry in a register file and a second index of a second vector in a second entry in the register file; receiving the first vector having a plurality of numbers from the register file; partitioning a look-up memory into a first plurality of look-up tables, wherein the look-up memory comprises a second plurality of look-up units, and wherein the partitioning of the look-up memory comprises configuring the second plurality of look-up units into the first plurality of look-up tables according to a configuration indicator specified by the single instruction; looking up simultaneously a plurality of elements of the second vector from the first plurality of look-up tables, each of the plurality of elements being in one of the first plurality of look-up tables and being pointed to by one of the plurality of numbers; wherein the partitioning and the looking-up operations are performed in response to the microprocessor receiving the single instruction. - View Dependent Claims (33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44)
-
Specification