read until cpu/simple/base.cc:383