Port the remaining SIMD intrinsics to const-eval#147520
Port the remaining SIMD intrinsics to const-eval#147520bors merged 5 commits intorust-lang:masterfrom
Conversation
This comment has been minimized.
This comment has been minimized.
344e3dc to
b8a4c23
Compare
Please update the PR description: This doesn't actually add anything in const-eval, it adds it to the interpreter and then only exposes this in Miri. |
b8a4c23 to
69a2513
Compare
|
Do we really need f16/f128 tests? It's painful to add them because portable_simd doesn't implement |
69a2513 to
7c594eb
Compare
|
Why do we add f16/f128 support if portable_simd can't even use it?
|
|
I am adding them mostly for completeness sake, but stdarch will need simd_fma with f16.
Ok I will add 👍 |
|
@rustbot ready added tests for f16 and f128 (just copied f32 and f64 tests) |
| #[rustc_nounwind] | ||
| pub unsafe fn simd_shuffle_const_generic<T, U, const IDX: &'static [u32]>(x: T, y: T) -> U; | ||
|
|
||
| pub fn simd_ops_f16() { |
There was a problem hiding this comment.
Your new functions aren't actually being called, but you made them pub which suppresses the warning...
There was a problem hiding this comment.
Oh sorry, my mistake
There was a problem hiding this comment.
Please remove all these pub. I think we have enough evidence to consider them dangerous. :)
|
@rustbot author |
|
Reminder, once the PR becomes ready for a review, use |
|
☔ The latest upstream changes (presumably #147640) made this pull request unmergeable. Please resolve the merge conflicts. |
25ab970 to
0681bae
Compare
|
Thanks! |
Rollup of 8 pull requests Successful merges: - #135099 (Add FileCheck annotations to mir-opt/copy-prop) - #145903 (Give correct suggestion for a typo in raw pointers) - #147520 (Port the remaining SIMD intrinsics to const-eval) - #148068 (rustdoc: Use configured target modifiers when collecting doctests) - #148099 (Prepare to move debugger discovery from compiletest to bootstrap) - #148268 (rustdoc: fix `--emit=dep-info` on scraped examples) - #148306 (Remove double check when decoding ExpnId to avoid races) - #148378 (Fix documentation for std::panic::update_hook) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of #147520 - sayantn:simd-const-eval, r=RalfJung Port the remaining SIMD intrinsics to const-eval successor to #146568, this refactors some implementations and ports the implementation of `simd_fma` and `simd_relaxed_fma`to `rustc_const_eval` Also adds some remaining f16/f128 support in these intrinsics r? `@RalfJung`
Rollup of 8 pull requests Successful merges: - rust-lang/rust#135099 (Add FileCheck annotations to mir-opt/copy-prop) - rust-lang/rust#145903 (Give correct suggestion for a typo in raw pointers) - rust-lang/rust#147520 (Port the remaining SIMD intrinsics to const-eval) - rust-lang/rust#148068 (rustdoc: Use configured target modifiers when collecting doctests) - rust-lang/rust#148099 (Prepare to move debugger discovery from compiletest to bootstrap) - rust-lang/rust#148268 (rustdoc: fix `--emit=dep-info` on scraped examples) - rust-lang/rust#148306 (Remove double check when decoding ExpnId to avoid races) - rust-lang/rust#148378 (Fix documentation for std::panic::update_hook) r? `@ghost` `@rustbot` modify labels: rollup
…Jung Implement SIMD funnel shifts in const-eval/Miri Split off from rust-lang#147520 with just this change for easier review r? `@RalfJung`
…Jung Implement SIMD funnel shifts in const-eval/Miri Split off from rust-lang#147520 with just this change for easier review r? ``@RalfJung``
…Jung Implement SIMD funnel shifts in const-eval/Miri Split off from rust-lang#147520 with just this change for easier review r? ```@RalfJung```
Implement SIMD funnel shifts in const-eval/Miri Split off from rust-lang/rust#147520 with just this change for easier review r? ```@RalfJung```
Implement SIMD funnel shifts in const-eval/Miri Split off from rust-lang/rust#147520 with just this change for easier review r? ```@RalfJung```
…llaumeGomez Rollup of 8 pull requests Successful merges: - rust-lang#135099 (Add FileCheck annotations to mir-opt/copy-prop) - rust-lang#145903 (Give correct suggestion for a typo in raw pointers) - rust-lang#147520 (Port the remaining SIMD intrinsics to const-eval) - rust-lang#148068 (rustdoc: Use configured target modifiers when collecting doctests) - rust-lang#148099 (Prepare to move debugger discovery from compiletest to bootstrap) - rust-lang#148268 (rustdoc: fix `--emit=dep-info` on scraped examples) - rust-lang#148306 (Remove double check when decoding ExpnId to avoid races) - rust-lang#148378 (Fix documentation for std::panic::update_hook) r? `@ghost` `@rustbot` modify labels: rollup
Implement SIMD funnel shifts in const-eval/Miri Split off from rust-lang/rust#147520 with just this change for easier review r? ```@RalfJung```
successor to #146568, this refactors some implementations and ports the implementation of
simd_fmaandsimd_relaxed_fmatorustc_const_evalAlso adds some remaining f16/f128 support in these intrinsics
r? @RalfJung