VirtualBox

Changeset 65780 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Feb 13, 2017 5:40:26 PM (8 years ago)
Author:
vboxsync
Message:

IEM: Group 12, 13, and 14 jump table size checks.

File:
1 edited

Legend:

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

    r65779 r65780  
    29402940 * Group 12 jump table for register variant.
    29412941 */
    2942 IEM_STATIC const PFNIEMOPRM g_apfnGroup12RegReg[8*4] =
     2942IEM_STATIC const PFNIEMOPRM g_apfnGroup12RegReg[] =
    29432943{
    29442944    /* /0 */ IEMOP_X4(iemOp_InvalidWithRMNeedImm8),
     
    29512951    /* /7 */ IEMOP_X4(iemOp_InvalidWithRMNeedImm8)
    29522952};
     2953AssertCompile(RT_ELEMENTS(g_apfnGroup12RegReg) == 8*4);
    29532954
    29542955
     
    29872988 * Group 13 jump table for register variant.
    29882989 */
    2989 IEM_STATIC const PFNIEMOPRM g_apfnGroup13RegReg[8*4] =
     2990IEM_STATIC const PFNIEMOPRM g_apfnGroup13RegReg[] =
    29902991{
    29912992    /** @todo decode imm8? */
     
    29993000    /* /7 */ IEMOP_X4(iemOp_InvalidWithRMNeedImm8)
    30003001};
     3002AssertCompile(RT_ELEMENTS(g_apfnGroup13RegReg) == 8*4);
    30013003
    30023004/** Opcode 0x0f 0x72. */
     
    30333035 * Group 14 jump table for register variant.
    30343036 */
    3035 IEM_STATIC const PFNIEMOPRM g_apfnGroup14RegReg[8*4] =
     3037IEM_STATIC const PFNIEMOPRM g_apfnGroup14RegReg[] =
    30363038{
    30373039    /* /0 */ IEMOP_X4(iemOp_InvalidWithRMNeedImm8),
     
    30443046    /* /7 */ iemOp_InvalidWithRMNeedImm8, iemOp_Grp14_vpslldq_Hx_Ux_Ib, iemOp_InvalidWithRMNeedImm8, iemOp_InvalidWithRMNeedImm8,
    30453047};
     3048AssertCompile(RT_ELEMENTS(g_apfnGroup14RegReg) == 8*4);
    30463049
    30473050
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