首页> 外国专利> Dynamic generation of CPU instructions and use of the CPU instructions in generated code for a softcore processor

Dynamic generation of CPU instructions and use of the CPU instructions in generated code for a softcore processor

机译:在软核处理器中动态生成CPU指令并在生成的代码中使用CPU指令

摘要

In one embodiment, a method may receive, by a compiler of a host computing system, source code for a computer application. The method may also include separating a first portion of the source code and a second portion of the source code that are to be compiled for execution by an accelerator operatively coupled to the host computing system. The method may also include compiling the first portion of the source code to generate hardware description language code. A logic block is to be generated on the accelerator in view of the hardware description language code. The method also includes compiling the second portion of the source code to generate softcore processor code, and adding instructions to the softcore processor code to cause the softcore processor code to interact with the logic block during execution of the softcore processor code and the logic block.
机译:在一个实施例中,一种方法可以由主机计算系统的编译器接收计算机应用程序的源代码。该方法还可以包括将要被编译以由可操作地耦合到主机计算系统的加速器执行的源代码的第一部分和源代码的第二部分分离。该方法还可以包括编译源代码的第一部分以生成硬件描述语言代码。鉴于硬件描述语言代码,将在加速器上生成逻辑块。该方法还包括:编译源代码的第二部分以生成软核处理器代码;以及向软核处理器代码添加指令,以在软核处理器代码和逻辑块的执行期间使软核处理器代码与逻辑块进行交互。

著录项

  • 公开/公告号US10768916B2

    专利类型

  • 公开/公告日2020-09-08

    原文格式PDF

  • 申请/专利权人 RED HAT INC.;

    申请/专利号US201816203097

  • 发明设计人 ULRICH DREPPER;

    申请日2018-11-28

  • 分类号G06F8/41;G06F30/34;G06F8/30;

  • 国家 US

  • 入库时间 2022-08-21 11:27:58

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号