Patent ID: 7725894
Filing Date: 2010-05-25
Classification: G06F

Abstract:
1. A computer implemented method for executing an un-privileged Store Facility List Extended (STFLE) instruction in a computer system, the STFLE instruction comprising an op-code field, the method comprising: executing, by the computer system, the un-privileged STFLE instruction, the execution comprising; specifying, by the computer system, a size of a result to be based on a length-of-result value, the size specifying a first number of bits; based on facilities available on the computer system, creating a result value, by the computer system, the result value consisting of a second number of facility bit positions, wherein each facility bit position corresponding to an available facility indicates that the corresponding facility is available; responsive to the second number of facility bit positions being any one of less-than or equal-to the first number of bits specified by the length-of-result value, setting, by the computer system, a condition code to a first value, the first value indicating the second number of facility bit positions is any one of less-than or equal-to the first number of bits; and responsive to the second number of facility bit positions being any one of less-than or equal-to the first number of bits specified by the length-of-result value, storing, by the computer system, the result value in memory at an address specified by the STFLE instruction.