Repository logo
Log in(current)
Repository logoMIT Open ScholarshipDSpace@MIT
  1. Home
  2. Computer Science and Artificial Intelligence Lab (CSAIL)
  3. Artificial Intelligence Lab Publications
  4. AI Memos (1959 - 2004)
  5. Arithmetic Shifting Considered Harmful

Arithmetic Shifting Considered Harmful

Thumbnail Image
Download
Name

AIM-378.pdf

Size

626.16 KB

Format

Adobe PDF

Checksum (MD5)

b90c113c6246c0ceedfb99d7fa9b0ceb

Thumbnail Image
Download
Name

AIM-378.ps

Size

796.59 KB

Format

PostScript

Checksum (MD5)

7c1b94c3d4d7cd82bcf23eb76c5ed473

Author(s)
Steele, Guy Lewis, Jr.
Date Issued
September 1, 1976
Series/Report no.
AIM-378
Abstract
For more than a decade there has been great confusion over the semantics of the standard "arithmetic right shift" instruction. This confusion particularly afflicts authors of computer reference handbooks and of optimizing compilers. The fact that shifting is not always equivalent to division has been red iscovered over and over again over the years, but has never been publicized. This paper quotes a large number of sources to prove the widespread extent of this confusion, and then proceeds to a short discussion of the problem itself and what to do about it.
Persistent DSpace Link
http://hdl.handle.net/1721.1/6090
Repository logo
PrivacyPermissionsAccessibilityContact us
Repository logo
Notify us about copyright concerns.