]> git.proxmox.com Git - qemu.git/commit - target-ppc/translate_init.c
PPC: Add another 64 bits to instruction feature mask
authorAlexander Graf <agraf@suse.de>
Sat, 30 Apr 2011 22:00:58 +0000 (00:00 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 11 May 2011 22:24:51 +0000 (00:24 +0200)
commita5858d7af064c01d9b634399b62f641386eacfcf
treed3c0b223efffa5e385193e84c63280f59993fa83
parent71afeb616534cb93d38ece73f2c4151e3ca4bc83
PPC: Add another 64 bits to instruction feature mask

To enable quick runtime detection of instruction groups to the currently
selected CPU emulation, we have a feature mask of what exactly the respective
instruction supports.

This feature mask is 64 bits long and we just successfully exceeded those 64
bits. To add more features, we need to think of something.

The easiest solution that came to my mind was to simply add another 64 bits
that we can also match on. Since the comparison is only done on start of the
qemu process to generate an internal opcode calling table, we should be fine
on any performance penalties here.

Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/cpu.h
target-ppc/translate.c
target-ppc/translate_init.c