target-arm: don't generate WFE/YIELD calls for MTTCG
commitc22edfebff29f63d793032e4fbd42a035bb73e27
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 23 Feb 2017 18:29:24 +0000 (23 18:29 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 24 Feb 2017 10:32:46 +0000 (24 10:32 +0000)
tree044ff53d9b0d2b90df07e228e619b9d8f2513ae7
parent062ba099e01ff1474be98c0a4f3da351efab5d9d
target-arm: don't generate WFE/YIELD calls for MTTCG

The WFE and YIELD instructions are really only hints and in TCG's case
they were useful to move the scheduling on from one vCPU to the next. In
the parallel context (MTTCG) this just causes an unnecessary cpu_exit
and contention of the BQL.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/op_helper.c
target/arm/translate-a64.c
target/arm/translate.c