Re: x86 denormal flag handling

2025-01-31 Thread Peter Maydell
On Fri, 31 Jan 2025 at 02:03, Michael Morrell wrote: > > I’ve been following the recent changes to better support denormal handling > and I don’t think they are doing the right thing for x86. > > > > I tried a simple program to convert a denormal float value (0x1.0p-127) to a > double. With the

x86 denormal flag handling

2025-01-30 Thread Michael Morrell
I've been following the recent changes to better support denormal handling and I don't think they are doing the right thing for x86. I tried a simple program to convert a denormal float value (0x1.0p-127) to a double. With the default of DAZ being 0 in MXCSR, x86 sets DE, but QEMU doesn't. Th