发明名称 OPTIMIZATION OF N-BASE TYPED ARITHMETIC EXPRESSIONS
摘要 A method for arithmetic expression optimization includes receiving a first instruction (80) defined for a first processor having a first base, the first instruction (80) including an operator and at least one operand, converting the first instruction (80) to a second instruction (88) optimized for a second processor having a second base when all operands do not carry potential overflow (82) or when the operator is insensitive to overflow, the second base being smaller than the first base, and converting to a wider base a third instruction (86) that is the source of the overflow when the at least one operand the potential for overflow and when the operator is sensitive to overflow. An apparatus for arithmetic expression optimization includes at least one memory having program instructions and at least one processor configured to use the program instructions to receive a first instruction (80) defined for a first processor having a first base, convert the first instruction to a second instruction (88) optimized for a second processor having a second base when every one of the at least one operand does not carry potential overflow (82) or when the operator is insensitive to overflow, the second base being smaller than the first base, and convert to a wider base a third instruction (86) that is the source of the overflow when the at least one operand the potential for overflow (84) and when the operator is sensitive to overflow.
申请公布号 WO0135201(A1) 申请公布日期 2001.05.17
申请号 WO2000US31029 申请日期 2000.11.10
申请人 SUN MICROSYSTEMS, INC. 发明人 CHEN, ZHIQUN;SCHWABE, JUDY
分类号 G06K19/07;G06F9/45 主分类号 G06K19/07
代理机构 代理人
主权项
地址