Patent ID: 7647457

Claim:
A data processing system for executing code using data types, the data processing system comprising: mode setting means for setting a mode to enable functional units for data awareness, wherein the enabled functional units comprise: disabling means for disabling the functions for data awareness in regards to a group of instructions in response to detecting an indication associated with the group of instructions; first storing means, responsive to disabling the functions for data awareness, for storing data; determining means, responsive to detecting an operation to store data in a memory location during execution of the code and responsive to an absence of an indication associated with a group of instructions, for determining if a first data type is associated with the memory location, wherein the first data type is an expected data type for data to be stored in the memory location; identifying means for identifying a second data type of the data to be stored if the first data type is associated with the memory location; comparing means, responsive to identifying the second data type, for comparing the first data type with the second data type for the memory location to determine whether the second data type is the expected data type for data to be stored in the memory location; and second storing means for storing the data in the memory location, if the second data type is the expected data type, wherein the processor provides identification of the data types.