1. A computer implemented method comprising: fetching an extract cache attribute machine instruction defined for a computer architecture, the extract cache attribute machine instruction comprising an opcode and an operand identifier, the operand identifier identifying an operand location; and executing the extract cache attribute machine instruction, the executing comprising: extracting an attribute of a target cache; saving the extracted attribute of the target cache in the identified operand location.