首页> 外国专利> ENCODING MACHINE-SPECIFIC OPTIMIZATIONS IN GENERIC BYTE CODE BY USING LOCAL VARIABLES AS PSEUDO-REGISTERS

ENCODING MACHINE-SPECIFIC OPTIMIZATIONS IN GENERIC BYTE CODE BY USING LOCAL VARIABLES AS PSEUDO-REGISTERS

机译:通过使用局部变量作为伪寄存器,在通用字节码中编码机器特定的优化

摘要

A first computer system (34) compiles a source program into machine code for a register-oriented microprocessor, optimizing the global allocation of microprocessor registers in the process. It then translates the resultant code into generic-machine operand-stack-oriented code. In performing the translation, it generates code that preserves the register-oriented code's microprocessor-register allocation by filling the operand stack from local variables chosen in accordance with a predetermined correspondence between local variables and microprocessor registers. That code also stores the operand stack's contents in accordance with that same correspondence. A second computer system (32), which employs the register-oriented microprocessor, converts the resultant generic machine code into its own machine code in accordance with the same association between local variables to microprocessor registers.
机译:第一计算机系统(34)将源程序编译为面向寄存器的微处理器的机器代码,从而在该过程中优化微处理器寄存器的全局分配。然后,它将结果代码转换为面向通用机器操作数栈的代码。在执行转换时,它通过根据局部变量和微处理器寄存器之间的预定对应关系选择局部变量来填充操作数堆栈,从而生成保留面向寄存器的代码的微处理器寄存器分配的代码。该代码还根据相同的对应关系存储操作数堆栈的内容。第二计算机系统(32)采用面向寄存器的微处理器,根据局部变量与微处理器寄存器之间的相同关联,将所得的通用机器代码转换为其自身的机器代码。

著录项

  • 公开/公告号WO9957635A1

    专利类型

  • 公开/公告日1999-11-11

    原文格式PDF

  • 申请/专利权人 SUN MICROSYSTEMS INC.;

    申请/专利号WO1999US08938

  • 发明设计人 CARTWRIGHT ROBERT S. JR.;

    申请日1999-04-26

  • 分类号G06F9/45;

  • 国家 WO

  • 入库时间 2022-08-22 01:49:06

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号