Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experiment with simd_masked_load to read beyond without undefined behavior #98

Draft
wants to merge 30 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
7c5afa5
Experiment with simd_masked_load to read beyond without undefined beh…
ogxd Nov 6, 2024
ce077bf
Force its way to CI benchmark runners
ogxd Nov 6, 2024
ff13e90
Update Benchmark Results
Nov 6, 2024
9df3fd3
Try with portable simd load_or_default
ogxd Nov 8, 2024
098005e
Update Benchmark Results
Nov 8, 2024
f41827f
Add microbenchmark
ogxd Nov 8, 2024
4716930
Fix bench
ogxd Nov 8, 2024
e977257
Merge branch 'read-beyond-no-ub-psimd' into read-beyond-no-ub
ogxd Nov 8, 2024
57ddc68
Improve throughput benchmark accurracy with more black_box
ogxd Nov 8, 2024
d79e76c
Add inline assembly as an option
ogxd Nov 8, 2024
ffaf6e9
Bench with inline asm
ogxd Nov 8, 2024
2e65425
Update Benchmark Results
Nov 8, 2024
ff5ae71
Try using simd_masked_load
ogxd Nov 8, 2024
c3c341d
Update Benchmark Results
Nov 8, 2024
6a2355c
Merge remote-tracking branch 'origin/read-beyond-no-ub' into read-bey…
ogxd Nov 8, 2024
d676b7d
Update Benchmark Results
Nov 8, 2024
9ac65ce
Bench simd::load_or_default
ogxd Nov 9, 2024
27eeaae
Bench urbd asm
ogxd Nov 9, 2024
0ad6fb3
Bench simd_masked_load
ogxd Nov 9, 2024
39614ad
Try different approach for black_box in benchmark
ogxd Nov 9, 2024
a0c0729
Try fix arm
ogxd Nov 9, 2024
f3fcc57
Go vld1
ogxd Nov 9, 2024
97e0d8f
simd_masked_load
ogxd Nov 9, 2024
23c0bf7
Fix x86 asm
ogxd Nov 9, 2024
c69fd44
Fix arm asm
ogxd Nov 9, 2024
58d1256
Bench plot
ogxd Nov 9, 2024
9e283e4
Update Benchmark Results
Nov 9, 2024
346543a
Trim y min on plot
ogxd Nov 9, 2024
259e8a4
Update Benchmark Results
Nov 9, 2024
92a792b
Update Benchmark Results
Nov 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
- name: Update rust
run: rustup update

- name: Switch to nightly rust
run: rustup default nightly

- name: Benchmark
run: cargo bench --bench throughput --features bench-plot

Expand All @@ -32,6 +35,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Update rust
run: rustup update

- name: Switch to nightly rust
run: rustup default nightly

Expand All @@ -53,6 +59,9 @@ jobs:
- name: Update rust
run: rustup update

- name: Switch to nightly rust
run: rustup default nightly

- name: Benchmark
run: cargo bench --bench throughput --features bench-plot

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Switch to nightly rust
run: rustup default nightly

- name: Rust version
run: cargo rustc -- --version

Expand Down Expand Up @@ -52,6 +55,9 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Switch to nightly rust
run: rustup default nightly

- name: Rust version
run: cargo rustc -- --version

Expand Down
56 changes: 28 additions & 28 deletions benches/throughput/aarch64.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading