首页> 外文会议>Annual Workshop on Interaction Between Compilers and Computer Architectures >Compiling for fine-grain concurrency: planning and performing software thread integration
【24h】

Compiling for fine-grain concurrency: planning and performing software thread integration

机译:编译精细谷物并发:规划和执行软件线程集成

获取原文

摘要

Embedded systems require control of many concurrent real-time activities, leading to system designs which feature multiple hardware peripherals with each providing a specific, dedicated service. These peripherals increase system size, cost, weight, power and design time. Software thread integration (STI) provides low-cost thread concurrency on general-purpose processors by automatically interleaving multiple (potentially real-time) threads of control into one. This simplifies hardware to software migration (which eliminates dedicated hardware) and can help embedded system designers meet design constraints such as size, weight, power and cost. This paper introduces automated methods for planning and performing the code transformations needed for integration of functions with more sophisticated control flows than in previous work. We demonstrate the methods by using Thrint, our post-pass thread-integrating compiler, to automatically integrate multiple threads for a sample real-time embedded system with fine-grain concurrency. Previous work in thread integration required users to manually integrate loops; this is now performed automatically. The sample application generates an NTSC monochrome video signal (sending out a stream of pixels to a video DAC) with STI to replace a video refresh controller IC. Using Thrint reduces integration time from days to minutes and reclaims up to 99% of the system's fine-grain idle time.
机译:嵌入式系统需要控制许多并发的实时活动,导致系统设计,该系统设计具有多个硬件外围设备,每个都提供特定的专用服务。这些外围设备增加了系统尺寸,成本,重量,功率和设计时间。软件线程集成(STI)通过自动将多个(潜在实时)线程自动交织为一个,提供通用处理器的低成本线程并发性。这简化了软件迁移(消除了专用硬件)的硬件,可以帮助嵌入式系统设计人员满足设计约束,如尺寸,重量,功率和成本。本文介绍了规划和执行与更复杂的控制流程集成所需的代码转换的自动化方法,而不是先前的工作。我们通过使用Thrint,我们的后传递线程集成编译器来展示方法,以自动对多个线程集成具有微粒并发的示例实时嵌入式系统。以前的线程整合工作需要用户手动整合循环;这是现在自动执行的。示例应用程序使用STI生成NTSC单色视频信号(向视频DAC发送像素流)以替换视频刷新控制器IC。使用Thrint将积分时间从天到分钟减少,并回收高达99%的系统的细粒度空闲时间。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号