#[repr(transparent)]
pub struct ControlRegister(_);
Available on AArch64 only.
Expand description

FPCR: Influences floating-point instruction execution.

Implementations§

AHP: Use an alternative format for half-precision floats when converting to/from other formats. Otherwise, use the IEEE half-precision format.

DN: Always use the default encoding for NaN results. Otherwise, use the encoding from an input operand.

FZ: When a result would be denormal, yield zero instead. Otherwise, use the IEEE 754 behavior.

RMode: The IEEE 754 rounding mode in use.

FZ16: Counterpart to flush_to_zero for half-precision calculations.

Requires FEAT_FP16.

For each type of floating-point exception, defines whether the error will be trapped. If false, the corresponding flag in StatusRegister::exceptions will be set instead.

AHP: Use an alternative format for half-precision floats when converting to/from other formats. Otherwise, use the IEEE half-precision format.

AHP: Use an alternative format for half-precision floats when converting to/from other formats. Otherwise, use the IEEE half-precision format.

DN: Always use the default encoding for NaN results. Otherwise, use the encoding from an input operand.

DN: Always use the default encoding for NaN results. Otherwise, use the encoding from an input operand.

FZ: When a result would be denormal, yield zero instead. Otherwise, use the IEEE 754 behavior.

FZ: When a result would be denormal, yield zero instead. Otherwise, use the IEEE 754 behavior.

RMode: The IEEE 754 rounding mode in use.

RMode: The IEEE 754 rounding mode in use.

FZ16: Counterpart to flush_to_zero for half-precision calculations.

Requires FEAT_FP16.

FZ16: Counterpart to flush_to_zero for half-precision calculations.

Requires FEAT_FP16.

For each type of floating-point exception, defines whether the error will be trapped. If false, the corresponding flag in StatusRegister::exceptions will be set instead.

For each type of floating-point exception, defines whether the error will be trapped. If false, the corresponding flag in StatusRegister::exceptions will be set instead.

Retrieve the current value of this register

Update the register to the given value.

Trait Implementations§

Construct a new bitfield type from its underlying representation
Unwrap the bitfield into its underlying representation
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Converts to this type from the input type.
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.