1. A circuit arrangement, comprising:
a processing unit;
a memory address translation data structure for use in performing memory address translation for instructions in an instruction stream being executed by the processing unit, wherein the memory address translation data structure includes a decode-related attribute associated with an instruction from the instruction stream, wherein the instruction is associated with an address at which the instruction is stored in an address space, and wherein the decode-related attribute is accessed using at least a portion of the address;
decode logic configured to access the decode-related attribute in the memory address translation data structure and decode at least a portion of an opcode for the instruction using the decode-related attribute; and
an opcode data structure configured to store a plurality of opcodes, wherein the decode logic is configured to access the opcode data structure using the decode-related attribute to determine the at least a portion of the opcode, wherein the opcode data structure comprises a table storing the plurality of opcodes, and wherein the decode-related attribute includes at least a portion of an index used to select an opcode from among the plurality of opcodes.
2. The circuit arrangement of claim 1, wherein the decode logic is further configured to determine a second portion of the index from an immediate field in the instruction.
3. The circuit arrangement of claim 1, further comprising a mask coupled intermediate the memory address translation data structure and opcode data structure and configured to mask the decode-related attribute.
4. The circuit arrangement of claim 1, further comprising a mask coupled to the opcode data structure and configured to mask the at least a portion of the opcode determined from the opcode data structure.
5. The circuit arrangement of claim 1, wherein the opcode data structure is software writeable to store the plurality of opcodes in the opcode data structure in response to at least one instruction executed by the processing unit.
6. The circuit arrangement of claim 1, wherein the memory address translation data structure includes a page table entry associated with the address at which the instruction is stored in the address space.
7. The circuit arrangement of claim 1, wherein the instruction includes an extended decode mode indicator that controls whether the at least a portion of the opcode for the instruction is decoded using the decode-related attribute.
8. The circuit arrangement of claim 1, wherein the at least a portion of the opcode comprises a primary opcode, and wherein the instruction includes a secondary opcode that is combined with the primary opcode to decode the instruction.
9. The circuit arrangement of claim 1, wherein the instruction is a 32-bit instruction and includes three 7-bit source operands, a 7-bit target operand and the decode-related attribute.
10. An integrated circuit device comprising:
a processing unit;
a memory address translation data structure for use in performing memory address translation for instructions in an instruction stream being executed by the processing unit, wherein the memory address translation data structure includes a decode-related attribute associated with an instruction from the instruction stream, wherein the instruction is associated with an address at which the instruction is stored in an address space, and wherein the decode-related attribute is accessed using at least a portion of the address;
decode logic configured to access the decode-related attribute in the memory address translation data structure and decode at least a portion of an opcode for the instruction using the decode-related attribute; and
an opcode data structure configured to store a plurality of opcodes, wherein the decode logic is configured to access the opcode data structure using the decode-related attribute to determine the at least a portion of the opcode, wherein the opcode data structure comprises a table storing the plurality of opcodes, and wherein the decode-related attribute includes at least a portion of an index used to select an opcode from among the plurality of opcodes.
11. A program product comprising a non-transitory computer readable medium and logic definition program code stored on the computer readable medium, the logic definition program code defining a circuit arrangement comprising:
a processing unit;
a memory address translation data structure for use in performing memory address translation for instructions in an instruction stream being executed by the processing unit, wherein the memory address translation data structure includes a decode-related attribute associated with an instruction from the instruction stream, wherein the instruction is associated with an address at which the instruction is stored in an address space, and wherein the decode-related attribute is accessed using at least a portion of the address;
decode logic configured to access the decode-related attribute in the memory address translation data structure and decode at least a portion of an opcode for the instruction using the decode-related attribute; and
an opcode data structure configured to store a plurality of opcodes, wherein the decode logic is configured to access the opcode data structure using the decode-related attribute to determine the at least a portion of the opcode, wherein the opcode data structure comprises a table storing the plurality of opcodes, and wherein the decode-related attribute includes at least a portion of an index used to select an opcode from among the plurality of opcodes.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. A method for a computer peripheral device of a computer system to monitor at least one proximity context and response to said proximity context change, the method comprising:
receiving information related to at least one trigger condition;
storing said trigger condition in said device;
monitoring current state of said proximity context, wherein said proximity context is related to the presence of one or more wireless communication interfaces in proximity of said device;
evaluating trigger condition based on said current state; and
outputting a signal to change the power saving state of a part of said computer system if said current state satisfies the criteria of said trigger condition.
2. The method of claim 1, wherein said changing the power saving state is to wake up said computer system.
3. The method of claim 1, wherein said signal further interrupts said computer system for executing a job that is associated with said trigger condition.
4. The method of claim 1, wherein said information further comprises a callback identifier that is associated with said trigger condition, and said callback identifier is send to said computer system if said current state satisfies the criteria of said trigger condition.
5. The method of claim 1, wherein said information is related to multiple trigger conditions and one trigger condition is used to enable or disable another trigger condition.
6. The method of claim 1, wherein said monitoring current state further comprising:
receiving message on wireless media; and
decoding said message according to a communication protocol, wherein a wireless communication interface becomes present in proximity of said device if the identifier of this wireless communication interface is decoded from said message.
7. The method of claim 6, wherein said trigger condition comprises a rule related to the presence of one or more pre-selected peer wireless communication interfaces and each has an identifier.
8. The method of claim 7, further comprising recording the individual last detecting time of said pre-selected peer wireless for deriving the individual absence of said pre-selected peer wireless communication interfaces.
9. The method of claim 7, wherein said identifier pertains to the physical link mechanism or the medium access control mechanism of said communication protocol.
10. The method of claim 9, wherein said identifier is a media access control address.
11. The method of claim 7, wherein said identifier pertains to the network layer of said communication protocol or the upper layer.
12. The method of claim 11, wherein said trigger identifier is an Internet protocol (IP) address.
13. A computer peripheral device of a computer system to monitor at least one proximity context and response to the change of said proximity context, the peripheral device comprising:
at least one receiver for receiving information related to the current state of said proximity context, wherein said proximity context is the presence of one or more wireless communication interfaces in proximity of said device;
at least one trigger condition that defines a trigger state of said proximity context;
a memory for storing said trigger condition; and
a checker configured to evaluate said trigger condition based on said current state and output a signal to change the power saving state of a part of said computer system when said current state meet the criteria of said trigger condition.
14. The device of claim 13, wherein said changing the power saving state is to wake up said computer system.
15. The device of claim 13, further comprising a bus interface for connecting to a bus of said computer system.
16. The device of claim 13, wherein said signal interrupts said computer system for executing a job that is associated with said trigger condition.
17. The device of claim 13, further comprising a callback identifier that associates with said trigger condition, wherein said callback identifier is stored in said device and is transmitted to said computer system when said trigger condition is satisfied.
18. The device of claim 13, further comprising a second trigger condition, wherein the first said trigger condition can be enabled or disabled when said current state satisfies the criteria of said second trigger condition.
19. The device of claim 13, wherein said receiver contains a processor configured to decoding message on wireless media according to a communication protocol, wherein a wireless communication interface becomes present in proximity of said device if the identifier of this wireless communication interface is decoded from said message.
20. The device of claim 19, wherein said trigger condition comprises a rule related to the presence of one or more pre-selected wireless communication interfaces in proximity of said device and each have an identifier.
21. The device of claim 20, further comprising means to record the individual last detecting time of said pre-selected wireless communication interfaces for deriving the individual absence of said pre-selected wireless communication interfaces.
22. The device of claim 20, wherein said identifier pertains to the physical link mechanism or the medium access control mechanism of said communication protocol.
23. The device of claim 22, wherein said identifier is a media access control address.
24. The device of claim 20, wherein said identifier pertains to the network layer of said communication protocol or the upper layer.
25. The device of claim 24, wherein said identifier is an Internet protocol (IP) address.