Changeset 66791 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- May 4, 2017 12:29:02 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 115203
- Location:
- trunk/src/VBox/ValidationKit/bootsectors
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-generated-1-template.c
r66785 r66791 2012 2012 2013 2013 2014 static unsigned BS3_NEAR_CODE Bs3Cg1EncodeNext_BS3CG1ENC_MODRM_MqWO_VqHi(PBS3CG1STATE pThis, unsigned iEncoding) 2015 { 2016 unsigned off; 2017 if (iEncoding == 0) 2018 { 2019 pThis->aOperands[pThis->iRegOp].idxField = BS3CG1DST_XMM2_HI; 2020 off = Bs3Cg1InsertOpcodes(pThis, Bs3Cg1InsertReqPrefix(pThis, 0)); 2021 off = Bs3Cfg1EncodeMemMod0Disp(pThis, false, off, 2 /*iReg*/, 8, 0, BS3CG1OPLOC_MEM_RW); 2022 } 2023 else if (iEncoding == 1) 2024 { 2025 pThis->aOperands[pThis->iRegOp].idxField = BS3CG1DST_XMM3_HI; 2026 off = Bs3Cg1InsertOpcodes(pThis, Bs3Cg1InsertReqPrefix(pThis, 0)); 2027 off = Bs3Cfg1EncodeMemMod0Disp(pThis, false, off, 3 /*iReg*/, 8, 1 /*cbMissalign*/, BS3CG1OPLOC_MEM_RW); 2028 } 2029 else 2030 return 0; 2031 pThis->cbCurInstr = off; 2032 return iEncoding + 1; 2033 } 2034 2035 2014 2036 static unsigned BS3_NEAR_CODE Bs3Cg1EncodeNext_BS3CG1ENC_FIXED(PBS3CG1STATE pThis, unsigned iEncoding) 2015 2037 { … … 2223 2245 case BS3CG1ENC_MODRM_MqWO_Vq: 2224 2246 return Bs3Cg1EncodeNext_BS3CG1ENC_MODRM_MqWO_Vq(pThis, iEncoding); 2247 case BS3CG1ENC_MODRM_MqWO_VqHi: 2248 return Bs3Cg1EncodeNext_BS3CG1ENC_MODRM_MqWO_VqHi(pThis, iEncoding); 2225 2249 2226 2250 case BS3CG1ENC_FIXED: … … 2425 2449 2426 2450 case BS3CG1ENC_MODRM_MqWO_Vq: 2451 case BS3CG1ENC_MODRM_MqWO_VqHi: 2427 2452 pThis->iRmOp = 0; 2428 2453 pThis->iRegOp = 1; -
trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-generated-1.h
r66785 r66791 118 118 BS3CG1ENC_MODRM_MdWO, 119 119 BS3CG1ENC_MODRM_MqWO_Vq, 120 BS3CG1ENC_MODRM_MqWO_VqHi, 120 121 121 122 BS3CG1ENC_VEX_MODRM_MdWO,
Note:
See TracChangeset
for help on using the changeset viewer.