Re: [PATCH] KVM: x86: Save bits by merging Mmx/Sse/Avx bits

2014-11-07 Thread Radim Krčmář
2014-11-06 11:15+0200, Nadav Amit: As we run out of bits in the KVM emulator instruction flags, we can merge together the Mmx/Sse/Avx bits. These bits are mutual exclusive (i.e., each instruction is either MMX, SSE, AVX, or none), so we can save one bit in the flags by merging them.

Re: [PATCH] KVM: x86: Save bits by merging Mmx/Sse/Avx bits

2014-11-07 Thread Paolo Bonzini
On 07/11/2014 18:37, Radim Krčmář wrote: 2014-11-06 11:15+0200, Nadav Amit: As we run out of bits in the KVM emulator instruction flags, we can merge together the Mmx/Sse/Avx bits. These bits are mutual exclusive (i.e., each instruction is either MMX, SSE, AVX, or none), so we can save one

Re: [PATCH] KVM: x86: Save bits by merging Mmx/Sse/Avx bits

2014-11-07 Thread Radim Krčmář
2014-11-07 18:39+0100, Paolo Bonzini: I think we have no clear idea of what Avx would do (I have one---same as Sse but make VEX prefix mandatory, see VBROADCASTSS---but I'm not sure it's the right one either). Let's keep these patches on hold. Implementing Avx first makes sense, we don't want

[PATCH] KVM: x86: Save bits by merging Mmx/Sse/Avx bits

2014-11-06 Thread Nadav Amit
As we run out of bits in the KVM emulator instruction flags, we can merge together the Mmx/Sse/Avx bits. These bits are mutual exclusive (i.e., each instruction is either MMX, SSE, AVX, or none), so we can save one bit in the flags by merging them. Signed-off-by: Nadav Amit

Re: [PATCH] KVM: x86: Save bits by merging Mmx/Sse/Avx bits

2014-11-06 Thread Paolo Bonzini
On 06/11/2014 10:15, Nadav Amit wrote: As we run out of bits in the KVM emulator instruction flags, we can merge together the Mmx/Sse/Avx bits. These bits are mutual exclusive (i.e., each instruction is either MMX, SSE, AVX, or none), so we can save one bit in the flags by merging them. Do

Re: [PATCH] KVM: x86: Save bits by merging Mmx/Sse/Avx bits

2014-11-06 Thread Nadav Amit
On Nov 6, 2014, at 16:10, Paolo Bonzini pbonz...@redhat.com wrote: On 06/11/2014 10:15, Nadav Amit wrote: As we run out of bits in the KVM emulator instruction flags, we can merge together the Mmx/Sse/Avx bits. These bits are mutual exclusive (i.e., each instruction is either MMX, SSE,

Re: [PATCH] KVM: x86: Save bits by merging Mmx/Sse/Avx bits

2014-11-06 Thread Paolo Bonzini
On 06/11/2014 19:52, Nadav Amit wrote: On Nov 6, 2014, at 16:10, Paolo Bonzini pbonz...@redhat.com wrote: On 06/11/2014 10:15, Nadav Amit wrote: As we run out of bits in the KVM emulator instruction flags, we can merge together the Mmx/Sse/Avx bits. These bits are mutual exclusive