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

Add simd.suite #268

Merged
merged 1 commit into from
Sep 26, 2023
Merged

Add simd.suite #268

merged 1 commit into from
Sep 26, 2023

Conversation

abrown
Copy link
Collaborator

@abrown abrown commented Aug 30, 2023

As discussed in a Cranelift meeting, it would be nice to know which benchmarks are SIMD users. This change adds a simd.suite file that lists the files that contain SIMD instructions. This can be run like:

$ cargo run -- benchmark --engine .../libengine.so benchmarks/simd.suite

There are a couple ways this could be improved, but this may be fine as-is for now:

  • simd.suite could get out of date; someone could create a CI check to keep it in-sync with the added files
  • someone could really check that the measured section of each benchmark is actually a heavy SIMD user by collecting the instruction mix (e.g., sde)

As discussed in a Cranelift meeting, it would be nice to know which
benchmarks are SIMD users. This change adds a `simd.suite` file that
lists the files that contain SIMD instructions. This can be run like:

```console
$ cargo run -- benchmark --engine .../libengine.so benchmarks/simd.suite
```

There are a couple ways this could be improved, but this may be fine
as-is for now:
- `simd.suite` could get out of date; someone could create a CI check to
  keep it in-sync with the added files
- someone could really check that the measured section of each benchmark
  is actually a heavy SIMD user by collecting the instruction mix (e.g.,
  `sde`)
@abrown
Copy link
Collaborator Author

abrown commented Aug 30, 2023

@abrown
Copy link
Collaborator Author

abrown commented Sep 26, 2023

I'm going to merge this in hopes that recent Wasmtime changes have fixed the build issues.

@abrown abrown merged commit b1a7473 into bytecodealliance:main Sep 26, 2023
@abrown abrown deleted the simd-suite branch September 26, 2023 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants