POWER: Fix complex dot function failures
authorRajalakshmi Srinivasaraghavan <rajis@linux.ibm.com>
Mon, 18 Jul 2022 19:48:43 +0000 (14:48 -0500)
committerRajalakshmi Srinivasaraghavan <rajis@linux.ibm.com>
Mon, 18 Jul 2022 19:48:43 +0000 (14:48 -0500)
commita612e78a97a29f34f7f9230205da0cc5ed69bed9
tree84fb3071c3685c55428cde6b147dddbb1fa1e2f1
parent7da799dc6686b1b670aa0e72e55a6feb0f2213e8
POWER: Fix complex dot function failures

There are some test failures in complex dot functions when compiling with gcc12.
The machine constraints used now do not update all the four elements in the
expected result array. Fixing this with a reduced level of optimization.
This is not changing any performance numbers but will be converted to C code in future.
kernel/power/cdot.c
kernel/power/zdot.c