diff options
| author | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2024-08-09 17:39:19 -0400 |
|---|---|---|
| committer | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2024-08-09 18:54:04 -0400 |
| commit | 12dd0cb72a586a99129280c78697089caab0500a (patch) | |
| tree | 80bbcb47b01bcefff2595c61147dd15318054b00 /tests/benchmark | |
| parent | 793811b219e77b21a1c765323957e4b74ce13e64 (diff) | |
Simplify and make `simd_util` cross-platform
This new algorithm uses a Scalar->Vector->Scalar iteration loop which
requires no masking off of any incomplete data chunks.
Also, the width was reduced to 32 bytes instead of 64, as I found this
to be about as fast as the previous 64-byte x86 version.
Diffstat (limited to 'tests/benchmark')
| -rw-r--r-- | tests/benchmark/simd/util/benchmark_simd_util.odin | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/benchmark/simd/util/benchmark_simd_util.odin b/tests/benchmark/simd/util/benchmark_simd_util.odin index 4538c6612..18fa0a9e3 100644 --- a/tests/benchmark/simd/util/benchmark_simd_util.odin +++ b/tests/benchmark/simd/util/benchmark_simd_util.odin @@ -1,4 +1,3 @@ -//+build i386, amd64 package benchmark_simd_util import "core:fmt" |