pub struct EncoderHints {
pub address_size: Option<AddressSizeHint>,
pub operand_size: Option<OperandSizeHint>,
pub broadcast_mode: BroadcastMode,
pub rounding_mode: Option<RoundingMode>,
pub suppress_all_exceptions: bool,
}Expand description
Encoder hints for AVX-512 and advanced instruction encoding
This structure contains optional hints that control encoding behavior, particularly for AVX-512 instructions with mask registers, broadcast, rounding control, and exception suppression.
Fields§
§address_size: Option<AddressSizeHint>Address size hint (16/32/64 bits)
operand_size: Option<OperandSizeHint>Operand size hint (16/32/64 bits)
broadcast_mode: BroadcastModeBroadcast mode for memory operands
rounding_mode: Option<RoundingMode>Rounding mode for EVEX instructions
suppress_all_exceptions: boolSuppress All Exceptions (SAE) flag
Trait Implementations§
Source§impl Clone for EncoderHints
impl Clone for EncoderHints
Source§fn clone(&self) -> EncoderHints
fn clone(&self) -> EncoderHints
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EncoderHints
impl Debug for EncoderHints
Source§impl Default for EncoderHints
impl Default for EncoderHints
Source§fn default() -> EncoderHints
fn default() -> EncoderHints
Returns the “default value” for a type. Read more
impl Copy for EncoderHints
Auto Trait Implementations§
impl Freeze for EncoderHints
impl RefUnwindSafe for EncoderHints
impl Send for EncoderHints
impl Sync for EncoderHints
impl Unpin for EncoderHints
impl UnsafeUnpin for EncoderHints
impl UnwindSafe for EncoderHints
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more