| 1165 | } |
| 1166 | |
| 1167 | void OpDispatchBuilder::CDQOp(OpcodeArgs) { |
| 1168 | const auto DstSize = OpSizeFromDst(Op); |
| 1169 | const auto SrcSize = DstSize / 2; |
| 1170 | Ref Src = LoadGPRRegister(X86State::REG_RAX, SrcSize, 0, true); |
| 1171 | |
| 1172 | Src = _Sbfe(DstSize <= OpSize::i32Bit ? OpSize::i32Bit : OpSize::i64Bit, IR::OpSizeAsBits(SrcSize), 0, Src); |
| 1173 | |
| 1174 | StoreResult_WithOpSize(GPRClass, Op, Op->Dest, Src, DstSize, OpSize::iInvalid); |
| 1175 | } |
| 1176 | |
| 1177 | void OpDispatchBuilder::SAHFOp(OpcodeArgs) { |
| 1178 | // Extract AH |
nothing calls this directly
no test coverage detected