Re: [RFC PATCH] powerpc: Emulate most load and store instructions in emulate_step()

2010-06-01 Thread Paul Mackerras
On Wed, Jun 02, 2010 at 10:55:02AM +0530, K.Prasad wrote: > On Thu, May 20, 2010 at 10:49:55PM +1000, Paul Mackerras wrote: > > This extends the emulate_step() function to handle most of the load > > and store instructions implemented on current 64-bit server processors. > > The aim is to handle al

Re: [RFC PATCH] powerpc: Emulate most load and store instructions in emulate_step()

2010-06-01 Thread K.Prasad
On Thu, May 20, 2010 at 10:49:55PM +1000, Paul Mackerras wrote: > This extends the emulate_step() function to handle most of the load > and store instructions implemented on current 64-bit server processors. > The aim is to handle all the load and store instructions used in the > kernel, so this ha

[RFC PATCH] powerpc: Emulate most load and store instructions in emulate_step()

2010-05-21 Thread Milton Miller
[resending to hit the list] > + if (regs->gpr[0] == 0x1ebe && > + cpu_has_feature(CPU_FTR_REAL_LE)) { > + regs->msr ^= MSR_LE; > + goto instr_done; > + } > regs->gpr[9] = regs->gpr[13]; > + r

[RFC PATCH] powerpc: Emulate most load and store instructions in emulate_step()

2010-05-20 Thread Paul Mackerras
This extends the emulate_step() function to handle most of the load and store instructions implemented on current 64-bit server processors. The aim is to handle all the load and store instructions used in the kernel, so this handles the Altivec/VMX lvx and stvx and the VSX lxv2dx and stxv2dx instru