This patch set is extracted from Paolo's target-i386 eflags2 optimization branch:
git://github.com/bonzini/qemu.git eflags2 I've cherry-picked 3 patches and rebased them vs master. I've made a few trivial changes to the patches: * Extracting reset_all_temps as a function, * Fixing a few type errors wrt target_ulong vs tcg_target_ulong. While these were written in support of the other changes that Paolo made wrt target-i386 eflags computation, they're not dependent on them, and I think they should be considered for inclusion regardless. r~ Paolo Bonzini (3): optimize: only write to state when clearing optimizer data optimize: track nonzero bits of registers optimize: optimize using nonzero bits tcg/optimize.c | 177 ++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 150 insertions(+), 27 deletions(-) -- 1.7.11.7