发明名称 Software mechanism for reducing exceptions generated by speculatively scheduled instructions
摘要 A method of compiling an application to reduce the occurrence of speculative exceptions is described. The method includes the steps of compiling the application to provide a speculation table and an executable file, and obtaining profile information about said compiled application using representative data sets. The compiler includes a scheduler unit for rearranging the order of the instructions in the application to provide optimal performance. The speculation table comprises a number of entries corresponding to the instructions of the application, each entry including a tag identifying the instruction and a semaphore indicating whether or not the instruction is likely to cause an exception. The executable file is run using a number of representative data sets to profile information identifying those instructions that result in exceptions, and the tag of the instruction is stored in a log file. After the profiling has completed, the tags of the instructions causing exceptions are used to set the semaphores in the speculation table corresponding to the tag. The application is then re-compiled. During the recompilation, those instructions with their semaphores set; i.e. those instructions causing exceptions, will not be speculatively scheduled by the compiler.
申请公布号 US5901308(A) 申请公布日期 1999.05.04
申请号 US19960617014 申请日期 1996.03.18
申请人 DIGITAL EQUIPMENT CORPORATION 发明人 COHN, ROBERT;ADLER, MICHAEL C.;LOWNEY, PAUL GEOFFREY
分类号 G06F9/38;G06F9/45;G06F11/34;(IPC1-7):G06F9/00 主分类号 G06F9/38
代理机构 代理人
主权项
地址