serialize simulator on wfi
authorAndrew Waterman <andrew@sifive.com>
Tue, 21 Feb 2017 02:48:35 +0000 (18:48 -0800)
committerAndrew Waterman <andrew@sifive.com>
Tue, 21 Feb 2017 02:48:35 +0000 (18:48 -0800)
commit13639b9c457b3879efa620ce55abddbdc834ce68
tree4d8705117cf62d23067f042b663b5d020f8e6dbf
parentb47e8c0a190ac17d2622d5554b21bc871d56847a
serialize simulator on wfi

This improves simulator perf when a thread is idle, or waiting on HTIF.
riscv/decode.h
riscv/execute.cc
riscv/insns/wfi.h