Code generation using an orthogonal model

被引:0
|
作者
Cordy, James R. [1 ]
Holt, Richard C. [1 ]
机构
[1] Queen's Univ at Kingston, Canada
关键词
Codes; Symbolic - Computer Programming Languages - Mathematical Techniques--Trees;
D O I
暂无
中图分类号
学科分类号
摘要
This paper describes a new systematic approach to code generation. The approach is based on an orthogonal model, in which implementation of language-level operators ('operators') and addressing operators ('operands') is achieved by two independent subtasks. Each of these phases is specified using a set of decision trees that encode the set of possible implementation templates for each language feature and the set of constraints under which each can be applied. Code selection in each phase is achieved by interpreting these trees using a single comprehensive selection algorithm. The method easily extends to machine independence across a large class of target computers by abstracting the implementation templates into machine-independent implementation strategies. The selection algorithm is then modified to select between implementation strategies based on a machine capability 'menu' that describes each target machine in terms of the subset of implementation strategies for which it has corresponding instruction sequences. The method has been used to implement a prototype machine-independent code generator for the Concurrent Euclid programming language whose generated code density is consistently within four per cent of production machine-dependent code generators across its entire target class of five modern computers.
引用
收藏
页码:301 / 320
相关论文
共 50 条
  • [1] CODE GENERATION USING AN ORTHOGONAL MODEL
    CORDY, JR
    HOLT, RC
    SOFTWARE-PRACTICE & EXPERIENCE, 1990, 20 (03): : 301 - 320
  • [2] Code Generation Using a Formal Model of Reference Counting
    Ferey, Gaspard
    Shankar, Natarajan
    NASA FORMAL METHODS, NFM 2016, 2016, 9690 : 150 - 165
  • [3] Model transformation and code generation using a secure business process model
    Mythily, M.
    David, Beaulah
    Venkatesan, R.
    Joseph, Iwin Thanakumar
    JOURNAL OF INTELLIGENT & FUZZY SYSTEMS, 2023, 45 (04) : 6691 - 6705
  • [4] On next generation CDMA technologies: The REAL approach for perfect orthogonal code generation
    Chen, Hsiao-Hwa
    Chu, Shin-Wei
    Guizani, Mohsen
    IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY, 2008, 57 (05) : 2822 - 2833
  • [5] Pseudocode Generation from Source Code Using the BART Model
    Alokla, Anas
    Gad, Walaa
    Nazih, Waleed
    Aref, Mustafa
    Salem, Abdel-badeeh
    MATHEMATICS, 2022, 10 (21)
  • [6] Code generation in the polytope model
    Griebl, M
    Lengauer, C
    Wetzel, S
    1998 INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES, PROCEEDINGS, 1998, : 106 - 111
  • [7] Construction and generation of OCDMA code families using a complete row-wise orthogonal pairs algorithm
    Kumar, M. Ravi
    Ganguly, P.
    Pathak, S. S.
    Chakrabarti, N. B.
    AEU-INTERNATIONAL JOURNAL OF ELECTRONICS AND COMMUNICATIONS, 2013, 67 (10) : 868 - 874
  • [8] USING CLOSURES FOR CODE GENERATION
    FEELEY, M
    LAPALME, G
    COMPUTER LANGUAGES, 1987, 12 (01): : 47 - 66
  • [9] Code generation using model driven architecture: A systematic mapping study
    Sebastian, Gabriel
    Gallud, Jose A.
    Tesoriero, Ricardo
    JOURNAL OF COMPUTER LANGUAGES, 2020, 56
  • [10] An efficient code generation algorithm for non-orthogonal DSP architecture
    Lee, Yi-Hsuan
    Chen, Cheng
    JOURNAL OF VLSI SIGNAL PROCESSING SYSTEMS FOR SIGNAL IMAGE AND VIDEO TECHNOLOGY, 2007, 47 (03): : 281 - 296