target/ppc: Add popcntb instruction to POWER5+ processors
commit23ab6d8813685c38fd1d87f573dded9fe37ee17f
authorCédric Le Goater <clg@kaod.org>
Wed, 12 Jan 2022 10:28:26 +0000 (12 11:28 +0100)
committerCédric Le Goater <clg@kaod.org>
Wed, 12 Jan 2022 10:28:26 +0000 (12 11:28 +0100)
tree17818071ea8d0cc0e63bc02b683aaef6e0db6217
parent4d805d43b2ddc5f143fb554f5e2d2da4f35ec432
target/ppc: Add popcntb instruction to POWER5+ processors

popcntb instruction was added in ISA v2.02. Add support for POWER5+
processors since they implement ISA v2.03.

PPC970 CPUs implement v2.01 and do not support popcntb.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Fabiano Rosas <farosas@linux.ibm.com>
Message-Id: <20220105095142.3990430-2-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
target/ppc/cpu_init.c