PowerPC e200 duplicate register definitions

Host environment

  • Operating system: Win10
  • Architecture: PowerPC
  • QEMU flavor: qemu-system-ppc
  • QEMU version: 9.2.0
  • QEMU command line:
    qemu-system-ppc -cpu e200z5

Description of problem

Registers DSRR0 and DSRR1 defined twice in the target/ppc/cpu_init.c:

The second case should be removed.

Steps to 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))
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information