摘要
GCC是一个成功地支持多种高级语言和多种机器平台的系统,分析其中间语言RTL是扩充其前端和移植GCC的前提。GCC的后端信息MD使用RTL的外部形式书写,主要用于定义机器的指令集、功能部件、延迟特性等。GCC提供一套MD的转换程序gen*来生成一套C文件insn-*,供编译体更有效地获取与机器有关的信息;可以把gen*看作是MD的编译器。
GCC is a successful system which supports a few high level languagesas well as many machines. Before adding something to its front end or making it runn onsome other system,analysis of its intermediate language RTL becomes a prerequisite.The back end information MDs in GCC are written in textual form of RTL,MDs areused to define instruction sets ,function units,delay slots,etc. GCC uses a set of pro-grams gen * to produce a set of C files inse-*, which give the machine information tothe complier in GCC directly. Gen* can be considered as the complier of MD.
出处
《计算机工程与科学》
CSCD
1995年第2期74-82,共9页
Computer Engineering & Science