[vector api] RFR: Fine-tune test cases for reduction operations
Yang Zhang (Arm Technology China)
Yang.Zhang at arm.com
Mon Feb 11 08:25:39 UTC 2019
Hi
Currently, test cases of reduction operations only check the intermediate result (the result of one vector), not final result ( the result of one array). So that for following examples, src1 is always initial value without this patch.
instruct rsadd2I_reduction_reg(rRegI dst, rRegI src1, vecD src2, vecD tmp, vecD tmp2) %{ ----------------------X86
instruct reduce_add2I(iRegINoSp dst, iRegIorL2I src1, vecD src2, iRegINoSp tmp, iRegINoSp tmp2) ------------------AArch64
To cover more cases, I add test cases that check the final result of reduction operations. Some indentation errors are also fixed.
With this patch, all Vector API tests are passed.
Could you please help to review this patch?
http://cr.openjdk.java.net/~yzhang/vectorapi.test/webrev.00/
Regards,
Yang
More information about the panama-dev
mailing list