Searched hist:b125f9dc7bd68cd4c57189db4da83b0620b28a72 (Results 1 – 3 of 3) sorted by relevance
/qemu/include/tcg/ |
H A D | tcg.h | b125f9dc7bd68cd4c57189db4da83b0620b28a72 Tue Sep 22 20:01:15 UTC 2015 Richard Henderson <rth@twiddle.net> tcg: Check for overflow via highwater mark
We currently pre-compute an worst case code size for any TB, which works out to be 122kB. Since the average TB size is near 1kB, this wastes quite a lot of storage.
Instead, check for overflow in between generating code for each opcode. The overhead of the check isn't measurable and wastage is minimized.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>
|
/qemu/accel/tcg/ |
H A D | translate-all.c | b125f9dc7bd68cd4c57189db4da83b0620b28a72 Tue Sep 22 20:01:15 UTC 2015 Richard Henderson <rth@twiddle.net> tcg: Check for overflow via highwater mark
We currently pre-compute an worst case code size for any TB, which works out to be 122kB. Since the average TB size is near 1kB, this wastes quite a lot of storage.
Instead, check for overflow in between generating code for each opcode. The overhead of the check isn't measurable and wastage is minimized.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>
|
/qemu/tcg/ |
H A D | tcg.c | b125f9dc7bd68cd4c57189db4da83b0620b28a72 Tue Sep 22 20:01:15 UTC 2015 Richard Henderson <rth@twiddle.net> tcg: Check for overflow via highwater mark
We currently pre-compute an worst case code size for any TB, which works out to be 122kB. Since the average TB size is near 1kB, this wastes quite a lot of storage.
Instead, check for overflow in between generating code for each opcode. The overhead of the check isn't measurable and wastage is minimized.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>
|