]> Git Repo - qemu.git/commit - target/ppc/translate.c
target-ppc: gen_pause for instructions: yield, mdoio, mdoom, miso
authorAaron Larson <[email protected]>
Fri, 24 Jun 2016 20:18:28 +0000 (13:18 -0700)
committerDavid Gibson <[email protected]>
Fri, 1 Jul 2016 03:41:47 +0000 (13:41 +1000)
commit9e196938aa1c0517f81139bda0f2f26e0347c64e
tree66263f23a196ab14f91d7ecb1c3d23b3633483d6
parent27f2458245e259618beb2635abccf00286ea8b2d
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 <[email protected]>
Acked-by: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: David Gibson <[email protected]>
target-ppc/translate.c
This page took 0.02611 seconds and 4 git commands to generate.