qemu-e2k/hw/xtensa
Laurent Vivier c00dc6750f replace muldiv64(a, b, c) by (uint64_t)a * b / c
When "a" and "b" are 32bit values, we don't have to cast
them to 128bit, 64bit is enough.

This patch is the result of coccinelle script
scripts/coccinelle/simplify_muldiv64.cocci

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
For xtensa PIC:
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2016-06-07 18:02:49 +03:00
..
bootparam.h hw/xtensa/xtfpga: add memory info to bootparam 2014-06-29 02:32:42 +04:00
Makefile.objs hw/xtensa: remove extraneous xtensa_ prefix from file names 2014-06-29 02:32:41 +04:00
pic_cpu.c replace muldiv64(a, b, c) by (uint64_t)a * b / c 2016-06-07 18:02:49 +03:00
sim.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
xtfpga.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00