[PATCH] D101844: [MicroBenchmarks] Add initial loop vectorization benchmarks.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 4 09:25:34 PDT 2021


fhahn created this revision.
fhahn added reviewers: jroelofs, scanon, Meinersbur.
Herald added a subscriber: mgorny.
fhahn requested review of this revision.

This patch adds initial micro-benchmarks with interesting
loop-vectorization cases. To start with, it includes benchmarks using
libm math functions.

For each math function, there's a benchmark for the auto-vectorized
version and a version with vectorization disabled.

The auto-vec version of the benchmark also compares the results of the
auto-vectorized functions to the scalar versions.


Repository:
  rT test-suite

https://reviews.llvm.org/D101844

Files:
  MicroBenchmarks/CMakeLists.txt
  MicroBenchmarks/LoopVectorization/CMakeLists.txt
  MicroBenchmarks/LoopVectorization/MathFunctions.cpp
  MicroBenchmarks/LoopVectorization/main.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101844.342774.patch
Type: text/x-patch
Size: 5515 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210504/1731e539/attachment.bin>


More information about the llvm-commits mailing list