Re: [Qemu-devel] [PATCH 2/3] target-arm: add env->tbflags

2016-09-27 Thread Paolo Bonzini
> Doing this for all MSR writes is a bit sad, because a lot of them > don't actually change the TB flags, and quite a few of them which > previously we were able to code to not have to do a helper call > at all (direct writes to fields) now get a pointless helper call. True. On the other hand, MS

Re: [Qemu-devel] [PATCH 2/3] target-arm: add env->tbflags

2016-09-26 Thread Peter Maydell
On 14 September 2016 at 02:56, Paolo Bonzini wrote: > Computing TranslationBlock flags is pretty expensive on ARM, especially > 32-bit. In order to limit the cost we want to cache as many of them > as possible. Therefore, the flags are split in two parts. Static flags > come directly from a new

[Qemu-devel] [PATCH 2/3] target-arm: add env->tbflags

2016-09-14 Thread Paolo Bonzini
Computing TranslationBlock flags is pretty expensive on ARM, especially 32-bit. In order to limit the cost we want to cache as many of them as possible. Therefore, the flags are split in two parts. Static flags come directly from a new CPUARMState field env->tbflags, and are updated whenever EL