about summary refs log tree commit diff
path: root/tests/codegen/function-return.rs
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-02-28 22:29:51 +0800
committerGitHub <noreply@github.com>2025-02-28 22:29:51 +0800
commit50ef985be2680963c72c63c52fe33449aec58732 (patch)
tree05229f8d036357add617a145b841a0ee7f606b30 /tests/codegen/function-return.rs
parentd09523d842b6dce9cc9d5fce96d84006420f98de (diff)
parent038f4e2ff67b66ec2b8fcf84025d79ff9a29ba1a (diff)
downloadrust-50ef985be2680963c72c63c52fe33449aec58732.tar.gz
rust-50ef985be2680963c72c63c52fe33449aec58732.zip
Rollup merge of #137551 - folkertdev:import-simd-intrinsics, r=RalfJung
import `simd_` intrinsics

In most cases, we can import the simd intrinsics rather than redeclare them. Apparently, most of these tests were written before `std::intrinsics::simd` existed.

There are a couple of exceptions where we can't yet import:

- the intrinsics are not declared as `const fn` in the standard library, causing issues in the `const-eval` tests
- the `simd_shuffle_generic` function is not exposed from `std::intrinsics`
- the `simd_fpow` and `simd_fpowi` functions are not exposed from `std::intrinsics` (removed in https://github.com/rust-lang/rust/pull/137595)
- some tests use `no_core`, and therefore cannot use `std::intrinsics`

r? ```@RalfJung```

cc ```@workingjubilee``` do you have context on why some intrinsics are not exposed?
Diffstat (limited to 'tests/codegen/function-return.rs')
0 files changed, 0 insertions, 0 deletions