Re: [Qemu-devel] Is there a particular reason why REP STOS/MOV are jitted this way?

2015-12-20 Thread Peter Maydell
On 20 December 2015 at 23:13, farmdve wrote: > The rep stosd instruction seems to be jitted in a really weird way and I was > wondering what are the design choices behind this. > Basically the code is jitted to an operation where there is a conditional > branch that tests the

[Qemu-devel] Is there a particular reason why REP STOS/MOV are jitted this way?

2015-12-20 Thread farmdve
The rep stosd instruction seems to be jitted in a really weird way and I was wondering what are the design choices behind this. Basically the code is jitted to an operation where there is a conditional branch that tests the ECX register to see if it's zero or not(although I could have gotten this