| 537 | |
| 538 | template<IR::OpSize ElementSize> |
| 539 | void OpDispatchBuilder::InsertScalarRound(OpcodeArgs) { |
| 540 | const uint64_t Mode = Op->Src[1].Literal(); |
| 541 | const auto DstSize = GetGuestVectorLength(); |
| 542 | |
| 543 | Ref Result = InsertScalarRoundImpl(Op, DstSize, ElementSize, Op->Dest, Op->Src[0], Mode, false); |
| 544 | StoreResult_WithOpSize(FPRClass, Op, Op->Dest, Result, DstSize, OpSize::iInvalid); |
| 545 | } |
| 546 | |
| 547 | template void OpDispatchBuilder::InsertScalarRound<OpSize::i32Bit>(OpcodeArgs); |
| 548 | template void OpDispatchBuilder::InsertScalarRound<OpSize::i64Bit>(OpcodeArgs); |