首页 | 本学科首页   官方微博 | 高级检索  
     

GCC中内嵌函数实现剖析
引用本文:李春江,杜云飞,易会战,杨灿群.GCC中内嵌函数实现剖析[J].计算机科学,2012,39(106):357-359,379.
作者姓名:李春江  杜云飞  易会战  杨灿群
作者单位:(国防科学技术大学计算机学院 长沙410073)
摘    要:GNU编译器集合(GCC)具有支持多种高级语言和多种目标处理器平台、文档及源代码开放等的特点,在工业界和学术界被广泛使用。GCC支持非常多的内嵌函数,内嵌函数是GCC编译器中非常重要的一部分实现。首先分析GCC中多种内嵌函数的目的和作用;之后结合实际工作,以使用向量扩展指令的内嵌函数实现为例,剖析了平台相关的内嵌函数的实现过程。本工作对深入理解C}CC编译器中的内嵌函数实现机制,对基于C}CC的研究和开发有较强的参考意义。

关 键 词:GCC,内嵌函数,剖析

Anatomy of the Implementation of Builtin Functions in GCC
Abstract:GNU Compiler Collection(GCC) supports multiple high level languages and multiple platforms with its internal documents and source code opened. It is widely used both in industry and research. GCC supports lots of builtin functions and the implementations of builtin functions are one of the important implementations of GCC. We analyzed the intensions and operations of the builtin functions in GCC. Then, combining with our practical work and taking the vector extension instruction oriented builtin functions as examples, we demonstated the implementation details of plat-form-related builtin functions in GCC. This work is really worth referenced both for the comprehension of the implementation mechanism of builtin functions and for research and development based on GCC.
Keywords:GCC  Builtin functions  Anatomy
点击此处可从《计算机科学》浏览原始摘要信息
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号