qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 00/10] tcg/optimize: rework copy propagation


From: Aurelien Jarno
Subject: [Qemu-devel] [PATCH v2 00/10] tcg/optimize: rework copy propagation
Date: Fri, 21 Sep 2012 21:43:08 +0200

This patch series rework the copy propagation in order to generate              
                                                                                
             
better code. The first two patches are cleanup and bug fixes, the third         
                                                                                
             
patch is the heart of the series, and the remaining ones are small              
                                                                                
             
optimizations using the new copy propagation.                                   
                                      
                                               
I have measured a decrease of the generated code size of about 4%, with         
                               
a gain in speed between 0 and 2% depending on the workload.                     
 
                                                                                
                                           
For better benefits in ARM emulation, it should be used with the setcond
patches series I have sent a few days ago.

--
Changes v1 -> v2
 - fixed conflict in patch 3 following movcond introduction
 - movcond optimization added in patch 7
 - added patch 10

Aurelien Jarno (10):
  tcg/optimize: remove TCG_TEMP_ANY
  tcg/optimize: check types in copy propagation
  tcg/optimize: rework copy progagation
  tcg/optimize: do copy propagation for all operations
  tcg/optimize: optimize "op r, a, a => mov r, a"
  tcg/optimize: optimize "op r, a, a => movi r, 0"
  tcg/optimize: further optimize brcond/movcond/setcond
  tcg/optimize: prefer the "op a, a, b" form for commutative ops
  tcg: remove #ifdef #endif around TCGOpcode tests
  tcg/optimize: add constant folding for deposit

 tcg/optimize.c |  361 ++++++++++++++++++++++++++++++++++----------------------
 tcg/tcg.c      |   13 +-
 2 files changed, 224 insertions(+), 150 deletions(-)

-- 
1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]