Claims
- 1. A processor comprising:
- a first input receiving a first input data, a second input receiving a second input data, a third input receiving a third input data and a multiple compare instruction;
- a logic unit coupled to the first input, the second input, the third input and the multiple compare instruction, the logic unit including activatible multiple comparing circuitry which is activated upon receipt of the multiple compare instruction and which performs a comparison between the first input data and a series of predefined characters in the third input data, if the comparison results in the first input data being equal to any character in the series of predefined characters then a character match state is set;
- a second logic unit coupled to the input, the second logic unit including activatible multiple comparing circuitry which is activated upon receipt of the multiple compare instruction and performs a comparison between the first input data and a predefined boundary, if the first input data is within the predefined boundary then a character boundary state is set if a mask bit in the second input data, at a position equal to the value in the first input data, is set on;
- an output coupled to both the logic unit and the second logic unit, the output outputting the character match state and the character boundary state information; and
- wherein the processor can be reprogrammed to execute a different one of many possible instructions.
- 2. The processor of claim 1 wherein the multiple compare instruction executes on the logic unit as part of a protocol to perform compression on the data.
- 3. The processor of claim 1 wherein the multiple compare instruction executes on the logic unit as part of a protocol to perform decompression on the data.
- 4. The processor of claim 1 wherein the multiple compare instruction executes on the logic unit as part of a protocol to perform encryption on the data.
- 5. The processor of claim 1 wherein the multiple compare instruction executes on the logic unit as part of a protocol to perform decryption on the data.
- 6. An apparatus comprising a computer readable medium having a multiple compare instruction recorded thereon, the multiple compare instruction comprising:
- a first input receiving a first input data, a second input receiving a second input data, a third input receiving a third input data and a multiple compare instruction;
- a logic unit coupled to the first input, the second input, the third input and the multiple compare instruction, the logic unit including activatible multiple comparing circuitry which is activated upon receipt of the multiple compare instruction and which performs a comparison between the first input data and a series of predefined characters in the third input data, if the comparison results in the first input data being equal to any character in the series of predefined characters then a character match state is set;
- a second logic unit coupled to the input, the second logic unit including activatible multiple comparing circuitry which is activated upon receipt of the multiple compare instruction and performs a comparison between the first input data and a predefined boundary, if the first input data is within the predefined boundary then a character boundary state is set if a mask bit in the second input data, at a position equal to the value in the first input data, is set on;
- an output coupled to both the logic unit and the second logic unit, the output outputting the character match state and the character boundary state information; and
- wherein the processor can be reprogrammed to execute a different one of many possible instructions.
- 7. A method of processing data in a processor comprising the steps of:
- coupling a first input data, a second input data, a third input data and a multiple compare instruction to a first logic unit and a second logic unit;
- activating multiple comparing circuitry in the first logic unit upon receipt of the multiple compare instruction; comparing the first input data and a series of predefined characters in the third input data; if the comparison results in the first input data being equal to any character in the series of predefined characters then setting a character match state;
- activating multiple comparing circuitry in the second logic unit upon receipt of the multiple compare instruction; comparing the first input data with a predefined boundary; if the first input data is within the predefined boundary then setting a character boundary state if a mask bit in the second input data, at a position equal to the value in the first input data, is set on;
- outputting the character match state and the character boundary state; and
- reprogramming the processor to execute one of many possible different instructions.
- 8. The processor of claim 7 wherein the multiple compare instruction executes on the logic units as part of a protocol to perform compression on the data.
- 9. The processor of claim 7 wherein the multiple compare instruction executes on the logic units as part of a protocol to perform decompression on the data.
- 10. The processor of claim 7 wherein the multiple compare instruction executes on the logic unit as part of a protocol to perform encryption on the data.
- 11. The processor of claim 7 wherein the multiple compare instruction executes on the logic unit as part of a protocol to perform decryption on the data.
RELATED APPLICATION(S)
This application is a continuation of application Ser. No. 09/132,621 filed Aug. 11, 1998, which claims the benefit of U.S. Provisional Application No. 60/089,248, filed Jun. 15, 1998, the contents of which are incorporated herein by reference in their entirety.
US Referenced Citations (2)
Number |
Name |
Date |
Kind |
5394394 |
Crowther et al. |
Feb 1995 |
|
5598410 |
Stone |
Jan 1997 |
|
Non-Patent Literature Citations (2)
Entry |
Data Sheet 7711 "Encryption Processor," Hi/fn, Inc., San Jose, CA, PRS-056 Revision 1.01 (1998). |
Data Sheet 9711 "Data Compression Coprocessor," Hi/fn, Inc., San Jose, CA, PRS-0053 Revision 1.1 (Aug. 1997). |
Continuations (1)
|
Number |
Date |
Country |
Parent |
132621 |
Aug 1998 |
|