[PATCH] selftests/powerpc: Fix matrix multiply assist test

Michael Ellerman patch-notifications at ellerman.id.au
Fri Jul 29 23:03:06 AEST 2022


On Fri, 17 Jun 2022 14:39:35 +1000, Rashmica Gupta wrote:
> The ISA states: "when ACC[i] contains defined data, the contents of VSRs
> 4×i to 4×i+3 are undefined until either a VSX Move From ACC instruction
> is used to copy the contents of ACC[i] to VSRs 4×i to 4×i+3 or some other
> instruction directly writes to one of these VSRs." We aren't doing this.
> 
> This test only works on Power10 because the hardware implementation
> happens to map ACC0 to VSRs 0-3, but will fail on any other implementation
> that doesn't do this. So add xxmfacc between writing to the accumulator
> and accessing the VSRs.
> 
> [...]

Applied to powerpc/next.

[1/1] selftests/powerpc: Fix matrix multiply assist test
      https://git.kernel.org/powerpc/c/cd1e64935f79e31d666172c52c951ca97152b783

cheers


More information about the Linuxppc-dev mailing list