|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [PATCH v2 00/26] tcg: rework liveness analysis and register allocator |
Date: | Wed, 10 Oct 2012 10:04:45 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 |
On 10/10/2012 12:42 AM, Aurelien Jarno wrote: >> > - constant propagation using constraints. This would let tcg-i386 use >> > effectively the mov $imm,(addr) instruction for spills of known-constant >> > values. > This is indeed something quite frustrating and even more when the > same immediate value is loaded multiple time. One way to do that would > be to provide an optional tcg_out_st_immediate(). I think it should be possible to "simulate" a tcg opcode for this, without having to have a specific entry point for it. We've already got all the information we need from the backend in the form of constraints... r~
[Prev in Thread] | Current Thread | [Next in Thread] |