A fast and scalable x86-64 multicore simulator