VirtualBox

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


Ignore:
Timestamp:
Mar 11, 2022 12:49:43 PM (3 years ago)
Author:
vboxsync
Message:

VMM/IEM: Fixed imul_two mappings; testcase fixes and AMD data. bugref:9898

File:
1 edited

Legend:

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

    r94163 r94169  
    18091809
    18101810
     1811/*
     1812 * IMUL with two operands are mapped onto the three operand variant, ignoring
     1813 * the high part of the product.
     1814 */
    18111815# define EMIT_IMUL_TWO(a_cBits, a_uType) \
    18121816IEM_DECL_IMPL_DEF(void, iemAImpl_imul_two_u ## a_cBits,(a_uType *puDst, a_uType uSrc, uint32_t *pfEFlags)) \
     
    18191823{ \
    18201824    a_uType uIgn; \
    1821     iemAImpl_imul_u ## a_cBits(puDst, &uIgn, uSrc, pfEFlags); \
     1825    iemAImpl_imul_u ## a_cBits ## _intel(puDst, &uIgn, uSrc, pfEFlags); \
    18221826} \
    18231827\
     
    18251829{ \
    18261830    a_uType uIgn; \
    1827     iemAImpl_imul_u ## a_cBits(puDst, &uIgn, uSrc, pfEFlags); \
     1831    iemAImpl_imul_u ## a_cBits ## _amd(puDst, &uIgn, uSrc, pfEFlags); \
    18281832}
    18291833
     
    18331837EMIT_IMUL_TWO(16, uint16_t)
    18341838# endif
     1839
    18351840
    18361841/*
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