VirtualBox

Changeset 96199 in vbox


Ignore:
Timestamp:
Aug 14, 2022 3:23:59 AM (2 years ago)
Author:
vboxsync
Message:

iprt/x86.h: Added X86_MXCSR_RC_SHIFT. bugref:10261

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/x86.h

    r96133 r96199  
    34263426
    34273427/** Rounding control mask. */
    3428 #define X86_MXCSR_RC_MASK     UINT16_C(0x6000)
     3428#define X86_MXCSR_RC_MASK     UINT32_C(0x6000)
     3429/** Rounding control shift. */
     3430#define X86_MXCSR_RC_SHIFT    13
    34293431/** Rounding control: To nearest. */
    3430 #define X86_MXCSR_RC_NEAREST  UINT16_C(0x0000)
     3432#define X86_MXCSR_RC_NEAREST  UINT32_C(0x0000)
    34313433/** Rounding control: Down. */
    3432 #define X86_MXCSR_RC_DOWN     UINT16_C(0x2000)
     3434#define X86_MXCSR_RC_DOWN     UINT32_C(0x2000)
    34333435/** Rounding control: Up. */
    3434 #define X86_MXCSR_RC_UP       UINT16_C(0x4000)
     3436#define X86_MXCSR_RC_UP       UINT32_C(0x4000)
    34353437/** Rounding control: Towards zero. */
    3436 #define X86_MXCSR_RC_ZERO     UINT16_C(0x6000)
     3438#define X86_MXCSR_RC_ZERO     UINT32_C(0x6000)
    34373439
    34383440/** Flush-to-zero for masked underflow.  */
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