VirtualBox

Changeset 66791 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
May 4, 2017 12:29:02 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
115203
Message:

IEM: Implemented movhps Mq,Vq (0f 17).

Location:
trunk/src/VBox/ValidationKit/bootsectors
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-generated-1-template.c

    r66785 r66791  
    20122012
    20132013
     2014static unsigned BS3_NEAR_CODE Bs3Cg1EncodeNext_BS3CG1ENC_MODRM_MqWO_VqHi(PBS3CG1STATE pThis, unsigned iEncoding)
     2015{
     2016    unsigned off;
     2017    if (iEncoding == 0)
     2018    {
     2019        pThis->aOperands[pThis->iRegOp].idxField = BS3CG1DST_XMM2_HI;
     2020        off = Bs3Cg1InsertOpcodes(pThis, Bs3Cg1InsertReqPrefix(pThis, 0));
     2021        off = Bs3Cfg1EncodeMemMod0Disp(pThis, false, off, 2 /*iReg*/, 8, 0, BS3CG1OPLOC_MEM_RW);
     2022    }
     2023    else if (iEncoding == 1)
     2024    {
     2025        pThis->aOperands[pThis->iRegOp].idxField = BS3CG1DST_XMM3_HI;
     2026        off = Bs3Cg1InsertOpcodes(pThis, Bs3Cg1InsertReqPrefix(pThis, 0));
     2027        off = Bs3Cfg1EncodeMemMod0Disp(pThis, false, off, 3 /*iReg*/, 8, 1 /*cbMissalign*/, BS3CG1OPLOC_MEM_RW);
     2028    }
     2029    else
     2030        return 0;
     2031    pThis->cbCurInstr = off;
     2032    return iEncoding + 1;
     2033}
     2034
     2035
    20142036static unsigned BS3_NEAR_CODE Bs3Cg1EncodeNext_BS3CG1ENC_FIXED(PBS3CG1STATE pThis, unsigned iEncoding)
    20152037{
     
    22232245        case BS3CG1ENC_MODRM_MqWO_Vq:
    22242246            return Bs3Cg1EncodeNext_BS3CG1ENC_MODRM_MqWO_Vq(pThis, iEncoding);
     2247        case BS3CG1ENC_MODRM_MqWO_VqHi:
     2248            return Bs3Cg1EncodeNext_BS3CG1ENC_MODRM_MqWO_VqHi(pThis, iEncoding);
    22252249
    22262250        case BS3CG1ENC_FIXED:
     
    24252449
    24262450        case BS3CG1ENC_MODRM_MqWO_Vq:
     2451        case BS3CG1ENC_MODRM_MqWO_VqHi:
    24272452            pThis->iRmOp             = 0;
    24282453            pThis->iRegOp            = 1;
  • trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-generated-1.h

    r66785 r66791  
    118118    BS3CG1ENC_MODRM_MdWO,
    119119    BS3CG1ENC_MODRM_MqWO_Vq,
     120    BS3CG1ENC_MODRM_MqWO_VqHi,
    120121
    121122    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