Re: [Qemu-devel] [PATCH] target-ppc: gen_pause for instructions: yield, mdoio, mdoom, miso

2016-06-26 Thread David Gibson
On Fri, Jun 24, 2016 at 01:18:28PM -0700, Aaron Larson wrote: > > 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 Po

[Qemu-devel] [PATCH] target-ppc: gen_pause for instructions: yield, mdoio, mdoom, miso

2016-06-24 Thread Aaron Larson
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 prior