On Tue, 9 Apr 2019 at 18:04, Stefan Weil wrote:
>
> On 09.04.19 08:58, Richard Henderson wrote:
> > On 4/8/19 8:04 PM, Stefan Weil wrote:
> >> static tcg_target_ulong tci_read_i(uint8_t **tb_ptr)
> >> {
> >> -tcg_target_ulong value = *(tcg_target_ulong *)(*tb_ptr);
> >> +tcg_target_ulong
On 09.04.19 08:58, Richard Henderson wrote:
> On 4/8/19 8:04 PM, Stefan Weil wrote:
>> static tcg_target_ulong tci_read_i(uint8_t **tb_ptr)
>> {
>> -tcg_target_ulong value = *(tcg_target_ulong *)(*tb_ptr);
>> +tcg_target_ulong value;
>
> Ideally these would use the helpers from "qemu/bsw
On 4/8/19 8:04 PM, Stefan Weil wrote:
> static tcg_target_ulong tci_read_i(uint8_t **tb_ptr)
> {
> -tcg_target_ulong value = *(tcg_target_ulong *)(*tb_ptr);
> +tcg_target_ulong value;
Ideally these would use the helpers from "qemu/bswap.h", ldl_he_p(), etc.
r~
Signed-off-by: Stefan Weil
---
tcg/tci.c | 18 +++---
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/tcg/tci.c b/tcg/tci.c
index 33edca1903..20b0715b6e 100644
--- a/tcg/tci.c
+++ b/tcg/tci.c
@@ -1,7 +1,7 @@
/*
* Tiny Code Interpreter for QEMU
*
- * Copyright (c) 2