Changeset 67102 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- May 25, 2017 10:35:24 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-generated-1-template.c
r67101 r67102 1964 1964 1965 1965 1966 static unsigned BS3_NEAR_CODE Bs3Cg1EncodeNext_MODRM_VqHi_WO_Uq(PBS3CG1STATE pThis, unsigned iEncoding)1967 {1968 unsigned off;1969 if (iEncoding == 0)1970 {1971 off = Bs3Cg1InsertOpcodes(pThis, Bs3Cg1InsertReqPrefix(pThis, 0));1972 pThis->abCurInstr[off++] = X86_MODRM_MAKE(3, 1, 0);1973 pThis->aOperands[pThis->iRmOp ].idxField = BS3CG1DST_XMM0_LO;1974 pThis->aOperands[pThis->iRegOp].idxField = BS3CG1DST_XMM1_HI;1975 }1976 else if (iEncoding == 1)1977 {1978 off = Bs3Cg1InsertOpcodes(pThis, Bs3Cg1InsertReqPrefix(pThis, 0));1979 pThis->abCurInstr[off++] = X86_MODRM_MAKE(3, 2, 2);1980 pThis->aOperands[pThis->iRmOp ].idxField = BS3CG1DST_XMM2_LO;1981 pThis->aOperands[pThis->iRegOp].idxField = BS3CG1DST_XMM2_HI;1982 }1983 else1984 return 0;1985 pThis->cbCurInstr = off;1986 return iEncoding + 1;1987 }1988 1989 1990 1966 static unsigned BS3_NEAR_CODE Bs3Cg1EncodeNext_MODRM_Vsomething_Wsomething_OR_ViceVersa(PBS3CG1STATE pThis, unsigned iEncoding) 1991 1967 { … … 3607 3583 case BS3CG1ENC_MODRM_Vq_WO_Mq: 3608 3584 return Bs3Cg1EncodeNext_MODRM_Vq_WO_Mq(pThis, iEncoding); 3609 case BS3CG1ENC_MODRM_VqHi_WO_Uq:3610 return Bs3Cg1EncodeNext_MODRM_VqHi_WO_Uq(pThis, iEncoding);3611 3585 3612 3586 case BS3CG1ENC_FIXED: … … 3961 3935 3962 3936 case BS3CG1ENC_MODRM_VqHi_WO_Uq: 3963 pThis->iRmOp = 1; 3964 pThis->iRegOp = 0; 3965 pThis->aOperands[0].cbOp = 8; 3966 pThis->aOperands[1].cbOp = 8; 3967 pThis->aOperands[0].enmLocation = BS3CG1OPLOC_CTX; 3968 pThis->aOperands[1].enmLocation = BS3CG1OPLOC_CTX; 3937 pThis->pfnEncoder = Bs3Cg1EncodeNext_MODRM_Vsomething_Usomething_OR_ViceVersa; 3938 pThis->iRegOp = 0; 3939 pThis->iRmOp = 1; 3940 pThis->aOperands[0].cbOp = 8; 3941 pThis->aOperands[1].cbOp = 8; 3942 pThis->aOperands[0].idxFieldBase = BS3CG1DST_XMM0_HI; 3943 pThis->aOperands[1].idxFieldBase = BS3CG1DST_XMM0_LO; 3944 pThis->aOperands[0].enmLocation = BS3CG1OPLOC_CTX; 3945 pThis->aOperands[1].enmLocation = BS3CG1OPLOC_CTX; 3969 3946 break; 3970 3947
Note:
See TracChangeset
for help on using the changeset viewer.