| 1096 | } |
| 1097 | |
| 1098 | void OpDispatchBuilder::CMPOp(OpcodeArgs, uint32_t SrcIndex) { |
| 1099 | // CMP is an instruction that does a SUB between the sources |
| 1100 | // Result isn't stored in result, only writes to flags |
| 1101 | Ref Src = LoadSource(GPRClass, Op, Op->Src[SrcIndex], Op->Flags, {.AllowUpperGarbage = true}); |
| 1102 | Ref Dest = LoadSource(GPRClass, Op, Op->Dest, Op->Flags, {.AllowUpperGarbage = true}); |
| 1103 | CalculateFlags_SUB(OpSizeFromSrc(Op), Dest, Src); |
| 1104 | } |
| 1105 | |
| 1106 | void OpDispatchBuilder::CQOOp(OpcodeArgs) { |
| 1107 | Ref Src = LoadSource(GPRClass, Op, Op->Src[0], Op->Flags, {.AllowUpperGarbage = true}); |
nothing calls this directly
no outgoing calls
no test coverage detected