summaryrefslogtreecommitdiff
path: root/tcg/tcg.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-09-19 10:36:18 -0700
committerRichard Henderson <rth@twiddle.net>2016-02-23 08:07:14 -0800
commitb3915dbbdcdb2e04753f3d34a1b0865eea005069 (patch)
tree622cf7017cdee384455d6e27e1a6fc16ac072786 /tcg/tcg.h
parent869938ae2a284fe730cb6f807ea0f9e324e0f87c (diff)
downloadqemu-b3915dbbdcdb2e04753f3d34a1b0865eea005069.tar.gz
tcg: Implement indirect memory registers
That is, global_mem registers whose base is another global_mem register, rather than a fixed register. Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/tcg.h')
-rw-r--r--tcg/tcg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcg/tcg.h b/tcg/tcg.h
index 83da5fb3f0..d181694596 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -453,6 +453,8 @@ typedef struct TCGTemp {
TCGType base_type:8;
TCGType type:8;
unsigned int fixed_reg:1;
+ unsigned int indirect_reg:1;
+ unsigned int indirect_base:1;
unsigned int mem_coherent:1;
unsigned int mem_allocated:1;
unsigned int temp_local:1; /* If true, the temp is saved across