Skip to content

Commit 876eb43

Browse files
committed
Add in commands to run the GCC and Intel benchmarks
1 parent 639279a commit 876eb43

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/modules/ROOT/pages/benchmarks.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ To run the benchmarks yourself, navigate to the test folder and define `BOOST_DE
2424
An example on Linux with b2: `../../../b2 cxxstd=20 toolset=gcc-13 define=BOOST_DECIMAL_RUN_BENCHMARKS benchmarks -a release`, or
2525
`../../../b2 cxxstd=20 toolset=gcc-13 define=BOOST_DECIMAL_RUN_BENCHMARKS=1,BOOST_DECIMAL_BENCHMARK_CHARCONV=1 benchmarks -a release` to also run the `<charconv>` benchmarks
2626

27+
To run the GCC benchmarks you can use the following command: `gcc benchmark_libdfp.c -O3 -std=c17` followed by: `./a.out`
28+
29+
To run the Intel benchmarks you will need both the https://www.intel.com/content/www/us/en/developer/tools/oneapi/overview.html[Intel Compiler], and the https://www.intel.com/content/www/us/en/developer/articles/tool/intel-decimal-floating-point-math-library.html[library].
30+
You can the use the following command: `icx benchmark_libbid.c -O3 $PATH_TO_LIBBID/libbid.a -std=c17` followed by: `./a.out`
31+
32+
NOTE: The Intel benchmarks can only be run on one of their supported architectures: IA-32, IA-64, and Intel x64
33+
2734
== Methodology
2835

2936
=== Comparisons

0 commit comments

Comments
 (0)