Patent ID: 11907720
Assignee: ARM LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 18:
19. A non-transitory storage medium storing a computer program for controlling a host data processing apparatus to provide an instruction execution environment comprising:
a plurality of register data structures, each of the register data structures having data bit data structures to store data, and metadata data structures to store metadata, wherein each of the register data structures is adapted to operate in a metadata mode in which the metadata bit data structures and the data bit data structures are valid, and a data mode in which the data bit data structures are valid and the metadata bit data structures are invalid;
a mode bit data structure adapted to indicate whether each of the register data structures is in the data mode or the metadata mode; and,
execution program logic, responsive to a memory operation that is a store operation on one or more given register data structures:
to determine from the mode bit data structure whether a register data structure in the one or more given register data structures is in the data mode or the metadata mode;
to store the data bit data structures of the register data structure and the metadata bit data structures of the register data structures to a memory data structure when the register data structure is in the metadata mode; and,
to store the data bit data structures of the register data structure without the metadata bit data structures of the register data structures to the memory data structure when the register is in the data mode.