GCC中内嵌函数实现剖析  被引量:3

Anatomy of the Implementation of Builtin Functions in GCC

在线阅读下载全文

作  者:李春江[1] 杜云飞[1] 易会战[1] 杨灿群[1] 

机构地区:[1]国防科学技术大学计算机学院,长沙410073

出  处:《计算机科学》2012年第B06期357-359,379,共4页Computer Science

基  金:国家自然科学基金项目多核多线程处理器SIMD扩展的编程模型和编译优化关键技术研究(61170046);国家自然科学基金项目(61170045)资助

摘  要:GNU编译器集合(GCC)具有支持多种高级语言和多种目标处理器平台、文档及源代码开放等的特点,在工业界和学术界被广泛使用。GCC支持非常多的内嵌函数,内嵌函数是GCC编译器中非常重要的一部分实现。首先分析GCC中多种内嵌函数的目的和作用;之后结合实际工作,以使用向量扩展指令的内嵌函数实现为例,剖析了平台相关的内嵌函数的实现过程。本工作对深入理解GCC编译器中的内嵌函数实现机制,对基于GCC的研究和开发有较强的参考意义。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 platform-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.

关 键 词:GCC 内嵌函数 剖析 

分 类 号:TP314[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象