1. A computer method comprising: a processor of a processing system fetching a cache machine instruction defined for a computer architecture, the cache machine instruction comprising an opcode, an operand identifier, the operand identifier identifying an operand location; executing the cache machine instruction comprising: based on a cache-level identifier, determining a target cache; based on a cache attribute identifier, determining a cache attribute to be extracted; extracting the determined cache attribute from the target cache; saving the extracted cache attribute in the identified operand location.