On 07/10/21 19:22, Dr. David Alan Gilbert wrote:
So that I'm fine with, the bit I'm more worried about is the bit where inside the if () we call functions (like sev_get_cbit_position ) which we know the compiler will elide; I'm sure any sane compiler will, but..... Looking at your example, in cpu.c there's still places that ifdef around areas with tcg_enabled.
I think that's just because nobody tried changing it; it should work there as well.
Paolo