Re: [Qemu-devel] [PATCH v2 16/16] target-s390x: fix MVC instruction when areas overlap

2015-06-03 Thread Richard Henderson
On 06/03/2015 02:09 PM, Aurelien Jarno wrote: The MVC instruction and the memmove C funtion do not have the same semantic when memory areas overlap: MVC: When the operands overlap, the result is obtained as if the operands were processed one byte at a time and each result byte were stored immedi

[Qemu-devel] [PATCH v2 16/16] target-s390x: fix MVC instruction when areas overlap

2015-06-03 Thread Aurelien Jarno
The MVC instruction and the memmove C funtion do not have the same semantic when memory areas overlap: MVC: When the operands overlap, the result is obtained as if the operands were processed one byte at a time and each result byte were stored immediately after fetching the necessary operand byte.