Abstract:
Compiler performance is the embodiment that computer system architecture makes full use of its advantages. Compiler optimization is influenced by the machine platform and compiler characteristics. Compiler analysis is carried out between the target compiler and the multiple reference compiler, and the target platform and the multiple reference platform, that is to say, the combination of the compiler and the platform is the foundation of the analysis. Only in the circumstance of multiple combinations, we can provide the maximum possibility of performance room for improvement and prioritization schemes in detail for the target compiler optimization. However, adding to the combination of compiler and platform will add to the analysis amount of work which is unable to measure in most cases. For this purpose, one kind of analytical technique in face of cross-platform and cross-compiler on the strength of the peak value architecture is put forward. On the strength of the peak value architecture set, we structure the ideal performance space for the target compiler. In the combination of the advantage of fine grit, we optimize the location technique, and provide the optimization options with advantages and optimized direction for the target compiler, so as to implement compiler optimization. In the end, by means of experiments that we have carried out, we verify the practical nature and pervasive nature of this analytical technique, what is more, we provide the optimized direction for the target compiler (gcc) on Intel platform.