On Wed, 6 Feb 2019, Mark Cave-Ayland wrote:
Howard has also pointed out that he's still spotted some corruption in his
tests, so
I will do a bit more investigation and report back.
I wonder if instead of "visually testing" shouldn't it be verified by some
more exact tests? Could any of these be useful:
https://gcc.gnu.org/ml/gcc-patches/2002-11/msg01391.html
https://gcc.gnu.org/git/?p=gcc.git;a=tree;f=gcc/testsuite/gcc.dg/vmx;h=4765c35dabb4e3891c98084af077c2549fb45dfc;hb=HEAD
https://github.com/llvm-mirror/test-suite/tree/master/SingleSource/UnitTests/Vector/Altivec
or there could be other similar ones around that already have test cases
for these instructions that could provide some more confidence in the
correctness of the implementation.
Regards,
BALATON Zoltan