ir: Add opcode to perform the vector conversion S64->F64

Unfortunately x86 prior to AVX-512 doesn't really give us any convenient instruction to do the work for us
This commit is contained in:
Lioncash 2018-05-08 11:18:13 -04:00 committed by MerryMage
parent 0e61ee6bf6
commit 3f6c529da2
4 changed files with 47 additions and 0 deletions

View file

@ -1488,6 +1488,10 @@ U128 IREmitter::FPVectorS32ToSingle(const U128& a) {
return Inst<U128>(Opcode::FPVectorS32ToSingle, a);
}
U128 IREmitter::FPVectorS64ToDouble(const U128& a) {
return Inst<U128>(Opcode::FPVectorS64ToDouble, a);
}
void IREmitter::Breakpoint() {
Inst(Opcode::Breakpoint);
}