Changeset 67040 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- May 23, 2017 11:51:12 AM (8 years ago)
- Location:
- trunk/src/VBox/ValidationKit/bootsectors
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-generated-1-data.py
r67003 r67040 352 352 assert len(oInstr.asCpuIds) in [0, 1], str(oInstr); 353 353 if oInstr.asCpuIds: 354 self.sCpu += oInstr.asCpuIds[0].upper() ;354 self.sCpu += oInstr.asCpuIds[0].upper().replace('.', '_'); 355 355 elif oInstr.sMinCpu: 356 356 self.sCpu += 'GE_' + oInstr.sMinCpu; -
trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-generated-1-template.c
r67037 r67040 2411 2411 2412 2412 2413 static unsigned BS3_NEAR_CODE Bs3Cg1EncodeNext_MODRM_MsomethingWO_Vsomething (PBS3CG1STATE pThis, unsigned iEncoding)2413 static unsigned BS3_NEAR_CODE Bs3Cg1EncodeNext_MODRM_MsomethingWO_Vsomething_OR_ViceVersa(PBS3CG1STATE pThis, unsigned iEncoding) 2414 2414 { 2415 2415 unsigned off; … … 4188 4188 case BS3CG1ENC_MODRM_VqHi_WO_Mq: 4189 4189 return Bs3Cg1EncodeNext_MODRM_VqHi_WO_Mq(pThis, iEncoding); 4190 case BS3CG1ENC_MODRM_Vdq_WO_Wdq:4191 return Bs3Cg1EncodeNext_MODRM_Vdq_WO_Wdq(pThis, iEncoding);4192 4190 case BS3CG1ENC_MODRM_Vpd_WO_Wpd: 4193 4191 case BS3CG1ENC_MODRM_Vps_WO_Wps: … … 4408 4406 break; 4409 4407 4408 case BS3CG1ENC_MODRM_Vdq_WO_Mdq: 4409 pThis->pfnEncoder = Bs3Cg1EncodeNext_MODRM_MsomethingWO_Vsomething_OR_ViceVersa; 4410 pThis->iRegOp = 0; 4411 pThis->iRmOp = 1; 4412 pThis->aOperands[0].cbOp = 16; 4413 pThis->aOperands[1].cbOp = 16; 4414 pThis->aOperands[0].enmLocation = BS3CG1OPLOC_CTX; 4415 pThis->aOperands[1].enmLocation = BS3CG1OPLOC_MEM; 4416 pThis->aOperands[0].idxFieldBase = BS3CG1DST_XMM0; 4417 break; 4418 4410 4419 case BS3CG1ENC_MODRM_Vdq_WO_Wdq: 4420 pThis->pfnEncoder = Bs3Cg1EncodeNext_MODRM_Vdq_WO_Wdq; 4411 4421 pThis->iRmOp = 1; 4412 4422 pThis->iRegOp = 0; … … 4566 4576 4567 4577 case BS3CG1ENC_MODRM_Mdq_WO_Vdq: 4568 pThis->pfnEncoder = Bs3Cg1EncodeNext_MODRM_MsomethingWO_Vsomething ;4578 pThis->pfnEncoder = Bs3Cg1EncodeNext_MODRM_MsomethingWO_Vsomething_OR_ViceVersa; 4569 4579 pThis->iRmOp = 0; 4570 4580 pThis->iRegOp = 1; … … 4599 4609 case BS3CG1ENC_MODRM_Mps_WO_Vps: 4600 4610 case BS3CG1ENC_MODRM_Mpd_WO_Vpd: 4601 pThis->pfnEncoder = Bs3Cg1EncodeNext_MODRM_MsomethingWO_Vsomething ;4611 pThis->pfnEncoder = Bs3Cg1EncodeNext_MODRM_MsomethingWO_Vsomething_OR_ViceVersa; 4602 4612 pThis->iRmOp = 0; 4603 4613 pThis->iRegOp = 1; … … 5079 5089 case BS3CG1CPU_SSE2: 5080 5090 case BS3CG1CPU_SSE3: 5091 case BS3CG1CPU_SSE4_1: 5081 5092 case BS3CG1CPU_AVX: 5082 5093 case BS3CG1CPU_AVX2: … … 5158 5169 case BS3CG1CPU_SSE2: 5159 5170 case BS3CG1CPU_SSE3: 5171 case BS3CG1CPU_SSE4_1: 5160 5172 case BS3CG1CPU_AVX: 5161 5173 if (g_uBs3CpuDetected & BS3CPU_F_CPUID) … … 5174 5186 case BS3CG1CPU_SSE3: 5175 5187 if (fEcx & X86_CPUID_FEATURE_ECX_SSE3) 5188 return Bs3Cg3SetupSseAndAvx(pThis); 5189 return false; 5190 case BS3CG1CPU_SSE4_1: 5191 if (fEcx & X86_CPUID_FEATURE_ECX_SSE4_1) 5176 5192 return Bs3Cg3SetupSseAndAvx(pThis); 5177 5193 return false; -
trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-generated-1.h
r67037 r67040 117 117 BS3CG1OP_Md_RO, 118 118 BS3CG1OP_Md_WO, 119 BS3CG1OP_Mdq, 119 120 BS3CG1OP_Mdq_WO, 120 121 BS3CG1OP_Mq, … … 165 166 BS3CG1ENC_MODRM_VqHi_WO_Mq, 166 167 BS3CG1ENC_MODRM_VqZx_WO_Eq_WNZ, 168 BS3CG1ENC_MODRM_Vdq_WO_Mdq, 167 169 BS3CG1ENC_MODRM_Vdq_WO_Wdq, 168 170 BS3CG1ENC_MODRM_Vpd_WO_Wpd, … … 262 264 BS3CG1CPU_SSE2, 263 265 BS3CG1CPU_SSE3, 266 BS3CG1CPU_SSE4_1, 264 267 BS3CG1CPU_AVX, 265 268 BS3CG1CPU_AVX2,
Note:
See TracChangeset
for help on using the changeset viewer.