发明名称 Optimization of n-base typed arithmetic expressions
摘要 A method for arithmetic expression optimization includes receiving a first instruction defined for a first processor having a first base, the first instruction including an operator and at least one operand, converting the first instruction to a second instruction optimized for a second processor having a second base when all operands do not carry potential overflow 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 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 defined for a first processor having a first base, convert the first instruction to a second instruction optimized for a second processor having a second base when every one of the at least one operand does not carry potential overflow 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 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.
申请公布号 US2004073894(A1) 申请公布日期 2004.04.15
申请号 US20030686513 申请日期 2003.10.14
申请人 SUN MICROSYSTEMS, INC., A DELAWARE CORPORATION. 发明人 CHEN ZHIGUN;SCHWABE JUDITH E.
分类号 G06K19/07;G06F9/45;(IPC1-7):G06F9/45;G06F9/44 主分类号 G06K19/07
代理机构 代理人
主权项
地址