summaryrefslogtreecommitdiffstats
path: root/hw/ne2000.c
diff options
context:
space:
mode:
authorDavid Gibson2011-04-05 07:12:11 +0200
committerAlexander Graf2011-04-08 11:32:21 +0200
commit3601ff11732160e42d3174d2821d873cfcd52a59 (patch)
tree1225a922cec026062a27e2f6350d34e6efa272ca /hw/ne2000.c
parentDelay creation of pseries device tree until reset (diff)
downloadqemu-3601ff11732160e42d3174d2821d873cfcd52a59.tar.gz
qemu-3601ff11732160e42d3174d2821d873cfcd52a59.tar.xz
qemu-3601ff11732160e42d3174d2821d873cfcd52a59.zip
Use existing helper function to implement popcntd instruction
The recent patches adding partial support for POWER7 cpu emulation included implementing the popcntd instruction. The support for this was open coded, but host-utils.h already included a function implementing an equivalent population count function, which uses a gcc builtin (which can use special host instructions) if available. This patch makes the popcntd implementation use the existing, potentially faster, implementation. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/ne2000.c')
0 files changed, 0 insertions, 0 deletions