diff options
author | Alexander Graf <agraf@suse.de> | 2011-05-01 00:00:58 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2011-05-12 00:24:51 +0200 |
commit | a5858d7af064c01d9b634399b62f641386eacfcf (patch) | |
tree | d3c0b223efffa5e385193e84c63280f59993fa83 /target-ppc/cpu.h | |
parent | 71afeb616534cb93d38ece73f2c4151e3ca4bc83 (diff) | |
download | qemu-a5858d7af064c01d9b634399b62f641386eacfcf.zip qemu-a5858d7af064c01d9b634399b62f641386eacfcf.tar.gz qemu-a5858d7af064c01d9b634399b62f641386eacfcf.tar.bz2 |
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>
Diffstat (limited to 'target-ppc/cpu.h')
-rw-r--r-- | target-ppc/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index c6b2255..2a7431c 100644 --- a/target-ppc/cpu.h +++ b/target-ppc/cpu.h @@ -722,6 +722,7 @@ struct CPUPPCState { int bfd_mach; uint32_t flags; uint64_t insns_flags; + uint64_t insns_flags2; #if defined(TARGET_PPC64) && !defined(CONFIG_USER_ONLY) target_phys_addr_t vpa; |