Changeset 66747 in vbox for trunk/src/VBox/ValidationKit/bootsectors
- Timestamp:
- May 2, 2017 2:00:02 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 115155
- Location:
- trunk/src/VBox/ValidationKit/bootsectors
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-generated-1-template.c
r66746 r66747 1944 1944 1945 1945 1946 static unsigned BS3_NEAR_CODE Bs3Cg1EncodeNext_BS3CG1ENC_MODRM_MqWO_Vq(PBS3CG1STATE pThis, unsigned iEncoding) 1947 { 1948 unsigned off; 1949 if (iEncoding == 0) 1950 { 1951 pThis->aOperands[pThis->iRegOp].idxField = BS3CG1DST_XMM2_LO; 1952 off = Bs3Cg1InsertOpcodes(pThis, Bs3Cg1InsertReqPrefix(pThis, 0)); 1953 off = Bs3Cfg1EncodeMemMod0Disp(pThis, false, off, 2 /*iReg*/, 8, 0, BS3CG1OPLOC_MEM_RW); 1954 } 1955 else if (iEncoding == 1) 1956 { 1957 pThis->aOperands[pThis->iRegOp].idxField = BS3CG1DST_XMM3_LO; 1958 off = Bs3Cg1InsertOpcodes(pThis, Bs3Cg1InsertReqPrefix(pThis, 0)); 1959 off = Bs3Cfg1EncodeMemMod0Disp(pThis, false, off, 3 /*iReg*/, 8, 1 /*cbMissalign*/, BS3CG1OPLOC_MEM_RW); 1960 } 1961 else 1962 return 0; 1963 pThis->cbCurInstr = off; 1964 return iEncoding + 1; 1965 } 1966 1967 1946 1968 static unsigned BS3_NEAR_CODE Bs3Cg1EncodeNext_BS3CG1ENC_FIXED(PBS3CG1STATE pThis, unsigned iEncoding) 1947 1969 { … … 2149 2171 case BS3CG1ENC_VEX_MODRM_MdWO: 2150 2172 return Bs3Cg1EncodeNext_BS3CG1ENC_VEX_MODRM_MdWO(pThis, iEncoding); 2173 case BS3CG1ENC_MODRM_MqWO_Vq: 2174 return Bs3Cg1EncodeNext_BS3CG1ENC_MODRM_MqWO_Vq(pThis, iEncoding); 2151 2175 2152 2176 case BS3CG1ENC_FIXED: … … 2346 2370 pThis->aOperands[0].cbOp = 4; 2347 2371 pThis->aOperands[0].enmLocation = BS3CG1OPLOC_MEM_RW; 2372 break; 2373 2374 case BS3CG1ENC_MODRM_MqWO_Vq: 2375 pThis->iRmOp = 0; 2376 pThis->iRegOp = 1; 2377 pThis->aOperands[0].cbOp = 8; 2378 pThis->aOperands[1].cbOp = 8; 2379 pThis->aOperands[0].enmLocation = BS3CG1OPLOC_MEM_RW; 2380 pThis->aOperands[1].enmLocation = BS3CG1OPLOC_CTX; 2348 2381 break; 2349 2382 -
trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-generated-1.h
r66746 r66747 75 75 BS3CG1OP_MdWO, 76 76 BS3CG1OP_Mq, 77 BS3CG1OP_MqWO, 77 78 78 79 BS3CG1OP_END … … 113 114 BS3CG1ENC_MODRM_MdRO, 114 115 BS3CG1ENC_MODRM_MdWO, 116 BS3CG1ENC_MODRM_MqWO_Vq, 115 117 116 118 BS3CG1ENC_VEX_MODRM_MdWO,
Note:
See TracChangeset
for help on using the changeset viewer.