Added float/double benchmarks to `MinMaxVector`.

Here are some sample results:

darwin/aarch64 (m4 pro)

Benchmark                                (probability)  (range)  (seed)  (size) 
  Mode  Cnt      Score     Error   Units
MinMaxVector.doubleClippingRange                   N/A       90       0    1000 
 thrpt    4  14780.471 ±  96.860  ops/ms
MinMaxVector.doubleClippingRange                   N/A      100       0    1000 
 thrpt    4  14712.065 ±  94.435  ops/ms
MinMaxVector.doubleLoopMax                          50      N/A     N/A    2048 
 thrpt    4   5068.118 ±  15.706  ops/ms
MinMaxVector.doubleLoopMax                          80      N/A     N/A    2048 
 thrpt    4   5077.801 ±  28.764  ops/ms
MinMaxVector.doubleLoopMax                         100      N/A     N/A    2048 
 thrpt    4   5069.538 ±  28.218  ops/ms
MinMaxVector.doubleLoopMin                          50      N/A     N/A    2048 
 thrpt    4   5051.947 ±  27.410  ops/ms
MinMaxVector.doubleLoopMin                          80      N/A     N/A    2048 
 thrpt    4   4955.209 ±  36.664  ops/ms
MinMaxVector.doubleLoopMin                         100      N/A     N/A    2048 
 thrpt    4   4926.185 ±  34.539  ops/ms
MinMaxVector.doubleReductionMultiplyMax             50      N/A     N/A    2048 
 thrpt    4   2403.890 ±  21.603  ops/ms
MinMaxVector.doubleReductionMultiplyMax             80      N/A     N/A    2048 
 thrpt    4   2403.574 ±  25.091  ops/ms
MinMaxVector.doubleReductionMultiplyMax            100      N/A     N/A    2048 
 thrpt    4   2403.080 ±   4.945  ops/ms
MinMaxVector.doubleReductionMultiplyMin             50      N/A     N/A    2048 
 thrpt    4   2403.787 ±   3.896  ops/ms
MinMaxVector.doubleReductionMultiplyMin             80      N/A     N/A    2048 
 thrpt    4   2402.399 ±  13.312  ops/ms
MinMaxVector.doubleReductionMultiplyMin            100      N/A     N/A    2048 
 thrpt    4   2402.061 ±  21.479  ops/ms
MinMaxVector.doubleReductionSimpleMax               50      N/A     N/A    2048 
 thrpt    4   2531.053 ±   6.344  ops/ms
MinMaxVector.doubleReductionSimpleMax               80      N/A     N/A    2048 
 thrpt    4   2526.707 ±  41.029  ops/ms
MinMaxVector.doubleReductionSimpleMax              100      N/A     N/A    2048 
 thrpt    4   2514.099 ±   9.836  ops/ms
MinMaxVector.doubleReductionSimpleMin               50      N/A     N/A    2048 
 thrpt    4   2502.677 ±   5.173  ops/ms
MinMaxVector.doubleReductionSimpleMin               80      N/A     N/A    2048 
 thrpt    4   2519.815 ±  12.239  ops/ms
MinMaxVector.doubleReductionSimpleMin              100      N/A     N/A    2048 
 thrpt    4   2524.118 ±  27.523  ops/ms
MinMaxVector.floatClippingRange                    N/A       90       0    1000 
 thrpt    4  27055.946 ± 159.126  ops/ms
MinMaxVector.floatClippingRange                    N/A      100       0    1000 
 thrpt    4  27214.466 ±  41.522  ops/ms
MinMaxVector.floatLoopMax                           50      N/A     N/A    2048 
 thrpt    4  10213.733 ±  41.268  ops/ms
MinMaxVector.floatLoopMax                           80      N/A     N/A    2048 
 thrpt    4  10170.954 ±  94.318  ops/ms
MinMaxVector.floatLoopMax                          100      N/A     N/A    2048 
 thrpt    4  10106.873 ± 675.958  ops/ms
MinMaxVector.floatLoopMin                           50      N/A     N/A    2048 
 thrpt    4  10245.995 ±  97.154  ops/ms
MinMaxVector.floatLoopMin                           80      N/A     N/A    2048 
 thrpt    4   9751.442 ± 126.524  ops/ms
