commit | 7481cad4747303442209bc5dba2f56c3afcea07d | [log] [tgz] |
---|---|---|
author | Michael Ellerman <mpe@ellerman.id.au> | Sun Apr 26 21:44:10 2020 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Fri May 15 11:58:55 2020 +1000 |
tree | e5b1152ce40d931a33a608a80a1083d94a23d4d3 | |
parent | 24ac99e97fa7b8f0db9b48413a76def9cf73295c [diff] |
selftests/powerpc: Add a test of counting larx/stcx This is based on the count_instructions test. However this one also counts the number of failed stcx's, and in conjunction with knowing the size of the stcx loop, can calculate the total number of instructions executed even in the face of non-deterministic stcx failures. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200426114410.3917383-1-mpe@ellerman.id.au