id = 2768 title = "PowerPC e200 duplicate register definitions" state = "closed" created_at = "2025-01-08T12:36:09.902Z" closed_at = "2025-03-23T22:28:28.065Z" labels = ["kind::Bug", "target: ppc", "workflow::Confirmed"] url = "https://gitlab.com/qemu-project/qemu/-/issues/2768" host-os = "Win10" host-arch = "PowerPC" qemu-version = "9.2.0" guest-os = "n/a" guest-arch = "n/a" description = """Registers DSRR0 and DSRR1 defined twice in the `target/ppc/cpu_init.c`: - in the common [`register_BookE_sprs()`](https://gitlab.com/qemu-project/qemu/-/blob/master/target/ppc/cpu_init.c#L740-748) - and specific [`init_proc_e200()`](https://gitlab.com/qemu-project/qemu/-/blob/master/target/ppc/cpu_init.c#L2735-2742) The second case should be removed.""" reproduce = """1. run `qemu-system-ppc -cpu e200z5` 2. check output ``` ** ERROR:../qemu-9.2.0/target/ppc/helper_regs.c:410:_spr_register: assertion failed: (spr->name == ((void *)0)) Bail out! ERROR:../qemu-9.2.0/target/ppc/helper_regs.c:410:_spr_register: assertion failed: (spr->name == ((void *)0)) ```""" additional = "n/a"