Example #1
0
void Vgen::emit(const ldimmb& i) {
    if (i.d.isSIMD()) {
        emitSimdImmInt(a, i.s.q(), i.d);
    } else {
        Vreg8 d = i.d;
        a->Mov(W(d), i.s.b());
    }
}
Example #2
0
void Vgen::emit(ldimml& i) {
  if (i.d.isSIMD()) {
    emitSimdImmInt(a, i.s.q(), i.d);
  } else {
    Vreg32 d = i.d;
    a->Mov(W(d), i.s.l());
  }
}