harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bu qi cheng" <buqi.ch...@gmail.com>
Subject Re: [drlvm][jit][opt][performance] Inliner heuristics improvements: hotness and instance initializer bonuses
Date Tue, 14 Oct 2008 03:11:52 GMT
Hi Aleksey:

 This is the data which will not don't count on InstanceInitilization bonus.
However, we fixed the escape analysis and extend the analysis method level:
max_level=2. With this fix, the sync elimiation is done also. However, the
scalar replacement still don't work. The data is like following:

      clean max_level=2 InstanceInitilize inline max_level=2 InstanceInitilize
inline crypto.aes 39.59 37.79 38.22 -0.045466027 -0.0346 crypto.rsa 193.24
178.11 172.08 -0.078296419 -0.1095 crypto.signverify 118.6 111.5 109.71
-0.059865093 -0.07496 compiler.compiler 93.86 95.2 91.25 0.014276582
-0.02781 compiler.sunflow 139.63 133.45 123.64 -0.04425983 -0.11452
scimark.fft.large 14.8 15.01 14.93 0.014189189 0.008784 scimark.sor.large
21.69 21.67 21.71 -0.000922084 0.000922 scimark.sparse.large 12.86 12.77
12.88 -0.006998445 0.001555 scimark.monte_carlo 298.17 707.2 977.29
1.371801321 2.277627 xml.validation 81.17 79.1 82.15 -0.025502033 0.012073
scimark.fft.small 931.98 919.09 931.98 -0.013830769 0 scimark.lu.small
842.59 811.66 831.09 -0.036708245 -0.01365 scimark.sparse.small 70.95 70.94
65.5 -0.000140944 -0.07681 serial 8.32 8 8 -0.038461538 -0.03846

>From the data we can find the benefit distribution is: inline: 100,  sync
elimiation: 300, scalar replacement:300.

So, I think we add patch for inliner and escape analysis at same time is
better. For scalar replacement, we are working on another project(Cycler) on
escape analysis, I think it can solve the problem.

Thanks!

Buqi

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message