zephyr/include/arch
Maksim Masalski 0343118abb thread: set mxcsr bit 6 DAZ to zero to disable denormals-are-zeros
Currently we are using mxcsr register with the bit 6 DAZ enabled.
When the denormals-are-zeros flag is set, the processor
converts all denormal source operands to a zero with the sign
of the original operand before performing any computations on them.
It causes bugs in the SIMD XMM registers computation like #38646
I suggest to disable Denormals-Are-Zeros flag and mask division-by-zero
exception.
Set value to the default 1F80H according to the Intel(R) 64 and IA-32
Architectures Software Developer's Manual.
Fix will let all x86 boards perform SIMD computation using XMM
registers in the correct way.
Fixes #38646

Signed-off-by: Maksim Masalski <maksim.masalski@intel.com>
2021-09-22 08:34:18 -04:00
..
arc ARC: MWDT: get rid of MWDT startup libs 2021-09-01 17:08:32 -04:00
arm/aarch32 Tracing: Enable tracing of ISR based on CONFIG_TRACING_ISR 2021-09-21 19:54:13 -04:00
arm64 arm/arm64: add 64bit read/write APIs 2021-09-07 11:31:22 -04:00
common arch: implement brute force find_lsb_set() 2021-05-07 13:36:22 -04:00
nios2 linker: align _image_rodata and _image_rom start/end/size linker symbols 2021-08-28 08:48:03 -04:00
posix linker: align __data_ram/rom_start/end linker symbol names 2021-08-28 08:48:03 -04:00
riscv linker: align _image_text_start/end/size linker symbols name 2021-08-28 08:48:03 -04:00
sparc linker: align _image_text_start/end/size linker symbols name 2021-08-28 08:48:03 -04:00
x86 thread: set mxcsr bit 6 DAZ to zero to disable denormals-are-zeros 2021-09-22 08:34:18 -04:00
xtensa xtensa: cache: XCC needs to declare variable outside for loop 2021-07-22 15:41:11 +03:00
arch_inlines.h arm/arm64: Make ARM64 a standalone architecture 2021-03-31 10:34:33 -05:00
cpu.h arm/arm64: Make ARM64 a standalone architecture 2021-03-31 10:34:33 -05:00
structs.h kernel: add an architecture specific structs header 2021-04-21 09:03:47 -04:00
syscall.h arm/arm64: Make ARM64 a standalone architecture 2021-03-31 10:34:33 -05:00