Message ID | 20170629010300.2848-6-f4bug@amsat.org |
---|---|
State | New |
Headers | show |
On 06/28/2017 08:02 PM, Philippe Mathieu-Daudé wrote: > remove some copy/paste leftover, code seems sane. > > > Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > > Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Double-sob seems odd. > --- > tcg/tci.c | 1 - > 1 file changed, 1 deletion(-) > Otherwise, Reviewed-by: Eric Blake <eblake@redhat.com>
On 06/29/2017 01:29 PM, Eric Blake wrote: > On 06/28/2017 08:02 PM, Philippe Mathieu-Daudé wrote: >> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> >> >> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > > Double-sob seems odd. > eh you never know... I need to improve my mailing skills :| >> --- >> tcg/tci.c | 1 - >> 1 file changed, 1 deletion(-) >> > > Otherwise, > Reviewed-by: Eric Blake <eblake@redhat.com> Thanks.
Am 29.06.2017 um 18:29 schrieb Eric Blake: > On 06/28/2017 08:02 PM, Philippe Mathieu-Daudé wrote: >> remove some copy/paste leftover, code seems sane. >> > >> >> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> >> >> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > > Double-sob seems odd. Maybe that double SOB can be cleaned by qemu-trivial (cc'ed). > >> --- >> tcg/tci.c | 1 - >> 1 file changed, 1 deletion(-) >> > > Otherwise, > Reviewed-by: Eric Blake <eblake@redhat.com> > Note from the author: it's not a copy/paste leftover, but was there on purpose: that code part was simply never executed before, and I only removed the TODO() statements from tested code. So you are the first one who found a test case. Congratulations. Reviewed-by: Stefan Weil <sw@weilnetz.de>
On 06/29/2017 01:52 PM, Stefan Weil wrote: > Am 29.06.2017 um 18:29 schrieb Eric Blake: >> On 06/28/2017 08:02 PM, Philippe Mathieu-Daudé wrote: >>> remove some copy/paste leftover, code seems sane. >>> >> >>> >>> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> >>> >>> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> >> >> Double-sob seems odd. > > Maybe that double SOB can be cleaned by qemu-trivial (cc'ed). > >> >>> --- >>> tcg/tci.c | 1 - >>> 1 file changed, 1 deletion(-) >>> >> >> Otherwise, >> Reviewed-by: Eric Blake <eblake@redhat.com> >> > > Note from the author: it's not a copy/paste leftover, but was > there on purpose: that code part was simply never executed > before, and I only removed the TODO() statements from tested > code. I'll reword the commit message in my tci-fixes-for-2.10-v2 series. > So you are the first one who found a test case. Congratulations. Oh nice :) > Reviewed-by: Stefan Weil <sw@weilnetz.de> Thank.
diff --git a/tcg/tci.c b/tcg/tci.c index 4bdc645f2a..f39bfb95c0 100644 --- a/tcg/tci.c +++ b/tcg/tci.c @@ -1046,7 +1046,6 @@ uintptr_t tcg_qemu_tb_exec(CPUArchState *env, uint8_t *tb_ptr) break; #if TCG_TARGET_HAS_bswap16_i64 case INDEX_op_bswap16_i64: - TODO(); t0 = *tb_ptr++; t1 = tci_read_r16(&tb_ptr); tci_write_reg64(t0, bswap16(t1));