Struct safe_arch::m128 [−][src]
#[repr(transparent)]pub struct m128(pub __m128);Expand description
The data for a 128-bit SSE register of four f32 lanes.
- This is very similar to having
[f32; 4]. The main difference is that it’s aligned to 16 instead of just 4, and of course you can perform various intrinsic operations on it.
Tuple Fields
0: __m128Implementations
Transmutes the m128 to an array.
Same as m.into(), just lets you be more explicit about what’s happening.
Transmutes an array into m128.
Same as m128::from(arr), it just lets you be more explicit about what’s
happening.
Converts into the bit patterns of these floats ([u32;4]).
Like f32::to_bits, but all four lanes at once.
Trait Implementations
Performs the += operation. Read more
Binary formats each float’s bit pattern (via f32::to_bits).
Performs the &= operation. Read more
Performs the |= operation. Read more
Performs the ^= operation. Read more
Performs the /= operation. Read more
LowerHex formats each float’s bit pattern (via f32::to_bits).
Performs the *= operation. Read more
Octal formats each float’s bit pattern (via f32::to_bits).
Performs the -= operation. Read more
Convert a reference to the inner type into a reference to the wrapper type. Read more
Convert a mutable reference to the inner type into a mutable reference to the wrapper type. Read more
Convert a slice to the inner type into a slice to the wrapper type.
Convert a mutable slice to the inner type into a mutable slice to the wrapper type. Read more
Convert a reference to the wrapper type into a reference to the inner type. Read more
Convert a mutable reference to the wrapper type into a mutable reference to the inner type. Read more
Convert a slice to the wrapped type into a slice to the inner type.
Convert a mutable slice to the wrapped type into a mutable slice to the inner type. Read more
UpperHex formats each float’s bit pattern (via f32::to_bits).