Skip to content
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

Support repr(simd) on ADTs containing a single array field #63531

Closed
wants to merge 13 commits into from

Commits on Aug 13, 2019

  1. 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.
    gnzlbg committed Aug 13, 2019
    Configuration menu
    Copy the full SHA
    257158f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3773bcf View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2019

  1. Configuration menu
    Copy the full SHA
    58fe683 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8963966 View commit details
    Browse the repository at this point in the history
  3. Remove assert

    gnzlbg committed Aug 14, 2019
    Configuration menu
    Copy the full SHA
    bf44809 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a446967 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    518eff2 View commit details
    Browse the repository at this point in the history
  6. Add more transmute tests

    gnzlbg committed Aug 14, 2019
    Configuration menu
    Copy the full SHA
    fbe64f4 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2019

  1. Fix more tests

    gnzlbg committed Aug 15, 2019
    Configuration menu
    Copy the full SHA
    173aafa View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2019

  1. Simplify simd_ty_and_len

    gnzlbg committed Aug 28, 2019
    Configuration menu
    Copy the full SHA
    9f72fc7 View commit details
    Browse the repository at this point in the history
  2. Fix typo

    gnzlbg committed Aug 28, 2019
    Configuration menu
    Copy the full SHA
    06037a3 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2019

  1. Skip align attribute in tests

    gnzlbg committed Aug 29, 2019
    Configuration menu
    Copy the full SHA
    69d0fa9 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2019

  1. Configuration menu
    Copy the full SHA
    a21939b View commit details
    Browse the repository at this point in the history