MinMaxVector.floatLoopMin                          100      N/A     N/A    2048 
 thrpt    4  10278.378 ±  79.352  ops/ms
MinMaxVector.floatReductionMultiplyMax              50      N/A     N/A    2048 
 thrpt    4   5437.877 ±  15.015  ops/ms
MinMaxVector.floatReductionMultiplyMax              80      N/A     N/A    2048 
 thrpt    4   5408.993 ± 459.409  ops/ms
MinMaxVector.floatReductionMultiplyMax             100      N/A     N/A    2048 
 thrpt    4   5439.258 ±   8.889  ops/ms
MinMaxVector.floatReductionMultiplyMin              50      N/A     N/A    2048 
 thrpt    4   5440.768 ±  29.028  ops/ms
MinMaxVector.floatReductionMultiplyMin              80      N/A     N/A    2048 
 thrpt    4   5447.514 ±  31.474  ops/ms
MinMaxVector.floatReductionMultiplyMin             100      N/A     N/A    2048 
 thrpt    4   5446.212 ±  14.696  ops/ms
MinMaxVector.floatReductionSimpleMax                50      N/A     N/A    2048 
 thrpt    4   6028.847 ±  53.501  ops/ms
MinMaxVector.floatReductionSimpleMax                80      N/A     N/A    2048 
 thrpt    4   6044.640 ±  15.030  ops/ms
MinMaxVector.floatReductionSimpleMax               100      N/A     N/A    2048 
 thrpt    4   6024.344 ±  97.918  ops/ms
MinMaxVector.floatReductionSimpleMin                50      N/A     N/A    2048 
 thrpt    4   6028.149 ±  34.922  ops/ms
MinMaxVector.floatReductionSimpleMin                80      N/A     N/A    2048 
 thrpt    4   6030.765 ±  14.433  ops/ms
MinMaxVector.floatReductionSimpleMin               100      N/A     N/A    2048 
 thrpt    4   6031.683 ±  12.626  ops/ms


linux/x64 (xeon):


Benchmark                                (probability)  (range)  (seed)  (size) 
  Mode  Cnt     Score   Error   Units
MinMaxVector.doubleClippingRange                   N/A       90       0    1000 
 thrpt    4   878.024 ± 0.632  ops/ms
MinMaxVector.doubleClippingRange                   N/A      100       0    1000 
 thrpt    4   880.279 ± 0.939  ops/ms
MinMaxVector.doubleLoopMax                          50      N/A     N/A    2048 
 thrpt    4   700.890 ± 1.871  ops/ms
MinMaxVector.doubleLoopMax                          80      N/A     N/A    2048 
 thrpt    4   701.086 ± 1.133  ops/ms
MinMaxVector.doubleLoopMax                         100      N/A     N/A    2048 
 thrpt    4   664.319 ± 0.878  ops/ms
MinMaxVector.doubleLoopMin                          50      N/A     N/A    2048 
 thrpt    4   521.357 ± 0.456  ops/ms
MinMaxVector.doubleLoopMin                          80      N/A     N/A    2048 
 thrpt    4   517.958 ± 0.218  ops/ms
MinMaxVector.doubleLoopMin                         100      N/A     N/A    2048 
 thrpt    4   521.508 ± 0.794  ops/ms
MinMaxVector.doubleReductionMultiplyMax             50      N/A     N/A    2048 
 thrpt    4   270.008 ± 0.321  ops/ms
MinMaxVector.doubleReductionMultiplyMax             80      N/A     N/A    2048 
 thrpt    4   269.864 ± 0.183  ops/ms
MinMaxVector.doubleReductionMultiplyMax            100      N/A     N/A    2048 
 thrpt    4   270.056 ± 0.210  ops/ms
MinMaxVector.doubleReductionMultiplyMin             50      N/A     N/A    2048 
 thrpt    4   310.749 ± 0.370  ops/ms
MinMaxVector.doubleReductionMultiplyMin             80      N/A     N/A    2048 
 thrpt    4   310.818 ± 0.351  ops/ms
MinMaxVector.doubleReductionMultiplyMin            100      N/A     N/A    2048 
 thrpt    4   310.871 ± 0.201  ops/ms
MinMaxVector.doubleReductionSimpleMax               50      N/A     N/A    2048 
 thrpt    4   377.118 ± 0.237  ops/ms
