The Compiler Design Handbook最新文献

筛选
英文 中文
Architecture Description Languages for Retargetable Compilation 可重目标编译的体系结构描述语言
The Compiler Design Handbook Pub Date : 1900-01-01 DOI: 10.1201/9781420040579.ch14
W. Qin, S. Malik
{"title":"Architecture Description Languages for Retargetable Compilation","authors":"W. Qin, S. Malik","doi":"10.1201/9781420040579.ch14","DOIUrl":"https://doi.org/10.1201/9781420040579.ch14","url":null,"abstract":"","PeriodicalId":295765,"journal":{"name":"The Compiler Design Handbook","volume":"42 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121374212","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 37
Compilation for Distributed Memory Architectures 分布式内存架构的编译
The Compiler Design Handbook Pub Date : 1900-01-01 DOI: 10.1201/9781420040579.ch11
A. Choudhary, M. Kandemir
{"title":"Compilation for Distributed Memory Architectures","authors":"A. Choudhary, M. Kandemir","doi":"10.1201/9781420040579.ch11","DOIUrl":"https://doi.org/10.1201/9781420040579.ch11","url":null,"abstract":"","PeriodicalId":295765,"journal":{"name":"The Compiler Design Handbook","volume":"17 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127278950","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 10
Dynamic Compilation 动态编译
The Compiler Design Handbook Pub Date : 1900-01-01 DOI: 10.1201/9781420040579.ch19
E. Duesterwald
{"title":"Dynamic Compilation","authors":"E. Duesterwald","doi":"10.1201/9781420040579.ch19","DOIUrl":"https://doi.org/10.1201/9781420040579.ch19","url":null,"abstract":"","PeriodicalId":295765,"journal":{"name":"The Compiler Design Handbook","volume":"3 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"115208276","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 9
Automatic Data Distribution 自动数据分发
The Compiler Design Handbook Pub Date : 1900-01-01 DOI: 10.1201/9781420040579.ch12
J. Ramanujam
{"title":"Automatic Data Distribution","authors":"J. Ramanujam","doi":"10.1201/9781420040579.ch12","DOIUrl":"https://doi.org/10.1201/9781420040579.ch12","url":null,"abstract":"","PeriodicalId":295765,"journal":{"name":"The Compiler Design Handbook","volume":"40 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"134544255","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Register Allocation 寄存器分配
The Compiler Design Handbook Pub Date : 1900-01-01 DOI: 10.1201/9781420040579.ch13
Florent Bouchez-Tichadou, F. Rastello
{"title":"Register Allocation","authors":"Florent Bouchez-Tichadou, F. Rastello","doi":"10.1201/9781420040579.ch13","DOIUrl":"https://doi.org/10.1201/9781420040579.ch13","url":null,"abstract":"In chapter 1 we simplified the generation of x86 assembly by placing all variables on the stack. We can improve the performance of the generated code considerably if we instead try to place as many variables as possible into registers. The CPU can access a register in a single cycle, whereas accessing the stack can take from several cycles (to go to cache) to hundreds of cycles (to go to main memory). Figure 1 shows a program fragment that we'll use as a running example. The program is almost in x86 assembly but not quite; it still contains variables instead of stack locations or registers. The goal of register allocation is to fit as many variables into registers as possible. It is often the case that we have more variables than registers, so we can't naively map each variable to a register. Fortunately, it is also common for different variables to be needed during different periods of time, and in such cases the variables can be mapped to the same register. Consider variables y and z in Figure 1. After the variable z is used in addl z, x it is no longer needed. Variable y, on the other hand, is only used after this point, so z and y could share the same register. FIGURE 1. An example program in pseudo assembly code. The program still uses variables instead of registers and stack locations.","PeriodicalId":295765,"journal":{"name":"The Compiler Design Handbook","volume":"49 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122243704","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 4
Optimizations for Object-Oriented Languages 面向对象语言的优化
The Compiler Design Handbook Pub Date : 1900-01-01 DOI: 10.1201/9781420040579.ch6
A. Krall, N. Horspool
{"title":"Optimizations for Object-Oriented Languages","authors":"A. Krall, N. Horspool","doi":"10.1201/9781420040579.ch6","DOIUrl":"https://doi.org/10.1201/9781420040579.ch6","url":null,"abstract":"","PeriodicalId":295765,"journal":{"name":"The Compiler Design Handbook","volume":"7 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127869595","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 3
Type Systems in Programming Languages 编程语言中的类型系统
The Compiler Design Handbook Pub Date : 1900-01-01 DOI: 10.1201/9781420040579.ch21
Ramesh Subrahmanyam
{"title":"Type Systems in Programming Languages","authors":"Ramesh Subrahmanyam","doi":"10.1201/9781420040579.ch21","DOIUrl":"https://doi.org/10.1201/9781420040579.ch21","url":null,"abstract":"Types Support for data abstraction is provided by existential types, which are “dual” to the universal types associated with polymorphism. 8.1 Statics The language Lpp Ω is defined to be an enrichment of L →,∀p Ω with the following additional constructs: Types σ : : = ∃u::κ(σ) Expressions e : : = packμ with e asσ | openσ′ e asu::κ withx:σ in e′ The variables u and x are bound in e′, and, as usual, we identify expressions that differ only in the names of the bound variables. The expression openσ (packμ with e ′ as∃u::κ(σ′)) asu::κ withx:σ′ in e is sometimes written abstypeu::κ isμ withx:σ′=e′ in e end to emphasize the connection with the data abstraction mechanisms found in ML and CLU where the only expressions of existential type are explicit packages. The formation rules for these constructs are as follows: `∆[u::κ] σ `∆ ∃u::κ(σ) (u / ∈ dom(∆)) (t-exist) ∆ ` μ :: κ Γ `∆ e : {μ/u}σ Γ `∆ packμ with e as∃u::κ(σ) : ∃u::κ(σ) (t-pack)","PeriodicalId":295765,"journal":{"name":"The Compiler Design Handbook","volume":"11 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125287813","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Introduction to Operational Semantics 操作语义简介
The Compiler Design Handbook Pub Date : 1900-01-01 DOI: 10.1201/9781420040579.ch22
Sanjiva Prasad, S. Arun-Kumar
{"title":"Introduction to Operational Semantics","authors":"Sanjiva Prasad, S. Arun-Kumar","doi":"10.1201/9781420040579.ch22","DOIUrl":"https://doi.org/10.1201/9781420040579.ch22","url":null,"abstract":"This chapter presents the syntax of a programming language, IMP, a small language of while programs. IMP is called an \"imperative\" language because program execution involves carrying out a series of explicit commands to change state. Formally, IMP's behaviour is described by rules which specify how its expressions are evaluated and its commands are executed. The rules provide an operational semantics of IMP in that they are close to giving an implementation of the language, for example, in the programming language Prolog. It is also shown how they furnish a basis for simple proofs of equivalence between commands. 2.1 IMP-a simple imperative language Firstly, we list the syntactic sets associated with IMP: • numbers N, consisting of positive and negative integers with zero, • truth values T = {true, false}, • locations Loc, • arithmetic expressions Aexp, • boolean expressions Bexp, • commands Com. We assume the syntactic structure of numbers and locations is given. For instance, the set Loc might consist of non-empty strings of letters or such strings followed by digits, while N might be the set of signed decimal numerals for positive and negative whole numbers-indeed these are the representations we use when considering specific examples. (Locations are often called program variables but we reserve that term for another concept.) For the other syntactic sets we have to say how their elements are built-up. We'll use a variant of BNF (Backus-Naur form) as a way of writing down the rules of formation of the elements of these syntactic sets. The formation rules will express things like: If ao and al are arithmetic expressions then so is ao + al. It's clear that the symbols ao and al are being used to stand for any arithmetic expression. In our informal presentation of syntax we'll use such metavariables to range over the syntactic sets-the metavariables ao, al above are understood to range over the set of arithmetic expressions. In presenting the syntax of IMP we'll follow the convention that 12 Chapter 2 The metavariables we use to range over the syntactic categories can be primed or sub-scripted. We describe the formation rules for arithmetic expressions Aexp by: The symbol \"::=\" should be read as \"can be\" and the symbol \"I\" as \"or\". Thus an arithmetic expression a can be a number n or a location X or ao + al or ao-al or ao x a1, built from arithmetic …","PeriodicalId":295765,"journal":{"name":"The Compiler Design Handbook","volume":"11 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122138686","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 10
Retargetable Very Long Instuction Word Compiler Framework for Digital Signal Processors 数字信号处理器的可重目标超长指令字编译器框架
The Compiler Design Handbook Pub Date : 1900-01-01 DOI: 10.1201/9781420040579.ch16
Subramanian Rajagopalan, S. Malik
{"title":"Retargetable Very Long Instuction Word Compiler Framework for Digital Signal Processors","authors":"Subramanian Rajagopalan, S. Malik","doi":"10.1201/9781420040579.ch16","DOIUrl":"https://doi.org/10.1201/9781420040579.ch16","url":null,"abstract":"","PeriodicalId":295765,"journal":{"name":"The Compiler Design Handbook","volume":"23 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"124906736","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Instruction Selection Using Tree Parsing 使用树解析的指令选择
The Compiler Design Handbook Pub Date : 1900-01-01 DOI: 10.1201/9781420040579.ch15
P. Shankar
{"title":"Instruction Selection Using Tree Parsing","authors":"P. Shankar","doi":"10.1201/9781420040579.ch15","DOIUrl":"https://doi.org/10.1201/9781420040579.ch15","url":null,"abstract":"","PeriodicalId":295765,"journal":{"name":"The Compiler Design Handbook","volume":"54 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123789184","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 2
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
相关产品
×
本文献相关产品
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书