发明名称 Method and apparatus for automatically converting numeric data to a processor efficient format for performing arithmetic operations
摘要 A compiler (or interpreter) detects source language instructions performing arithmetic operations using a fixed point format (preferably packed decimal). Where the operation can be performed without loss of precision or violation of other constraints of the source language, the compiler automatically converts the operands to a floating point format (preferably Decimal Floating Point (DFP)) having hardware support, and re-converts results to the original fixed point format. Preferably, the compiler may combine multiple operations and instructions in an expression tree, analyze the tree, and selectively convert where possible. The compiler preferably performs a heuristic cost judgment in determining whether to use a particular conversion.
申请公布号 US7389499(B2) 申请公布日期 2008.06.17
申请号 US20040970408 申请日期 2004.10.21
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 DONOVAN ROBERT JOHN;SCHMIDT WILLIAM JON
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址