MinMaxVector.doubleReductionSimpleMax               80      N/A     N/A    2048 
 thrpt    4   377.162 ± 0.315  ops/ms
MinMaxVector.doubleReductionSimpleMax              100      N/A     N/A    2048 
 thrpt    4   377.256 ± 0.365  ops/ms
MinMaxVector.doubleReductionSimpleMin               50      N/A     N/A    2048 
 thrpt    4   331.661 ± 0.243  ops/ms
MinMaxVector.doubleReductionSimpleMin               80      N/A     N/A    2048 
 thrpt    4   331.187 ± 0.389  ops/ms
MinMaxVector.doubleReductionSimpleMin              100      N/A     N/A    2048 
 thrpt    4   331.138 ± 0.155  ops/ms
MinMaxVector.floatClippingRange                    N/A       90       0    1000 
 thrpt    4  1682.597 ± 1.592  ops/ms
MinMaxVector.floatClippingRange                    N/A      100       0    1000 
 thrpt    4  1658.065 ± 1.834  ops/ms
MinMaxVector.floatLoopMax                           50      N/A     N/A    2048 
 thrpt    4  1386.114 ± 1.614  ops/ms
MinMaxVector.floatLoopMax                           80      N/A     N/A    2048 
 thrpt    4  1382.976 ± 1.054  ops/ms
MinMaxVector.floatLoopMax                          100      N/A     N/A    2048 
 thrpt    4  1157.655 ± 0.758  ops/ms
MinMaxVector.floatLoopMin                           50      N/A     N/A    2048 
 thrpt    4  1087.902 ± 1.458  ops/ms
MinMaxVector.floatLoopMin                           80      N/A     N/A    2048 
 thrpt    4  1375.762 ± 1.598  ops/ms
MinMaxVector.floatLoopMin                          100      N/A     N/A    2048 
 thrpt    4  1083.873 ± 0.637  ops/ms
MinMaxVector.floatReductionMultiplyMax              50      N/A     N/A    2048 
 thrpt    4   535.551 ± 0.351  ops/ms
MinMaxVector.floatReductionMultiplyMax              80      N/A     N/A    2048 
 thrpt    4   534.637 ± 0.567  ops/ms
MinMaxVector.floatReductionMultiplyMax             100      N/A     N/A    2048 
 thrpt    4   533.566 ± 0.556  ops/ms
MinMaxVector.floatReductionMultiplyMin              50      N/A     N/A    2048 
 thrpt    4   613.940 ± 0.354  ops/ms
MinMaxVector.floatReductionMultiplyMin              80      N/A     N/A    2048 
 thrpt    4   612.168 ± 0.583  ops/ms
MinMaxVector.floatReductionMultiplyMin             100      N/A     N/A    2048 
 thrpt    4   614.387 ± 0.589  ops/ms
MinMaxVector.floatReductionSimpleMax                50      N/A     N/A    2048 
 thrpt    4   737.263 ± 1.924  ops/ms
MinMaxVector.floatReductionSimpleMax                80      N/A     N/A    2048 
 thrpt    4   737.077 ± 2.538  ops/ms
MinMaxVector.floatReductionSimpleMax               100      N/A     N/A    2048 
 thrpt    4   736.000 ± 2.190  ops/ms
MinMaxVector.floatReductionSimpleMin                50      N/A     N/A    2048 
 thrpt    4   668.352 ± 0.425  ops/ms
MinMaxVector.floatReductionSimpleMin                80      N/A     N/A    2048 
 thrpt    4   669.136 ± 0.524  ops/ms
MinMaxVector.floatReductionSimpleMin               100      N/A     N/A    2048 
 thrpt    4   669.911 ± 0.596  ops/ms


---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

-------------

Commit messages:
 - Merge branch 'master' into topic.fp-mmv-bench
 - Merge branch 'master' into topic.fp-mmv-bench
 - Added 2026 year
 - Order as `v, result` in reduction cases to match other PR
 - Expand benchmarks to floating point

Changes: https://git.openjdk.org/jdk/pull/30844/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30844&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8382615
  Stats: 189 lines in 1 file changed: 189 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/30844.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/30844/head:pull/30844

PR: https://git.openjdk.org/jdk/pull/30844

Reply via email to