diff options
| author | gnzlbg <gonzalobg88@gmail.com> | 2019-07-13 17:16:57 +0200 |
|---|---|---|
| committer | Ashley Mannix <kodraus@hey.com> | 2020-11-08 12:01:48 +1000 |
| commit | 6e88e96ccf1ca7621e6177d729a69625838db1c8 (patch) | |
| tree | 2c40921ebb7710ac9d5de81fb6ccccfb8e47169c /src/test/codegen/src-hash-algorithm | |
| parent | 9d78d1d02761b906038ba4d54c5f3427f920f5fb (diff) | |
| download | rust-6e88e96ccf1ca7621e6177d729a69625838db1c8.tar.gz rust-6e88e96ccf1ca7621e6177d729a69625838db1c8.zip | |
Support repr(simd) on ADTs containing a single array field
This PR allows using `#[repr(simd)]` on ADTs containing a single array field: ```rust #[repr(simd)] struct S0([f32; 4]); #[repr(simd)] struct S1<const N: usize>([f32; N]); #[repr(simd)] struct S2<T, const N: usize>([T; N]); ``` This should allow experimenting with portable packed SIMD abstractions on nightly that make use of const generics.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
