-
Notifications
You must be signed in to change notification settings - Fork 20
Handle a non-Fallback baseline
#105
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
Merged
Merged
Changes from 13 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
c840446
Use `dispatch!` in `Level::dispatch`
DJMcNab fa17e54
Remove `simd_dispatch`
DJMcNab 25a2729
Handle a non-fallback `baseline`
DJMcNab 90826d6
Fix fallback handling for WASM
DJMcNab 7c63385
Add a test script
DJMcNab 0679aeb
Spoilers
DJMcNab 68da400
Fixup codegen
DJMcNab 0fdc381
`-1`
DJMcNab c577354
Bump to 1.88 for cfg booleans
DJMcNab 80c2b5e
Re-run generator
DJMcNab f25fbb4
Address review
DJMcNab 0702fe1
Add a CHANGELOG entry and some docs
DJMcNab 3196ab9
Fix MSRV bump
DJMcNab 69ee7f0
Address review feedback
DJMcNab adcb7f1
Localised hack to address the warning
DJMcNab File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| # A script to run cargo check for fearless_simd on each supported platform. | ||
| # We currently don't run this in CI, as we expect it would take too long. | ||
| # Before using, you must run: | ||
| # rustup target add aarch64-linux-android x86_64-unknown-linux-gnu i686-pc-windows-msvc wasm32-unknown-unknown riscv64gc-unknown-linux-gnu | ||
|
|
||
| # Run using `sh ./check_targets.sh` | ||
| # TODO: Make into an xtask like thing so that windows users can use easily. | ||
|
|
||
| # Note that doing `-neon` is not sound, but we never run this so YOLO. | ||
| RUSTFLAGS=-Ctarget-feature=-neon cargo check -p fearless_simd --target aarch64-linux-android | ||
| RUSTFLAGS=-Ctarget-feature=-neon cargo check -p fearless_simd --target aarch64-linux-android --features force_support_fallback | ||
| cargo check -p fearless_simd --target aarch64-linux-android --features force_support_fallback | ||
| cargo check -p fearless_simd --target aarch64-linux-android | ||
|
|
||
| RUSTFLAGS=-Ctarget-feature=+avx2,+fma cargo check -p fearless_simd --target x86_64-unknown-linux-gnu | ||
| RUSTFLAGS=-Ctarget-feature=+avx2,+fma cargo check -p fearless_simd --target x86_64-unknown-linux-gnu --features force_support_fallback | ||
| RUSTFLAGS=-Ctarget-feature=+sse4.2 cargo check -p fearless_simd --target x86_64-unknown-linux-gnu | ||
| RUSTFLAGS=-Ctarget-feature=+sse4.2 cargo check -p fearless_simd --target x86_64-unknown-linux-gnu --features force_support_fallback | ||
| cargo check -p fearless_simd --target x86_64-unknown-linux-gnu | ||
| cargo check -p fearless_simd --target x86_64-unknown-linux-gnu --features force_support_fallback | ||
|
|
||
| RUSTFLAGS=-Ctarget-feature=+avx2,+fma cargo check -p fearless_simd --target i686-pc-windows-msvc | ||
| RUSTFLAGS=-Ctarget-feature=+avx2,+fma cargo check -p fearless_simd --target i686-pc-windows-msvc --features force_support_fallback | ||
| RUSTFLAGS=-Ctarget-feature=+sse4.2 cargo check -p fearless_simd --target i686-pc-windows-msvc | ||
| RUSTFLAGS=-Ctarget-feature=+sse4.2 cargo check -p fearless_simd --target i686-pc-windows-msvc --features force_support_fallback | ||
| cargo check -p fearless_simd --target i686-pc-windows-msvc | ||
| cargo check -p fearless_simd --target i686-pc-windows-msvc --features force_support_fallback | ||
|
|
||
| cargo check -p fearless_simd --target wasm32-unknown-unknown | ||
| cargo check -p fearless_simd --target wasm32-unknown-unknown --features force_support_fallback | ||
| RUSTFLAGS=-Ctarget-feature=+simd128 cargo check -p fearless_simd --target wasm32-unknown-unknown | ||
| RUSTFLAGS=-Ctarget-feature=+simd128 cargo check -p fearless_simd --target wasm32-unknown-unknown --features force_support_fallback | ||
|
|
||
| cargo check -p fearless_simd --target riscv64gc-unknown-linux-gnu | ||
| cargo check -p fearless_simd --target riscv64gc-unknown-linux-gnu --features force_support_fallback |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.