[aarch64-port-dev ] RFR(S): 8214922: Add vectorization support for fmin/fmax
Andrew Haley
aph at redhat.com
Fri Dec 21 17:02:01 UTC 2018
Hi Roland,
I'm looking at the test code and I can't figure out why trivial reduction doesn't
seem to be working. In fact, I can't even get this to work:
@Benchmark
public float testPlusReduceFloat(BenchmarkState state) {
float[] fa = state.fa;
float sum = 0;
for (int i = 0; i < fa.length; i++) {
sum += fa[i];
}
return sum;
}
Should this work? And if not, do you have any idea of what code I could use to
test the SIMD reduction?
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the aarch64-port-dev
mailing list