doc.rust-lang.org
pub fn _mm_cvtps_ph(a: __m128, IMM_ROUNDING: i32) -> __m128i
Converts the 4 x 32-bit float values in the 128-bit vector a into 4 x 16-bit half-precision float values stored in the lowest 64-bit of a 128-bit vector.
function
core
Stable since 1.68.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_cvtph_ps(a: __m128i) -> __m128
Converts the 4 x 16-bit half-precision float values in the lowest 64-bit of the 128-bit vector a into 4 x 32-bit float values stored in a 128-bit wide vector.
function
core
Stable since 1.68.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm256_cvtps_ph(a: __m256, IMM_ROUNDING: i32) -> __m128i
Converts the 8 x 32-bit float values in the 256-bit vector a into 8 x 16-bit half-precision float values stored in a 128-bit wide vector.
function
core
Stable since 1.68.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm256_cvtph_ps(a: __m128i) -> __m256
Converts the 8 x 16-bit half-precision float values in the 128-bit vector a into 8 x 32-bit float values stored in a 256-bit wide vector.
function
core
Stable since 1.68.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn __writeeflags(eflags: u64)
Write EFLAGS.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn __readeflags() -> u64
Reads EFLAGS.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn __get_cpuid_max(leaf: u32) -> (u32, u32)
Returns the EAX and EBX register after calling CPUID with the provided leaf, with sub_leaf set to 0.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn __cpuid_count(leaf: u32, sub_leaf: u32) -> CpuidResult
Returns the result of the cpuid instruction for a given leaf (EAX) and sub_leaf (ECX).
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn __cpuid(leaf: u32) -> CpuidResult
Calls CPUID with the provided leaf value, with sub_leaf set to 0. See __cpuid_count.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct CpuidResult
Result of the cpuid instruction.
struct
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn _bittestandset(p: *mut i32, b: i32) -> u8
Returns the bit in position b of the memory addressed by p, then sets the bit to 1.
function
core
Stable since 1.55.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn _bittestandreset(p: *mut i32, b: i32) -> u8
Returns the bit in position b of the memory addressed by p, then resets that bit to 0.
function
core
Stable since 1.55.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn _bittestandcomplement(p: *mut i32, b: i32) -> u8
Returns the bit in position b of the memory addressed by p, then inverts that bit.
function
core
Stable since 1.55.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn _bittest(p: *const i32, b: i32) -> u8
Returns the bit in position b of the memory addressed by p.
function
core
Stable since 1.55.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _bswap(x: i32) -> i32
Returns an integer with the reversed byte order of x
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _pext_u32(a: u32, mask: u32) -> u32
Gathers the bits of x specified by the mask into the contiguous low order bit positions of the result.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _pdep_u32(a: u32, mask: u32) -> u32
Scatter contiguous low order bits of a to the result at the positions specified by the mask.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mulx_u32(a: u32, b: u32, hi: &mut u32) -> u32
Unsigned multiply without affecting flags.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _bzhi_u32(a: u32, index: u32) -> u32
Zeroes higher bits of a >= index.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _tzcnt_u32(x: u32) -> u32
Counts the number of trailing least significant zero bits.
function
core
Stable since 1.27.0
Version 1.100.0-nightly