• This patch allows DEBUG_TCGV to be defined (and also prevents NDEBUG
    from being defined) when passing an option to the configure script.
    This should help to prevent any accidental changes that enable
    DEBUG_TCGV in tcg/tcg.h from being committed in future, and may
    help to encourage testing with DEBUG_TCGV enabled.
    
    Signed-off-by: Stuart Brady <stuart.brady@gmail.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7105 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
     
    Browse Code »




  • The beginning of the register allocation order list on the TCG x86_64
    target matches the list of clobbered registers. This means that when an
    helper is called, there is almost always clobbered registers that have
    to be spilled.
    
    The same way register %rsi and %rdi are at the top of the register
    allocation order list, while they can't be used for load/store
    operations. This means the data and/or address registers are very often
    %rsi and %rdi, and their values have to be spilled, and then moved back
    to another register.
    
    This patches changes to the allocation order to avoid those effects.
    It results in a 8% gain speed in qemu-x86_64 to compress a bzip2 file,
    and a 6% gain in qemu-system-mips64 to compile a small application.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7003 c046a42c-6fe2-441c-8c8c-71466251a162
    aurel32 authored
     
    Browse Code »