SYSTEMS AND METHODS FOR HARDWARE-ASSISTED TYPE CHECKING

Devices and methods of providing hardware support for dynamic type checking are provided. In some embodiments, a processor includes a type check register and support for one or more checked load instructions. In some embodiments, normal load instructions are replaced by a compiler with the checked l...

Full description

Saved in:
Bibliographic Details
Main Authors ANDERSON OWEN, CEZE LUIS, FORTUNA EMILY, EGGERS SUSAN J
Format Patent
LanguageEnglish
Published 06.06.2013
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:Devices and methods of providing hardware support for dynamic type checking are provided. In some embodiments, a processor includes a type check register and support for one or more checked load instructions. In some embodiments, normal load instructions are replaced by a compiler with the checked load instructions. In some embodiments, to perform a checked load, an error handler instruction location is stored in the type check register, and a type tag operand is compared to a type tag stored in the loaded memory location. If the comparison succeeds, execution may proceed normally. If the comparison fails, execution may be transferred to the error handler instruction. In some embodiments, type prediction is performed to determine whether a checked load instruction is likely to fail.
Bibliography:Application Number: US201213594607