Skip to content
  • Paolo Bonzini's avatar
    realmode: add performance test · b5105e8b
    Paolo Bonzini authored
    
    
    There's room for speeding up emulation of invalid guest state.  Let's
    track our progress by adding a few small performance tests.
    
    Current results on a Xeon E5 (Sandy Bridge) with unrestricted_guest=0:
    
        739 cycles/emulated jump instruction
        925 cycles/emulated move instruction
        887 cycles/emulated arithmetic instruction
        916 cycles/emulated memory load instruction
        1109 cycles/emulated memory RMW instruction
    
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    b5105e8b