# Function core::arch::x86::_mm_set_ps 1.27.0[−][src]

    pub unsafe fn _mm_set_ps(a: f32, b: f32, c: f32, d: f32) -> __m128

This is supported on x86 and target feature `sse` only.

Construct a `__m128` from four floating point values highest to lowest.

Note that `a` will be the highest 32 bits of the result, and `d` the lowest. This matches the standard way of writing bit patterns on x86:

     bit    127 .. 96  95 .. 64  63 .. 32  31 .. 0
           +---------+---------+---------+---------+
           |    a    |    b    |    c    |    d    |   result
           +---------+---------+---------+---------+

Alternatively:

    let v = _mm_set_ps(d, c, b, a);

Intel's documentation

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)

Search multiple things at once by splitting your query with comma (e.g. `str,u8` or `String,struct:Vec,test`)