commit | 09275d717d1b2d7d5ed91f2140bb34246514a1b4 | [log] [tgz] |
---|---|---|
author | Michael Ellerman <mpe@ellerman.id.au> | Wed Aug 19 11:57:26 2020 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Sep 08 22:24:10 2020 +1000 |
tree | 0bb54e127e62c3834d8224fd3ef9b7d4ad2c1702 | |
parent | 4871a10b7b5f6b0632bff229884dad1cb1e8dc37 [diff] |
selftests/powerpc: Don't touch VMX/VSX on older CPUs If we're running on a CPU without VMX/VSX then don't touch them. This is fragile, the compiler could spill a VMX/VSX register and break the test anyway. But in practice it seems to work, ie. the test runs to completion on a system without VSX with this change. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200819015727.1977134-8-mpe@ellerman.id.au