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 the value of the other. To handle such situation properly, some fixes are needed in the register allocator and liveness analysis.
You need to handle the overlap during optimization as well. Otherwise you'll propagate values that you shouldn't.
r~