VirtualBox

Changeset 104664 in vbox


Ignore:
Timestamp:
May 16, 2024 10:01:00 AM (7 months ago)
Author:
vboxsync
Message:

include/iprt/asm-math.h: Build fix for win.arm64 where the emul and emulu intrinsics do not exist, bugref:10392

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/asm-math.h

    r103887 r104664  
    4545/* Emit the intrinsics at all optimization levels. */
    4646# include <iprt/sanitized/intrin.h>
    47 # pragma intrinsic(__emul)
    48 # pragma intrinsic(__emulu)
    49 # ifdef RT_ARCH_AMD64
    50 #  pragma intrinsic(_mul128)
    51 #  pragma intrinsic(_umul128)
     47# if defined(RT_ARCH_X86) || defined(RT_ARCH_AMD64)
     48#  pragma intrinsic(__emul)
     49#  pragma intrinsic(__emulu)
     50#  ifdef RT_ARCH_AMD64
     51#   pragma intrinsic(_mul128)
     52#   pragma intrinsic(_umul128)
     53#  endif
    5254# endif
    5355#endif
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