In QEMU x86, TB translation flags are set up when the TB is allocated. what will happen if the translation flags are modified by one instruction in the translation block ? will the translation block be terminated right there.
For example, there is a code32 flag which is set to the value of (flags >> HF_CS32_SHIFT) &1. The flags is initialized when the TB is allocated. what if it is modified by one instruction in the translation block when the translated code is run. At translation time, there may not be a way to detect this. Thanks Xin