首页> 外文会议>International Conference on Information Engineering >Research and implementation of C compiler for 32-bit MIPS processor based on LCC
【24h】

Research and implementation of C compiler for 32-bit MIPS processor based on LCC

机译:基于LCC的32位MIPS处理器C编译器的研究与实现

获取原文

摘要

Based on LCC compiler and 32-bit MIPS processor, this paper implements the successful LCC transplantation on the target machine MIPS processor. In order to quickly and effectively generate code generator, according to the new target machine feature, we modify the original macro assembly instructions through splitting instructions and transforming between instructions, and then rewrite the machine description file. So the generated object code has smaller instruction sets, more compact structure, and its opcode reduces about 50%. Through the above technology, this paper implements translating from C code to assembly code and successfully passes the validation of MIPS simulator PCSPIM, while the performance has been greatly improved. Finally, we generate machine code using the assembler, and successfully verify the machine code on the built-in simulator (ISim) of Xilinx ISE tool.
机译:基于LCC编译器和32位MIPS处理器,本文实现了目标机器MIPS处理器上成功的LCC移植。为了快速且有效地生成代码生成器,根据新的目标机器功能,我们通过分割指令和在指令之间转换来修改原始宏装配指令,然后重写机器描述文件。因此,生成的对象代码具有较小的指令集,结构更紧凑,其操作码可降低约50%。通过上述技术,本文从C代码转换为汇编代码,并成功通过MIPS模拟器PCSPIM的验证,而性能已经大大提高。最后,我们使用汇编程序生成机器代码,并成功验证Xilinx ISE工具的内置模拟器(ISIM)上的机器代码。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号