• G
    KVM: x86 emulator: Add DstAcc operand type · 9c9fddd0
    Guillaume Thouvenin 提交于
    Add DstAcc operand type. That means that there are 4 bits now for
    DstMask.
    
    "In the good old days cpus would have only one register that was able to
     fully participate in arithmetic operations, typically called A for
     Accumulator.  The x86 retains this tradition by having special, shorter
     encodings for the A register (like the cmp opcode), and even some
     instructions that only operate on A (like mul).
    
     SrcAcc and DstAcc would accommodate these instructions by decoding A
     into the corresponding 'struct operand'."
      -- Avi Kivity
    Signed-off-by: NGuillaume Thouvenin <guillaume.thouvenin@ext.bull.net>
    Signed-off-by: NAvi Kivity <avi@qumranet.com>
    9c9fddd0
x86_emulate.c 56.2 KB