Changeset 66391 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Apr 2, 2017 2:56:59 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 114343
- Location:
- trunk/src/VBox/ValidationKit/bootsectors
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-generated-1-template.c
r66334 r66391 405 405 /* [BS3CG1DST_FPUDS] = */ 2, 406 406 /* [BS3CG1DST_MXCSR] = */ 4, 407 /* [BS3CG1DST_MXCSR_MASK] = */ 4,408 407 /* [BS3CG1DST_ST0] = */ 12, 409 408 /* [BS3CG1DST_ST1] = */ 12, … … 633 632 /* [BS3CG1DST_FPUDS] = */ sizeof(BS3REGCTX) + RT_OFFSETOF(BS3EXTCTX, Ctx.x87.DS), 634 633 /* [BS3CG1DST_MXCSR] = */ sizeof(BS3REGCTX) + RT_OFFSETOF(BS3EXTCTX, Ctx.x87.MXCSR), 635 /* [BS3CG1DST_MXCSR_MASK] = */ sizeof(BS3REGCTX) + RT_OFFSETOF(BS3EXTCTX, Ctx.x87.MXCSR_MASK),636 634 /* [BS3CG1DST_ST0] = */ sizeof(BS3REGCTX) + RT_OFFSETOF(BS3EXTCTX, Ctx.x87.aRegs[0]), 637 635 /* [BS3CG1DST_ST1] = */ sizeof(BS3REGCTX) + RT_OFFSETOF(BS3EXTCTX, Ctx.x87.aRegs[1]), … … 1558 1556 break; 1559 1557 1558 case BS3CG1ENC_MODRM_MdWO: 1559 if (iEncoding == 0) 1560 { 1561 off = Bs3Cg1InsertOpcodes(pThis, Bs3Cg1InsertReqPrefix(pThis, 0)) - 1; 1562 off = Bs3Cfg1EncodeMemMod0Disp(pThis, false, off, 1563 (pThis->abCurInstr[off] & X86_MODRM_REG_MASK) >> X86_MODRM_REG_SHIFT, 1564 4, 0, BS3CG1OPLOC_MEM_RW); 1565 } 1566 else 1567 break; 1568 pThis->cbCurInstr = off; 1569 iEncoding++; 1570 break; 1560 1571 1561 1572 case BS3CG1ENC_FIXED: … … 1826 1837 pThis->aOperands[0].cbOp = 1; 1827 1838 pThis->aOperands[0].enmLocation = BS3CG1OPLOC_MEM; 1839 break; 1840 1841 case BS3CG1ENC_MODRM_MdWO: 1842 pThis->iRmOp = 0; 1843 pThis->aOperands[0].cbOp = 4; 1844 pThis->aOperands[0].enmLocation = BS3CG1OPLOC_MEM_RW; 1828 1845 break; 1829 1846 … … 2675 2692 //CHECK_FIELD(x87.Rsrvd2, "Rsrvd2: %#06x, expected %#06x"); 2676 2693 CHECK_FIELD(x87.MXCSR, "MXCSR: %#010x, expected %#010x"); 2677 //CHECK_FIELD(x87.MXCSR_MASK, "MXCSR_MASK: %#010x, expected %#010x");2678 2694 #undef CHECK_FIELD 2679 2695 for (i = 0; i < RT_ELEMENTS(pExpect->Ctx.x87.aRegs); i++) -
trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-generated-1.h
r66334 r66391 70 70 BS3CG1OP_Ma, 71 71 BS3CG1OP_MbRO, 72 BS3CG1OP_MdWO, 72 73 BS3CG1OP_Mq, 73 74 … … 103 104 BS3CG1ENC_MODRM_Vdq_Wdq, 104 105 BS3CG1ENC_MODRM_MbRO, 106 BS3CG1ENC_MODRM_MdWO, 105 107 106 108 BS3CG1ENC_FIXED, … … 420 422 BS3CG1DST_FPUDS, 421 423 BS3CG1DST_MXCSR, 422 BS3CG1DST_MXCSR_MASK,423 424 BS3CG1DST_ST0, 424 425 BS3CG1DST_ST1,
Note:
See TracChangeset
for help on using the changeset viewer.