Changeset 105441 in vbox
- Timestamp:
- Jul 23, 2024 10:55:43 AM (9 months ago)
- svn:sync-xref-src-repo-rev:
- 164098
- Location:
- trunk/include/iprt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/armv8.h
r105399 r105441 2374 2374 /** Bit 0 - Flush Inputs to Zero when FEAT_AFP is supported. */ 2375 2375 #define ARMV8_FPCR_FIZ RT_BIT_64(0) 2376 #define ARMV8_FPCR_FIZ_BIT 0 2376 2377 /** Bit 1 - Alternate Handling of floating-point numbers when FEAT_AFP is supported. */ 2377 2378 #define ARMV8_FPCR_AH RT_BIT_64(1) 2379 #define ARMV8_FPCR_AH_BIT 1 2378 2380 /** Bit 2 - Controls how the output elements other than the lowest element of the vector are determined for 2379 2381 * Advanced SIMD scalar instructions, when FEAT_AFP is supported. */ 2380 2382 #define ARMV8_FPCR_NEP RT_BIT_64(2) 2383 #define ARMV8_FPCR_NEP_BIT 2 2381 2384 /* Bit 3 - 7 - Reserved.*/ 2382 2385 /** Bit 8 - Invalid Operation floating-point exception trap enable. */ 2383 2386 #define ARMV8_FPCR_IOE RT_BIT_64(8) 2387 #define ARMV8_FPCR_IOE_BIT 8 2384 2388 /** Bit 9 - Divide by Zero floating-point exception trap enable. */ 2385 2389 #define ARMV8_FPCR_DZE RT_BIT_64(9) 2390 #define ARMV8_FPCR_DZE_BIT 9 2386 2391 /** Bit 10 - Overflow floating-point exception trap enable. */ 2387 2392 #define ARMV8_FPCR_OFE RT_BIT_64(10) 2393 #define ARMV8_FPCR_OFE_BIT 10 2388 2394 /** Bit 11 - Underflow floating-point exception trap enable. */ 2389 2395 #define ARMV8_FPCR_UFE RT_BIT_64(11) 2396 #define ARMV8_FPCR_UFE_BIT 11 2390 2397 /** Bit 12 - Inexact floating-point exception trap enable. */ 2391 2398 #define ARMV8_FPCR_IXE RT_BIT_64(12) 2399 #define ARMV8_FPCR_IXE_BIT 12 2392 2400 /** Bit 13 - Controls numeric behavior of BFloat16 dot productions calculations performed, 2393 2401 * supported when FEAT_EBF16 is supported. */ 2394 2402 #define ARMV8_FPCR_EBF RT_BIT_64(13) 2403 #define ARMV8_FPCR_EBF_BIT 13 2395 2404 /* Bit 14 - Reserved */ 2396 2405 /** Bit 15 - Input Denormal floating-point exception trap enable. */ 2397 2406 #define ARMV8_FPCR_IDE RT_BIT_64(15) 2407 #define ARMV8_FPCR_IDE_BIT 15 2398 2408 /* Bit 16 - 18 - Reserved for AArch64 (Len field for AArch32). */ 2399 2409 /** Bit 19 - Flushing denormalized numbers to zero control bit on half-precision data-processing instructions, 2400 2410 * available when FEAT_FP16 is supported. */ 2401 2411 #define ARMV8_FPCR_FZ16 RT_BIT_64(19) 2412 #define ARMV8_FPCR_FZ16_BIT 19 2402 2413 /* Bit 20 - 21 - Reserved for AArch64 (Stride field dor AArch32). */ 2403 2414 /** Bit 22 - 23 - Rounding Mode control field. */ … … 2414 2425 /** Bit 24 - Flushing denormalized numbers to zero control bit. */ 2415 2426 #define ARMV8_FPCR_FZ RT_BIT_64(24) 2427 #define ARMV8_FPCR_FZ_BIT 24 2416 2428 /** Bit 25 - Default NaN use for NaN propagation. */ 2417 2429 #define ARMV8_FPCR_DN RT_BIT_64(25) 2430 #define ARMV8_FPCR_DN_BIT 25 2418 2431 /** Bit 26 - Alternative half-precision control bit. */ 2419 2432 #define ARMV8_FPCR_AHP RT_BIT_64(26) 2433 #define ARMV8_FPCR_AHP_BIT 26 2420 2434 /* Bit 27 - 63 - Reserved. */ 2421 2435 /** @} */ -
trunk/include/iprt/x86.h
r105257 r105441 3843 3843 /** Exception Flag: Invalid operation. */ 3844 3844 #define X86_MXCSR_IE RT_BIT_32(0) 3845 #define X86_MXCSR_IE_BIT 0 3845 3846 /** Exception Flag: Denormalized operand. */ 3846 3847 #define X86_MXCSR_DE RT_BIT_32(1) 3848 #define X86_MXCSR_DE_BIT 1 3847 3849 /** Exception Flag: Zero divide. */ 3848 3850 #define X86_MXCSR_ZE RT_BIT_32(2) 3851 #define X86_MXCSR_ZE_BIT 2 3849 3852 /** Exception Flag: Overflow. */ 3850 3853 #define X86_MXCSR_OE RT_BIT_32(3) 3854 #define X86_MXCSR_OE_BIT 3 3851 3855 /** Exception Flag: Underflow. */ 3852 3856 #define X86_MXCSR_UE RT_BIT_32(4) 3857 #define X86_MXCSR_EU_BIT 4 3853 3858 /** Exception Flag: Precision. */ 3854 3859 #define X86_MXCSR_PE RT_BIT_32(5) 3860 #define X86_MXCSR_PE_BIT 5 3855 3861 /** Exception Flags: mask */ 3856 3862 #define X86_MXCSR_XCPT_FLAGS UINT32_C(0x003f) … … 3858 3864 /** Denormals are zero. */ 3859 3865 #define X86_MXCSR_DAZ RT_BIT_32(6) 3866 #define X86_MXCSR_DAZ_BIT 6 3860 3867 3861 3868 /** Exception Mask: Invalid operation. */ 3862 3869 #define X86_MXCSR_IM RT_BIT_32(7) 3870 #define X86_MXCSR_IM_BIT 7 3863 3871 /** Exception Mask: Denormalized operand. */ 3864 3872 #define X86_MXCSR_DM RT_BIT_32(8) 3873 #define X86_MXCSR_DM_BIT 8 3865 3874 /** Exception Mask: Zero divide. */ 3866 3875 #define X86_MXCSR_ZM RT_BIT_32(9) 3876 #define X86_MXCSR_ZM_BIT 9 3867 3877 /** Exception Mask: Overflow. */ 3868 3878 #define X86_MXCSR_OM RT_BIT_32(10) 3879 #define X86_MXCSR_OM_BIT 10 3869 3880 /** Exception Mask: Underflow. */ 3870 3881 #define X86_MXCSR_UM RT_BIT_32(11) 3882 #define X86_MXCSR_UM_BIT 11 3871 3883 /** Exception Mask: Precision. */ 3872 3884 #define X86_MXCSR_PM RT_BIT_32(12) 3885 #define X86_MXCSR_PM_BIT 12 3873 3886 /** Exception Mask: mask. */ 3874 3887 #define X86_MXCSR_XCPT_MASK UINT32_C(0x1f80) … … 3891 3904 /** Flush-to-zero for masked underflow. */ 3892 3905 #define X86_MXCSR_FZ RT_BIT_32(15) 3906 #define X86_MXCSR_FZ_BIT 15 3893 3907 3894 3908 /** Misaligned Exception Mask (AMD MISALIGNSSE). */ 3895 3909 #define X86_MXCSR_MM RT_BIT_32(17) 3910 #define X86_MXCSR_MM_BIT 17 3896 3911 /** Bits which should be zero, apparently. */ 3897 3912 #define X86_MXCSR_ZERO_MASK UINT32_C(0xfffd0000)
Note:
See TracChangeset
for help on using the changeset viewer.