VirtualBox

Changeset 104824 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
May 31, 2024 7:09:54 AM (6 months ago)
Author:
vboxsync
Message:

ValidationKit/bootsectors: bugref:10658 SIMD FP testcase: Smallest normals.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-instr-4.c32

    r104822 r104824  
    130130/* The maximum integer value (all 52 + 1 implied bit of the fraction part set) without losing precision. */
    131131#define BS3_FP64_NORMAL_SAFE_INT_MAX(a_Sign)  RTFLOAT64U_INIT_C(a_Sign, BS3_FP64_FRACTION_NORMAL_MAX, BS3_FP64_EXP_BIAS + BS3_FP64_FRACTION_BITS)
     132/* The minimum integer value without losing precision. */
     133#define BS3_FP64_NORMAL_SAFE_INT_MIN(a_Sign)  RTFLOAT64U_INIT_C(a_Sign, 0, 1)
    132134
    133135
     
    14731475              /*daz,fz,rc*/ 0, 0, X86_MXCSR_RC_NEAREST,
    14741476              /*flags    */ 0 },
     1477    /*19*/{ { /*src2     */ { BS3_FP64_NORMAL_SAFE_INT_MIN(0), BS3_FP64_ZERO(0),                BS3_FP64_NORMAL_SAFE_INT_MIN(0), BS3_FP64_NORMAL_SAFE_INT_MIN(0) } },
     1478            { /*src1     */ { BS3_FP64_NORMAL_SAFE_INT_MIN(1), BS3_FP64_NORMAL_SAFE_INT_MIN(1), BS3_FP64_ZERO(0),                BS3_FP64_NORMAL_SAFE_INT_MIN(0) } },
     1479            { /* =>      */ { BS3_FP64_ZERO(0),                BS3_FP64_NORMAL_SAFE_INT_MIN(1), BS3_FP64_NORMAL_SAFE_INT_MIN(0), BS3_FP64_VAL(0, 0, 2)           } },
     1480              /*mask     */ ~X86_MXCSR_XCPT_MASK,
     1481              /*daz,fz,rc*/ 1, 1, X86_MXCSR_RC_ZERO,
     1482              /*flags    */ 0 },
    14751483    };
    14761484
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