Skip to main content

CFldspEmitter

Trait CFldspEmitter 

Source
pub trait CFldspEmitter<T0, T1> {
    // Required method
    fn c_fldsp(&mut self, rd: T0, imm: T1);
}
Expand description

Load doubleword into floating-point register from stack

Loads a double-precision floating-point value from memory into floating-point register rd. It computes its effective address by adding the zero-extended offset, scaled by 8, to the stack pointer, x2. It expands to fld rd, offset(x2).

§Forms

Assembly: c.fldsp fd, imm(sp) Rust: c_fldsp(rd, imm)

§Arguments

  • rd — Destination register.
  • imm — Immediate encoding value.

Required Methods§

Source

fn c_fldsp(&mut self, rd: T0, imm: T1)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<U1: Into<Imm>> CFldspEmitter<Fp, U1> for Assembler<'_>