diff options
author | Alexander Graf <agraf@suse.de> | 2012-05-04 14:01:33 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-05-06 16:19:12 +0200 |
commit | c46dc9a86148bc37c31d67a22a3887144ba7aa81 (patch) | |
tree | ba2a4f49072d3524d607ce3add83ef697fae517b /arch/powerpc/kvm/booke.h | |
parent | 5b74716ebab10e7bce960d148fe6d8f6920451e5 (diff) | |
download | blackbird-op-linux-c46dc9a86148bc37c31d67a22a3887144ba7aa81.tar.gz blackbird-op-linux-c46dc9a86148bc37c31d67a22a3887144ba7aa81.zip |
KVM: PPC: Emulator: clean up instruction parsing
Instructions on PPC are pretty similarly encoded. So instead of
every instruction emulation code decoding the instruction fields
itself, we can move that code to more generic places and rely on
the compiler to optimize the unused bits away.
This has 2 advantages. It makes the code smaller and it makes the
code less error prone, as the instruction fields are always
available, so accidental misusage is reduced.
Functionally, this patch doesn't change anything.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/kvm/booke.h')
0 files changed, 0 insertions, 0 deletions