diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-02-12 16:15:59 -1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-02-13 07:42:45 -1000 |
commit | c0e688153f299d5d493989c80bcc84c9cf36d6a6 (patch) | |
tree | 96b6a84efb1e381b97833daa3f8d21bab2c3ee26 /include/tcg/tcg.h | |
parent | bc2e8b18fba33f30f25b7c2d74328493c0a2231d (diff) | |
download | qemu-c0e688153f299d5d493989c80bcc84c9cf36d6a6.zip qemu-c0e688153f299d5d493989c80bcc84c9cf36d6a6.tar.gz qemu-c0e688153f299d5d493989c80bcc84c9cf36d6a6.tar.bz2 |
tcg: Increase width of temp_subindex
We need values 0-3 for TCG_TYPE_I128 on 32-bit hosts.
Cc: qemu-stable@nongnu.org
Fixes: 43eef72f4109 ("tcg: Add temp allocation for TCGv_i128")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2159
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Tested-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include/tcg/tcg.h')
-rw-r--r-- | include/tcg/tcg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tcg/tcg.h b/include/tcg/tcg.h index daf2a5b..451f3fe 100644 --- a/include/tcg/tcg.h +++ b/include/tcg/tcg.h @@ -412,7 +412,7 @@ typedef struct TCGTemp { unsigned int mem_coherent:1; unsigned int mem_allocated:1; unsigned int temp_allocated:1; - unsigned int temp_subindex:1; + unsigned int temp_subindex:2; int64_t val; struct TCGTemp *mem_base; |