On-demand emulation via user-level exception handling

Methods and apparatuses enable on-demand instruction emulation via user-level exception handling. A non-supported instruction triggers an exception during runtime of a program. In response to the exception, a user-level or application-level exception handler is launched, instead of a kernel-level ha...

Full description

Saved in:
Bibliographic Details
Main Authors Kim, Ho-Seop, Breternitz, Jr, Mauricio, Wu, Youfeng
Format Patent
LanguageEnglish
Published 27.03.2012
Online AccessGet full text

Cover

Loading…
More Information
Summary:Methods and apparatuses enable on-demand instruction emulation via user-level exception handling. A non-supported instruction triggers an exception during runtime of a program. In response to the exception, a user-level or application-level exception handler is launched, instead of a kernel-level handler. Then the exception handler can execute at the application layer instead of the kernel level. The handler identifies the instruction and emulates the instruction, where emulation of the instruction is supported by the handler. Emulating the instructions enables the program to continue execution. Repeated instruction emulation is amortized via dynamic binary translation of hot code.