id = 2507 title = "m68k: fpu: frestore with NULL state should reset FPU state" state = "opened" created_at = "2024-08-15T07:40:07.881Z" closed_at = "n/a" labels = ["target: m68k"] url = "https://gitlab.com/qemu-project/qemu/-/issues/2507" host-os = "n/a" host-arch = "n/a" qemu-version = "n/a" guest-os = "n/a" guest-arch = "n/a" description = """According to the PRM: ``` Floating-Point Status Register: Cleared if the state size is NULL; otherwise, not affected. ``` But this does not currently happen.""" reproduce = """1. set a value in fpsr 2. do frestore with state size zero 3. read back fpsr and notice it isn't zero.""" additional = "n/a"