Changeset 66810 in vbox for trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-generated-1-template.c
- Timestamp:
- May 5, 2017 2:36:10 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-generated-1-template.c
r66808 r66810 1797 1797 1798 1798 1799 static unsigned BS3_NEAR_CODE Bs3Cg1EncodeNext_BS3CG1ENC_MODRM_VqZxReg_Nq(PBS3CG1STATE pThis, unsigned iEncoding) 1800 { 1801 unsigned off; 1802 if (iEncoding == 0) 1803 { 1804 off = Bs3Cg1InsertOpcodes(pThis, Bs3Cg1InsertReqPrefix(pThis, 0)); 1805 pThis->abCurInstr[off++] = X86_MODRM_MAKE(3, 1, 0); 1806 pThis->aOperands[pThis->iRmOp ].idxField = BS3CG1DST_MM0; 1807 pThis->aOperands[pThis->iRegOp].idxField = BS3CG1DST_XMM1_LO_ZX; 1808 } 1809 else if (iEncoding == 1) 1810 { 1811 off = Bs3Cg1InsertOpcodes(pThis, Bs3Cg1InsertReqPrefix(pThis, 0)); 1812 pThis->abCurInstr[off++] = X86_MODRM_MAKE(3, 6, 7); 1813 pThis->aOperands[pThis->iRmOp ].idxField = BS3CG1DST_MM7; 1814 pThis->aOperands[pThis->iRegOp].idxField = BS3CG1DST_XMM6_LO_ZX; 1815 } 1816 else 1817 return 0; 1818 pThis->cbCurInstr = off; 1819 return iEncoding + 1; 1820 } 1821 1822 1799 1823 static unsigned BS3_NEAR_CODE Bs3Cg1EncodeNext_BS3CG1ENC_MODRM_Gv_Ma(PBS3CG1STATE pThis, unsigned iEncoding) 1800 1824 { … … 2233 2257 case BS3CG1ENC_MODRM_VqZxReg_Wq: 2234 2258 return Bs3Cg1EncodeNext_BS3CG1ENC_MODRM_VsdZxReg_Wsd__OR__MODRM_VqZxReg_Wq(pThis, iEncoding); 2259 case BS3CG1ENC_MODRM_VqZxReg_Nq: 2260 return Bs3Cg1EncodeNext_BS3CG1ENC_MODRM_VqZxReg_Nq(pThis, iEncoding); 2235 2261 2236 2262 case BS3CG1ENC_MODRM_Gv_Ma: … … 2424 2450 case BS3CG1ENC_MODRM_VsdZxReg_Wsd: 2425 2451 case BS3CG1ENC_MODRM_VqZxReg_Wq: 2452 case BS3CG1ENC_MODRM_VqZxReg_Nq: 2426 2453 pThis->iRmOp = 1; 2427 2454 pThis->iRegOp = 0;
Note:
See TracChangeset
for help on using the changeset viewer.