PDF

Description

People often write in assembly language because such programs tend to run faster than equivalent programs written in a higher level language. Through a case study of a particular program in both assembly language and C versions, we identify some of the factors that contribute to the superior performance of the assembly language version. Much of the disparity may be attributed to interprocedural register usage. Current global optimizers do not address these issues. A class of interprocedural optimizations which we term galactic optimizations is introduced in an attempt to mimic the techniques employed by assembly language programmers. The optimizations are parameter mode strength reduction (PMSR), global variables (GV), and pass in register (PREG). The implementation of the optimizations may be at link time, or else separate compilation may be precluded.

Details

Files

Statistics

from
to
Export
Download Full History