VirtualBox

Ignore:
Timestamp:
Aug 4, 2022 11:24:52 AM (2 years ago)
Author:
vboxsync
Message:

VMM/IEM: Implement [v]pavg{b,w} instructions, bugref:9898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllInstructionsTwoByte0f.cpp.h

    r96025 r96028  
    1012910129
    1013010130/** Opcode      0x0f 0xe0 - pavgb Pq, Qq */
    10131 FNIEMOP_STUB(iemOp_pavgb_Pq_Qq);
     10131FNIEMOP_DEF(iemOp_pavgb_Pq_Qq)
     10132{
     10133    IEMOP_MNEMONIC2(RM, PAVGB, pavgb, Pq, Qq, DISOPTYPE_HARMLESS, IEMOPHINT_IGNORES_OP_SIZES);
     10134    return FNIEMOP_CALL_1(iemOpCommonMmxSseOpt_FullFull_To_Full, iemAImpl_pavgb_u64);
     10135}
     10136
     10137
    1013210138/** Opcode 0x66 0x0f 0xe0 - pavgb Vx, Wx */
    10133 FNIEMOP_STUB(iemOp_pavgb_Vx_Wx);
     10139FNIEMOP_DEF(iemOp_pavgb_Vx_Wx)
     10140{
     10141    IEMOP_MNEMONIC2(RM, PAVGB, pavgb, Vx, Wx, DISOPTYPE_HARMLESS | DISOPTYPE_SSE, IEMOPHINT_IGNORES_OP_SIZES);
     10142    return FNIEMOP_CALL_1(iemOpCommonSse2Opt_FullFull_To_Full, iemAImpl_pavgb_u128);
     10143}
     10144
     10145
    1013410146/*  Opcode 0xf3 0x0f 0xe0 - invalid */
    1013510147/*  Opcode 0xf2 0x0f 0xe0 - invalid */
     
    1015010162}
    1015110163
     10164
    1015210165/*  Opcode 0xf3 0x0f 0xe1 - invalid */
    1015310166/*  Opcode 0xf2 0x0f 0xe1 - invalid */
     
    1016810181}
    1016910182
     10183
    1017010184/*  Opcode 0xf3 0x0f 0xe2 - invalid */
    1017110185/*  Opcode 0xf2 0x0f 0xe2 - invalid */
    1017210186
    1017310187/** Opcode      0x0f 0xe3 - pavgw Pq, Qq */
    10174 FNIEMOP_STUB(iemOp_pavgw_Pq_Qq);
     10188FNIEMOP_DEF(iemOp_pavgw_Pq_Qq)
     10189{
     10190    IEMOP_MNEMONIC2(RM, PAVGW, pavgw, Pq, Qq, DISOPTYPE_HARMLESS, IEMOPHINT_IGNORES_OP_SIZES);
     10191    return FNIEMOP_CALL_1(iemOpCommonMmxSseOpt_FullFull_To_Full, iemAImpl_pavgw_u64);
     10192}
     10193
     10194
    1017510195/** Opcode 0x66 0x0f 0xe3 - pavgw Vx, Wx */
    10176 FNIEMOP_STUB(iemOp_pavgw_Vx_Wx);
     10196FNIEMOP_DEF(iemOp_pavgw_Vx_Wx)
     10197{
     10198    IEMOP_MNEMONIC2(RM, PAVGW, pavgw, Vx, Wx, DISOPTYPE_HARMLESS | DISOPTYPE_SSE, IEMOPHINT_IGNORES_OP_SIZES);
     10199    return FNIEMOP_CALL_1(iemOpCommonSse2Opt_FullFull_To_Full, iemAImpl_pavgw_u128);
     10200}
     10201
     10202
    1017710203/*  Opcode 0xf3 0x0f 0xe3 - invalid */
    1017810204/*  Opcode 0xf2 0x0f 0xe3 - invalid */
Note: See TracChangeset for help on using the changeset viewer.

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