2020.4.2

之所以想看这篇文章是因为在https://www.cs.cornell.edu/~asampson/blog/llvm.html这个LLVM入门教程里提到了LLVM可以用作架构模拟器,

A few huge things make LLVM different from other compilers:

上面的链接指向的这篇文章,然而,我浏览了开头结尾和大纲,这篇文章和architectural simulator有任何关系吗?这个LLVM入门教程的作者是不是喝醉了?


gem5, GPGPUSim, McPAT, GPUWattch, "Your favorite simulator here" Considered Harmful

这篇文章在讨论现有的模拟器的一些问题,并希望引发学术界的思考(作者拿goto语句的危害和本文提到的现有模拟器的危害做类比,目前看来这篇文章并没有goto语句危害的对学术界和工业界的影响那么广为人知)。

Introduction

提出问题模拟器产生危害的来源:

It has also led to the preponderance of papers relying on such tools and has created an implicit standard and template of how quantitative evaluation must be done. This reliance and belief in such detailed tools is hurting the field and creating various pitfalls.

Errors in simulators

Pitfalls

Suggestions for Escaping Simulate-or-Reject

很难受的是作者多次提到“Simulate-or-Reject”这个词,但重来没解释意思,让人摸不着头脑。

Conclusion