Widening integer arithmetic

被引:0
|
作者
Redwine, K [1 ]
Ramsey, N [1 ]
机构
[1] Harvard Univ, Div Engn & Appl Sci, Cambridge, MA 02138 USA
来源
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Some codes require computations to use fewer bits of precision than are normal for the target machine. For example, Java requires 32-bit arithmetic even on a 64-bit target. To run narrow codes on a wide target machine, we present a widening transformation. Almost every narrow operation can be widened by sign- or zero-extending the operands and using a target-machine instruction at its natural width. But extensions can sometimes be avoided, and our transformation avoids as many as possible. The key idea is knowing what each operation can accept in the high bits of its arguments and what it can guarantee about the high bits of its result. This knowledge is formalized using fill types, which drive the widening transformation.
引用
收藏
页码:232 / 249
页数:18
相关论文
共 50 条
  • [41] Is Integer Arithmetic Enough for Deep Learning Training?
    Ghaffari, Alireza
    Tahaei, Marzieh S.
    Tayaranian, Mohammadreza
    Asgharian, Masoud
    Nia, Vahid Partovi
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 35 (NEURIPS 2022), 2022,
  • [42] Ario: A linear integer arithmetic logic solver
    Sheini, Hossein M.
    Sakallah, Karem A.
    PROCEEDINGS OF FORMAL METHODS IN COMPUTER AIDED DESIGN, 2006, : 47 - +
  • [43] INTEGER POINTS, TORSION POINTS AND ARITHMETIC AMPLITUDE
    ULLMO, E
    AMERICAN JOURNAL OF MATHEMATICS, 1995, 117 (04) : 1039 - 1055
  • [44] Upper Bounds on the Automata Size for Integer and Mixed Real and Integer Linear Arithmetic
    Eisinger, Jochen
    COMPUTER SCIENCE LOGIC, PROCEEDINGS, 2008, 5213 : 431 - 445
  • [45] A POSITIVE-INTEGER ARITHMETIC FOR DATA PROCESSING
    MURPHY, RW
    IBM JOURNAL OF RESEARCH AND DEVELOPMENT, 1957, 1 (02) : 158 - 170
  • [46] Verification of integer multipliers on the arithmetic bit level
    Stoffel, D
    Kunz, W
    ICCAD 2001: IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER AIDED DESIGN, DIGEST OF TECHNICAL PAPERS, 2001, : 183 - 189
  • [47] On Certain Axiomatizations of Arithmetic of Natural and Integer Numbers
    Wybraniec-Skardowska, Urszula
    AXIOMS, 2019, 8 (03)
  • [48] INTEGER ARITHMETIC DETERMINATION OF POLYNOMIAL REAL ROOTS
    REITWIES.GW
    JOURNAL OF RESEARCH OF THE NATIONAL BUREAU OF STANDARDS SECTION B-MATHEMATICAL SCIENCES, 1974, B 78 (01): : 39 - 43
  • [49] AudioPaK - An integer arithmetic lossless audio codec
    Hans, M
    Schafer, R
    DCC '98 - DATA COMPRESSION CONFERENCE, 1998, : 550 - 550
  • [50] Class of arithmetic functions linked to the divisors of an integer
    de la Brèteche, R
    INDAGATIONES MATHEMATICAE-NEW SERIES, 2000, 11 (03): : 437 - 452