vbox的更動 67103 路徑 trunk/src/VBox/ValidationKit
- 時間撮記:
- 2017-5-25 下午10:38:22 (7 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-generated-1-template.c
r67102 r67103 1942 1942 1943 1943 1944 static unsigned BS3_NEAR_CODE Bs3Cg1EncodeNext_MODRM_Vq_WO_Mq(PBS3CG1STATE pThis, unsigned iEncoding)1945 {1946 unsigned off;1947 if (iEncoding == 0)1948 {1949 pThis->aOperands[pThis->iRegOp].idxField = BS3CG1DST_XMM2_LO;1950 off = Bs3Cg1InsertOpcodes(pThis, Bs3Cg1InsertReqPrefix(pThis, 0));1951 off = Bs3Cfg1EncodeMemMod0Disp(pThis, false, off, 2 /*iReg*/, 8, 0, BS3CG1OPLOC_MEM);1952 }1953 else if (iEncoding == 1)1954 {1955 pThis->aOperands[pThis->iRegOp].idxField = BS3CG1DST_XMM3_LO;1956 off = Bs3Cg1InsertOpcodes(pThis, Bs3Cg1InsertReqPrefix(pThis, 0));1957 off = Bs3Cfg1EncodeMemMod0Disp(pThis, false, off, 3 /*iReg*/, 8, 1 /*cbMisalign*/, BS3CG1OPLOC_MEM);1958 }1959 else1960 return 0;1961 pThis->cbCurInstr = off;1962 return iEncoding + 1;1963 }1964 1965 1966 1944 static unsigned BS3_NEAR_CODE Bs3Cg1EncodeNext_MODRM_Vsomething_Wsomething_OR_ViceVersa(PBS3CG1STATE pThis, unsigned iEncoding) 1967 1945 { … … 2110 2088 2111 2089 2112 static unsigned BS3_NEAR_CODE Bs3Cg1EncodeNext_MODRM_Msomething_ WO_Vsomething(PBS3CG1STATE pThis, unsigned iEncoding)2090 static unsigned BS3_NEAR_CODE Bs3Cg1EncodeNext_MODRM_Msomething_Vsomething(PBS3CG1STATE pThis, unsigned iEncoding) 2113 2091 { 2114 2092 unsigned off; … … 3581 3559 switch (pThis->enmEncoding) 3582 3560 { 3583 case BS3CG1ENC_MODRM_Vq_WO_Mq:3584 return Bs3Cg1EncodeNext_MODRM_Vq_WO_Mq(pThis, iEncoding);3585 3586 3561 case BS3CG1ENC_FIXED: 3587 3562 return Bs3Cg1EncodeNext_FIXED(pThis, iEncoding); … … 3947 3922 3948 3923 case BS3CG1ENC_MODRM_VqHi_WO_Mq: 3949 pThis->pfnEncoder = Bs3Cg1EncodeNext_MODRM_Msomething_ WO_Vsomething;3924 pThis->pfnEncoder = Bs3Cg1EncodeNext_MODRM_Msomething_Vsomething; 3950 3925 pThis->iRegOp = 0; 3951 3926 pThis->iRmOp = 1; … … 3958 3933 3959 3934 case BS3CG1ENC_MODRM_Vq_WO_Mq: 3960 pThis->iRmOp = 1; 3961 pThis->iRegOp = 0; 3962 pThis->aOperands[0].cbOp = 8; 3963 pThis->aOperands[1].cbOp = 8; 3964 pThis->aOperands[0].enmLocation = BS3CG1OPLOC_CTX; 3965 pThis->aOperands[1].enmLocation = BS3CG1OPLOC_MEM; 3935 pThis->pfnEncoder = Bs3Cg1EncodeNext_MODRM_Msomething_Vsomething; 3936 pThis->iRegOp = 0; 3937 pThis->iRmOp = 1; 3938 pThis->aOperands[0].cbOp = 8; 3939 pThis->aOperands[1].cbOp = 8; 3940 pThis->aOperands[0].idxFieldBase = BS3CG1DST_XMM0_LO; 3941 pThis->aOperands[0].enmLocation = BS3CG1OPLOC_CTX; 3942 pThis->aOperands[1].enmLocation = BS3CG1OPLOC_MEM; 3966 3943 break; 3967 3944 … … 4054 4031 case BS3CG1ENC_MODRM_Mq_WO_Vq: 4055 4032 case BS3CG1ENC_MODRM_Mq_WO_VqHi: 4056 pThis->pfnEncoder = Bs3Cg1EncodeNext_MODRM_Msomething_ WO_Vsomething;4033 pThis->pfnEncoder = Bs3Cg1EncodeNext_MODRM_Msomething_Vsomething; 4057 4034 pThis->iRmOp = 0; 4058 4035 pThis->iRegOp = 1;
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器