From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aK6P6-0004Xn-1x for qemu-devel@nongnu.org; Fri, 15 Jan 2016 10:35:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aK6P2-0003pV-Ow for qemu-devel@nongnu.org; Fri, 15 Jan 2016 10:35:07 -0500 Received: from roura.ac.upc.es ([147.83.33.10]:41002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aK6P2-0003nT-CZ for qemu-devel@nongnu.org; Fri, 15 Jan 2016 10:35:04 -0500 From: =?utf-8?b?TGx1w61z?= Vilanova Date: Fri, 15 Jan 2016 16:34:59 +0100 Message-Id: <145287209895.25408.12995870835200275306.stgit@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v1 0/2] tcg: Add support for constant value promises List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Edgar E . Iglesias" , rth@twiddle.net, peter.maydell@linaro.org A TCG constant value promise allows creating TCG code that works with a c= onstant whose value is not known until after the code has been generated (e.g., a= count of the instructions in a basic block). This interface isolates the details of TCG code generation from the code = that needs this feature (e.g., in gen_icount). Signed-off-by: Llu=C3=ADs Vilanova --- Llu=C3=ADs Vilanova (2): tcg: Add support for constant value promises gen-icount: Use constant value promises include/exec/gen-icount.h | 8 +++----- tcg/tcg-op.h | 6 ++++++ tcg/tcg.c | 33 +++++++++++++++++++++++++++++++++ tcg/tcg.h | 12 ++++++++++++ 4 files changed, 54 insertions(+), 5 deletions(-) To: qemu-devel@nongnu.org Cc: Edgar E. Iglesias Cc: peter.maydell@linaro.org Cc: rth@twiddle.net