about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2021-07-24 16:01:57 -0700
committerGitHub <noreply@github.com>2021-07-24 16:01:57 -0700
commit82e3405efe5ffd2bc214d32b581d5cfc1157eb8d (patch)
tree4051bef1cbb11b4c9c53acc0ea26eefcbd6503b2 /src/test/codegen/src-hash-algorithm
parent732b7edfab46b33e3861172eb867b139a9425574 (diff)
parent97c25dd7465f4db60c013d7688b809a7da5388a6 (diff)
downloadrust-82e3405efe5ffd2bc214d32b581d5cfc1157eb8d.tar.gz
rust-82e3405efe5ffd2bc214d32b581d5cfc1157eb8d.zip
Merge pull request #142 from rust-lang/feature/traits
Combine LanesAtMost32 and SimdArray into a single trait "Vector"

Attempts to fix some unresolved questions in #139 regarding `SimdArray` having a generic parameter.

In particular, this made it not appropriate for replacing `LanesAtMost32`.  Additionally, it made it impossible to use in a context where you otherwise don't know the lane count, e.g. `impl Vector`.

An unfortunate side effect of this change is that scatter/gather no longer work in the trait (nor does anything else that references the lane count in a type.  This requires the super-unstable `const_evaluatable_checked` feature).

I also threw in the change from `as_slice` to `as_array` as discussed in zulip, and fixes #51.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions