Re: [Qemu-devel] [PATCH 06/18] tcg: allow globals to overlap

2017-01-17 Thread Richard Henderson
On 01/17/2017 01:07 AM, Kirill Batuzov wrote: Sometimes the target architecture may allow some parts of a register to be accessed as a different register. If both of these registers are implemented as globals in QEMU, then their content will overlap and the change to one global will also change

[Qemu-devel] [PATCH 06/18] tcg: allow globals to overlap

2017-01-17 Thread Kirill Batuzov
Sometimes the target architecture may allow some parts of a register to be accessed as a different register. If both of these registers are implemented as globals in QEMU, then their content will overlap and the change to one global will also change the value of the other. To handle such situation