| 549 | |
| 550 | template<IR::OpSize ElementSize> |
| 551 | void OpDispatchBuilder::AVXInsertScalarRound(OpcodeArgs) { |
| 552 | const uint64_t Mode = Op->Src[2].Literal(); |
| 553 | const auto DstSize = GetGuestVectorLength(); |
| 554 | |
| 555 | Ref Result = InsertScalarRoundImpl(Op, DstSize, ElementSize, Op->Dest, Op->Src[0], Mode, true); |
| 556 | StoreResult_WithOpSize(FPRClass, Op, Op->Dest, Result, DstSize, OpSize::iInvalid); |
| 557 | } |
| 558 | |
| 559 | template void OpDispatchBuilder::AVXInsertScalarRound<OpSize::i32Bit>(OpcodeArgs); |
| 560 | template void OpDispatchBuilder::AVXInsertScalarRound<OpSize::i64Bit>(OpcodeArgs); |