Re: [Qemu-devel] [PATCH 1/2] tcg: use tcg_debug_assert instead of assert (fix performance regression)

2016-04-21 Thread Peter Maydell
On 21 April 2016 at 09:48, Aurelien Jarno wrote: > The TCG code is quite performance sensitive, but at the same time can > also be quite tricky. That is why asserts that can be enabled with the > --enable-debug-tcg configure option. > > This used to work the following way: >

[Qemu-devel] [PATCH 1/2] tcg: use tcg_debug_assert instead of assert (fix performance regression)

2016-04-21 Thread Aurelien Jarno
The TCG code is quite performance sensitive, but at the same time can also be quite tricky. That is why asserts that can be enabled with the --enable-debug-tcg configure option. This used to work the following way: | #include "config.h" | | ... | | #if !defined(CONFIG_DEBUG_TCG) &&