VirtualBox

Ignore:
Timestamp:
May 2, 2017 2:00:02 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
115155
Message:

IEM: Implemented movlps Mq,Vq (0x0f 0x13).

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  
    19441944
    19451945
     1946static 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
    19461968static unsigned BS3_NEAR_CODE Bs3Cg1EncodeNext_BS3CG1ENC_FIXED(PBS3CG1STATE pThis, unsigned iEncoding)
    19471969{
     
    21492171        case BS3CG1ENC_VEX_MODRM_MdWO:
    21502172            return Bs3Cg1EncodeNext_BS3CG1ENC_VEX_MODRM_MdWO(pThis, iEncoding);
     2173        case BS3CG1ENC_MODRM_MqWO_Vq:
     2174            return Bs3Cg1EncodeNext_BS3CG1ENC_MODRM_MqWO_Vq(pThis, iEncoding);
    21512175
    21522176        case BS3CG1ENC_FIXED:
     
    23462370            pThis->aOperands[0].cbOp = 4;
    23472371            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;
    23482381            break;
    23492382
  • trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-generated-1.h

    r66746 r66747  
    7575    BS3CG1OP_MdWO,
    7676    BS3CG1OP_Mq,
     77    BS3CG1OP_MqWO,
    7778
    7879    BS3CG1OP_END
     
    113114    BS3CG1ENC_MODRM_MdRO,
    114115    BS3CG1ENC_MODRM_MdWO,
     116    BS3CG1ENC_MODRM_MqWO_Vq,
    115117
    116118    BS3CG1ENC_VEX_MODRM_MdWO,
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette