DOI QR코드

DOI QR Code

ARM Code Generation System using Syntax-Directed Translation Technique

문법-지시적 변환 기법을 이용한 ARM 코드 생성 시스템

  • 고광만 (상지대학교 컴퓨터정보공학부)
  • Published : 2008.06.28

Abstract

ARM processors are being utilized in a variety of embedded systems. It is also that most ARM processor accepts C application, and then generates ARM assembly code using GNU gcc Cross-compiler. For the purpose of improving the quality of code generated and the efficient code generation, the various researches are underway. In this paper, we generates the ARM assembly code from the ANSI C programs using Syntax-directed Translation Techniques, and then the performance evaluation results for our research experimental compare to GNU gcc Cross-compiler are described. The techniques are presented in this research compared to GNU gcc cross-compiler very simple and convenient in extension of the production rules.

ARM 프로세서는 다양한 임베디드 시스템에서 활용되고 있다. 또한 대부분의 ARM 프로세서는 C 프로그램을 입력으로 받아 GNU gcc 크로스 컴파일 방식을 사용하여 ARM 어셈블리 코드를 생성한다. 또한 생성된 목적코드의 질을 개선하고 효율적인 목적코드 생성하기 위한 다양한 연구가 진행되고 있다. 본 논문에서는 표준 C 프로그램으로부터 ARM 프로세서에 대한 목적코드를 문법-지시적 변환 기법을 이용하여 생성하며 성능평가 결과를 GNU gcc 크로스 컴파일 방식과 비교하여 제시한다. 본 연구에서 제시한 기법은 생성규칙을 확장하는 방법이 GNU gcc 크로스 컴파일러에 비해 간편하고 편리하다.

Keywords

References

  1. R. Leupers, "Compiler Design Issues for Embedded Processors," IEEE Design & Test of Computers, 2002(7). https://doi.org/10.1109/MDT.2002.1018133
  2. S. Furber, ARM System-on-Chip Architecture, Addison-Wesley, 2000.
  3. T. Jea-Paul and G. S. Paul, "The Theory and Practice of Compiler Writing," McGraw-Hill International Editions, 1989.
  4. K. G. John, Syntax Analysis and Software Tools, Addison-Wesley Publishing Company, 1988.
  5. 오세만, 컴파일러 입문, 정익사, 2006.
  6. R. Leupers and M. Peter, "Retargetable Compiler Technology for Embedded Systems; Tools and Applications," Kluwer Academic Publishers, 2001.
  7. F. Chistopher and H. David, "A Retargetable C Compiler: Design and Implementation," The Benjamin/Cummings Publishing Company Inc., 1995.
  8. L. Benini, M. Kandemir, and J. Ramanuijam, "Compilers and Operating Systems for Low Power," Kluwer Academic Publishers, 2003.
  9. N. S. Andrew, S. Dominic, and W. Chris, "ARM System Developer's Guide: Design and Optimization System Software," Elsevier Inc., 2004.