NaN encoding seems to be defined at compile time in some parts of the code (e.g. see SNAN_BIT_IS_ONE in fpu/softfloat-specialize.h) and are not changed for different CPUs. Thus, tests that makes distinction between signaling and quiet NaN are broken for some of the CPU models. We need to add support so instructions that are aware of the encodings, are correctly emulated in the runtime depending on the current CPU model and mode it executes in.
NaN encoding seems to be defined at compile time in some parts of the code (e.g. see SNAN_BIT_IS_ONE in fpu/softfloat-specialize.h) and are not changed for different CPUs. Thus, tests that makes distinction between signaling and quiet NaN are broken for some of the CPU models. We need to add support so instructions that are aware of the encodings, are correctly emulated in the runtime depending on the current CPU model and mode it executes in.