Changeset 67105 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- May 25, 2017 10:45:41 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-generated-1-template.c
r67104 r67105 2099 2099 case 1: 2100 2100 off = Bs3Cg1InsertOpcodes(pThis, Bs3Cg1InsertReqPrefix(pThis, 0)); 2101 off = Bs3Cfg1EncodeMemMod0DispWithRegFieldAndDefaultsMisaligned(pThis, off, 3 /*iReg*/, 1 /*cbMisalign*/);2102 break;2103 default:2104 return 0;2105 }2106 pThis->cbCurInstr = off;2107 return iEncoding + 1;2108 }2109 2110 2111 static unsigned BS3_NEAR_CODE Bs3Cg1EncodeNext_MODRM_MsomethingWO_Vsomething_OR_ViceVersa(PBS3CG1STATE pThis, unsigned iEncoding)2112 {2113 unsigned off;2114 switch (iEncoding)2115 {2116 case 0:2117 off = Bs3Cg1InsertOpcodes(pThis, Bs3Cg1InsertReqPrefix(pThis, 0));2118 off = Bs3Cfg1EncodeMemMod0DispWithRegFieldAndDefaults(pThis, off, 2 /*iReg*/);2119 break;2120 case 1:2121 off = Bs3Cg1InsertOpcodes(pThis, Bs3Cg1InsertReqPrefix(pThis, 0));2122 2101 off = Bs3Cfg1EncodeMemMod0DispWithRegFieldAndDefaultsMisaligned(pThis, off, 2 /*iReg*/, 1 /*cbMisalign*/ ); 2123 2102 if (!Bs3Cg1XcptTypeIsUnaligned(pThis->enmXcptType)) … … 3790 3769 3791 3770 case BS3CG1ENC_MODRM_Vdq_WO_Mdq: 3792 pThis->pfnEncoder = Bs3Cg1EncodeNext_MODRM_Msomething WO_Vsomething_OR_ViceVersa;3771 pThis->pfnEncoder = Bs3Cg1EncodeNext_MODRM_Msomething_Vsomething_OR_ViceVersa; 3793 3772 pThis->iRegOp = 0; 3794 3773 pThis->iRmOp = 1; … … 4008 3987 4009 3988 case BS3CG1ENC_MODRM_Mdq_WO_Vdq: 4010 pThis->pfnEncoder = Bs3Cg1EncodeNext_MODRM_Msomething WO_Vsomething_OR_ViceVersa;3989 pThis->pfnEncoder = Bs3Cg1EncodeNext_MODRM_Msomething_Vsomething_OR_ViceVersa; 4011 3990 pThis->iRmOp = 0; 4012 3991 pThis->iRegOp = 1; … … 4045 4024 case BS3CG1ENC_MODRM_Mps_WO_Vps: 4046 4025 case BS3CG1ENC_MODRM_Mpd_WO_Vpd: 4047 pThis->pfnEncoder = Bs3Cg1EncodeNext_MODRM_Msomething WO_Vsomething_OR_ViceVersa;4026 pThis->pfnEncoder = Bs3Cg1EncodeNext_MODRM_Msomething_Vsomething_OR_ViceVersa; 4048 4027 pThis->iRmOp = 0; 4049 4028 pThis->iRegOp = 1;
Note:
See TracChangeset
for help on using the changeset viewer.