• DocumentCode
    2229411
  • Title

    EM-code optimization algorithm using tree pattern matching

  • Author

    Kim, Jungsook ; Oh, Seman

  • Author_Institution
    Dept. of Comput. Eng., Dongguk Univ., Seoul, South Korea
  • fYear
    1997
  • fDate
    9-12 Sep 1997
  • Firstpage
    917
  • Abstract
    The ACK intermediate code optimizer generates a good code through performing a peephole optimization over the EM intermediate code. The peephole optimization is very cost efficient and should use a string pattern matching algorithm to find the optimization pattern corresponding to the EM intermediate code when it is in the optimization. The authors have designed and implemented a tree pattern matching algorithm for more efficient optimization by improving the string pattern matching method of the ACK intermediate code optimizer. For this, an appropriate EM tree is constructed to the tree pattern matching of the EM code with a sequential structure from the front end of the ACK. Also, the pattern described in the optimization pattern table and the replacement should be reconstructed as a tree structure. The tree pattern matching optimizer conducting an optimization in real-time, applies a tree pattern matching algorithm in order to find an optimization pattern more efficiently while it circulates in the top-down method. Thus the tree pattern matching method requires a searching time to find an optimization pattern that is less than the string pattern matching method of ACK
  • Keywords
    assembly language; optimising compilers; string matching; ACK intermediate code optimizer; EM tree; EM-code optimization algorithm; assembly language; mnemonic instruction; optimization pattern; peephole optimization; program coupling; pseudo-instruction; searching time; sequential structure; string pattern matching algorithm; tree pattern matching algorithm; Algorithm design and analysis; Assembly; Cost function; Design optimization; Joining processes; Optimization methods; Pattern matching; Tree data structures;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Information, Communications and Signal Processing, 1997. ICICS., Proceedings of 1997 International Conference on
  • Print_ISBN
    0-7803-3676-3
  • Type

    conf

  • DOI
    10.1109/ICICS.1997.652113
  • Filename
    652113