作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (03): 40-42.

• 软件技术与数据库 • 上一篇    下一篇

网络处理器的编译器聚集

吴佳骏1,2,吴承勇1,张兆庆1   

  1. (1. 中国科学院计算技术研究所,北京 100080;2. 中国科学院研究生院,北京 100080)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-02-05 发布日期:2007-02-05

Aggregation of Network Processor Compiler

WU Jiajun1,2, WU Chengyong1, ZHANG Zhaoqing1   

  1. (1. Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100080; 2. Graduate School, Chinese Academy of Sciences, Beijing 100080)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-02-05 Published:2007-02-05

摘要: 描述了针对异构多核处理器的编译器Shangri-la基于Whirl2c构建统一编译后端框架采用的编译器的聚集技术,介绍了它采用的地址转换方法来解决聚集时不同寻址方式面临的指针共享问题。这些技术的运用使Shangri-la很好地整合了两种不同内核的编译工作。这种统一的编译平台使得网络程序员从传统繁琐的网络程序编写方式中解放出来。

关键词: 网络处理器, 编译器, 异构多核处理器

Abstract: This paper describes a heterogeneous multi-processor complier Shangri-la which constitutes a uniform compiler back-end based on whirl2c. By address translation it resolves the problem of pointer sharing arose by different access memory methods. By these techniques Shangri-la integrates two kinds of processors to work on the same compiler. This uniform compile platform sets programmers free from traditional fussy network programming.

Key words: Network processor (NP), Compiler, Heterogeneous multi-processor