Hi Matthias,
I tried
case TargetOpcode::COPY:
return true;on cortex-a57 and kryo by running spec2006. Below is the result (positive is good),
| astar | +0.650% | |
| bzip2 | +0.236% | |
| dealII | -8.229% | |
| gcc | +0.550% | |
| gobmk | -13.273% | |
| h264ref | +0.062% | |
| hmmer | +0.575% | |
| lbm | -0.008% | |
| libquantum | +0.014% | |
| mcf | +0.508% | |
| milc | +0.100% | |
| namd | -0.067% | |
| omnetpp | -4.855% | |
| perlbench | -12.301% | |
| povray | -14.307% | |
| sjeng | -0.989% | |
| soplex | +0.005% | |
| sphinx3 | -0.363% | |
| xalancbmk | -0.148% | |
Unfortunately, several benchmarks have double-digit regression. However, on Kryo, setting any COPY isAsCheapAsAMove brings small win, but restricting it to COPY ZR is slightly better.
Thanks,
Haicheng