VirtualBox

Changeset 104315 in vbox


Ignore:
Timestamp:
Apr 12, 2024 1:34:10 PM (8 months ago)
Author:
vboxsync
Message:

VMM/IEM: Fix preprocessor defines to require a semicolon on invocation, bugref:10652

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/target-x86/IEMAllN8veEmit-x86.h

    r104298 r104315  
    20702070        /* Immediate 0 is a nop. */ \
    20712071        return off; \
    2072     }
     2072    } \
     2073    typedef int ignore_semicolon
    20732074#elif defined(RT_ARCH_ARM64)
    20742075# define IEMNATIVE_NATIVE_EMIT_SHIFT_RIGHT_IMM_U128(a_Instr, a_cShiftMax, a_ArmElemSz, a_bOpcX86) \
     
    20882089        /* Immediate 0 is a nop. */ \
    20892090        return off; \
    2090     }
     2091    } \
     2092    typedef int ignore_semicolon
    20912093#else
    20922094# error "Port me"
     
    21242126        /* Immediate 0 is a nop. */ \
    21252127        return off; \
    2126     }
     2128    } \
     2129    typedef int ignore_semicolon
    21272130#elif defined(RT_ARCH_ARM64)
    21282131# define IEMNATIVE_NATIVE_EMIT_SHIFT_LEFT_IMM_U128(a_Instr, a_cShiftMax, a_ArmElemSz, a_bOpcX86) \
     
    21442147        } \
    21452148        return off; \
    2146     }
     2149    } \
     2150    typedef int ignore_semicolon
    21472151#else
    21482152# error "Port me"
     
    21992203        IEMNATIVE_ASSERT_INSTR_BUF_ENSURE(pReNative, off); \
    22002204        return off; \
    2201     }
     2205    } \
     2206    typedef int ignore_semicolon
    22022207#elif defined(RT_ARCH_ARM64)
    22032208# define IEMNATIVE_NATIVE_EMIT_ADD_SUB_U128(a_Instr, a_fSub, a_ArmElemSz, a_bOpcX86) \
     
    22302235        IEMNATIVE_ASSERT_INSTR_BUF_ENSURE(pReNative, off); \
    22312236        return off; \
    2232     }
     2237    } \
     2238    typedef int ignore_semicolon
    22332239#else
    22342240# error "Port me"
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