Data processor with up pointer walk trie traversal instruction set extension
First Claim
1. A processor comprising:
- a first input receiving a first input data, a second input receiving a second input data and a third input receiving a partial compare and conditional move instruction;
a logic unit coupled to the first input, the second input, and the third input, the logic unit including activatible partial compare and conditional move circuitry which is activated upon receipt of the partial compare and conditional move instruction and which performs a comparison between the first input data and the second input data, if the comparison results in the first input data being equal to the second input data then a terminate traversal state is set, if the comparison results in the first input data being not equal to the second input data then the first input data is copied to a predefined location and no state is set;
an output coupled to the logic unit, the output outputting the first input data in a predefined location and maintaining the terminate traversal state information; and
wherein the processor can be reprogrammed to execute one of many different instructions.
1 Assignment
0 Petitions
Accused Products
Abstract
A programmable data communications device is provided to process multiple streams of data according to multiple protocols. The device is equipped with a co-processor including multiple, programmable processors allowing data to be operated on by multiple protocols. The programmable processors within the co-processor include extended instruction sets including instructions providing the operations of zero stuffing, CRC computation, partial compare, conditional move, and trie traversal. These instructions allow the processor(s) of the co-processor to more efficiently execute programs implementing data communications protocols. Since each processor is programmable, protocols standards which change may be accommodated. A network device equipped with the co-processor can handle multiple simultaneous streams of data and can implement multiple protocols on each data stream. The protocols can execute within the co-processor either independently of each other, or in conjunction with each other.
20 Citations
11 Claims
-
1. A processor comprising:
-
a first input receiving a first input data, a second input receiving a second input data and a third input receiving a partial compare and conditional move instruction; a logic unit coupled to the first input, the second input, and the third input, the logic unit including activatible partial compare and conditional move circuitry which is activated upon receipt of the partial compare and conditional move instruction and which performs a comparison between the first input data and the second input data, if the comparison results in the first input data being equal to the second input data then a terminate traversal state is set, if the comparison results in the first input data being not equal to the second input data then the first input data is copied to a predefined location and no state is set; an output coupled to the logic unit, the output outputting the first input data in a predefined location and maintaining the terminate traversal state information; and wherein the processor can be reprogrammed to execute one of many different instructions. - View Dependent Claims (2, 3, 4, 5)
-
-
6. An apparatus comprising a computer readable medium having a partial compare and conditional move instruction recorded thereon, the partial compare and conditional move instruction comprising:
-
a first input receiving a first input data, a second input receiving a second input data and a third input receiving a partial compare and conditional move instruction; a logic unit coupled to the first input, the second input, and the third input, the logic unit including activatible partial compare and conditional move circuitry which is activated upon receipt of the partial compare and conditional move instruction and which performs a comparison between the first input data and the second input data, if the comparison results in the first input data being equal to the second input data then a terminate traversal state is set, if the comparison results in the first input data being not equal to the second input data then the first input data is copied to a predefined location and no state is set; an output coupled to the logic unit, the output outputting the first input data in a predefined location and maintaining the terminate traversal state information; and wherein the processor can be reprogrammed to execute one of many different instructions.
-
-
7. A method of processing data in a processor comprising the steps of:
-
coupling a first input data, a second input data and a partial compare and conditional move instruction to a logic unit; activating partial compare and conditional move circuitry in the logic unit upon receipt of the partial compare and conditional move instruction;
comparing the first input data and the second input data;
if the comparison results in the first input data being equal to the second input data then setting a terminate traversal state, if the comparison results in the first input data being not equal to the second input data then coupling the first input data to a predefined location and no state is set;outputting the first input data to a predefined location and maintaining the terminate traversal state information; and reprogramming the processor to execute multiple different instructions. - View Dependent Claims (8, 9, 10, 11)
-
Specification