diff options
author | Aaron Larson <alarson@ddci.com> | 2016-06-24 13:18:28 -0700 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2016-07-01 13:41:47 +1000 |
commit | 9e196938aa1c0517f81139bda0f2f26e0347c64e (patch) | |
tree | 66263f23a196ab14f91d7ecb1c3d23b3633483d6 /hw/misc/hyperv_testdev.c | |
parent | 27f2458245e259618beb2635abccf00286ea8b2d (diff) | |
download | qemu-9e196938aa1c0517f81139bda0f2f26e0347c64e.zip qemu-9e196938aa1c0517f81139bda0f2f26e0347c64e.tar.gz qemu-9e196938aa1c0517f81139bda0f2f26e0347c64e.tar.bz2 |
target-ppc: gen_pause for instructions: yield, mdoio, mdoom, miso
Call gen_pause for all "or rx,rx,rx" encodings other nop. This
provides a reasonable implementation for yield, and a better
approximation for mdoio, mdoom, and miso. The choice to pause for all
encodings !=0 leverages the PowerISA admonition that the reserved
encodings might change program priority, providing a slight "future
proofing".
Signed-off-by: Aaron Larson <alarson@ddci.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/misc/hyperv_testdev.c')
0 files changed, 0 insertions, 0 deletions