EMIT(MIR_RDTSC.create(IA32_RDTSC, R(getEAX()),R(getEDX()))); EMIT(MIR_Move.create(IA32_MOV, R(lowReg), R(getEAX()))); EMIT(MIR_Move.create(IA32_MOV, R(highReg), R(getEDX())));
EMIT(MIR_RDTSC.create(IA32_RDTSC, new OPT_RegisterOperand(getEAX(), VM_TypeReference.Int), new OPT_RegisterOperand(getEDX(), VM_TypeReference.Int))); EMIT(MIR_Move.create(IA32_MOV, new OPT_RegisterOperand(lowReg, VM_TypeReference.Int), new OPT_RegisterOperand(getEAX(), VM_TypeReference.Int))); EMIT(MIR_Move.create(IA32_MOV, new OPT_RegisterOperand(highReg, VM_TypeReference.Int), new OPT_RegisterOperand(getEDX(), VM_TypeReference.Int)));
  protected final void GET_TIME_BASE(OPT_Instruction s,                                     OPT_RegisterOperand result) {    OPT_Register highReg = result.register;    OPT_Register lowReg = regpool.getSecondReg(highReg);    EMIT(MIR_RDTSC.create(IA32_RDTSC, R(getEAX()),R(getEDX())));    EMIT(MIR_Move.create(IA32_MOV, R(lowReg), R(getEAX())));    EMIT(MIR_Move.create(IA32_MOV, R(highReg), R(getEDX())));  }