[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH 06/18] tcg: allow globals to overlap
Date: Tue, 17 Jan 2017 11:50:17 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]