VirtualBox

Changeset 96213 in vbox for trunk/include/iprt/nocrt


Ignore:
Timestamp:
Aug 15, 2022 9:36:00 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
153023
Message:

IPRT/nocrt: Implemented feraiseexcept and adjusted relevan code for X86_FSW_XCPT_MASK containg a bit more than X86_MXCSR_XCPT_FLAGS. bugref:10261

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/nocrt/x86/fenv-x86-amd64.h

    r96205 r96213  
    5454#endif
    5555
    56 /** @name Exception flags (same as X86_FCW_xM and X86_FSW_xE)
     56/** @name Exception flags (same as X86_FCW_xM, X86_FSW_xE, X86_MXCSR_xE)
     57 * @note The X86_FSW_SF is not covered here as it is more of a sub-type of
     58 *       invalid operand exception, and it is not part of MXCSR.
    5759 * @{ */
    5860#define RT_NOCRT_FE_INVALID      0x0001
     
    109111 *  except for RT_NOCRT_FE_DENORMAL. */
    110112#define RT_NOCRT_FE_NOMASK_ENV  ((RTNOCRTFENV const *)(intptr_t)2)
     113/** The default FPU+SSE environment set, all exceptions disabled (masked),
     114 *  double precision (53 bit mantissa). */
     115#define RT_NOCRT_FE_PC53_ENV    ((RTNOCRTFENV const *)(intptr_t)3)
     116/** The default FPU+SSE environment set, all exceptions disabled (masked),
     117 *  extended double precision (64 bit mantissa). */
     118#define RT_NOCRT_FE_PC64_ENV    ((RTNOCRTFENV const *)(intptr_t)4)
     119#ifndef IPRT_NOCRT_WITHOUT_MATH_CONSTANTS
     120# define FE_DFL_ENV              RT_NOCRT_FE_DFL_ENV
     121# define FE_NOMASK_ENV           RT_NOCRT_FE_NOMASK_ENV
     122# define FE_PC53_ENV             RT_NOCRT_FE_PC53_ENV
     123# define FE_PC64_ENV             RT_NOCRT_FE_PC64_ENV
     124#endif
    111125/** @} */
    112126
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