From: Paolo Bonzini <pbonzini@redhat.com>
To: Nadav Amit <namit@cs.technion.ac.il>
Cc: kvm@vger.kernel.org
Subject: Re: [PATCH] KVM: x86: Save bits by merging Mmx/Sse/Avx bits
Date: Thu, 06 Nov 2014 15:10:17 +0100 [thread overview]
Message-ID: <545B8149.2050808@redhat.com> (raw)
In-Reply-To: <1415265301-16746-1-git-send-email-namit@cs.technion.ac.il>
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 we need the Avx bit at all? Currently it is a dup of Unaligned, and
I think we can just reuse Unaligned. If we see VEX, we just do "ctxt->d
|= Unaligned".
AVX instructions are just tweaks of the operand length and the alignment
restrictions of SSE instructions, there is nothing really special about
them.
Paolo
next prev parent reply other threads:[~2014-11-06 14:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-06 9:15 [PATCH] KVM: x86: Save bits by merging Mmx/Sse/Avx bits Nadav Amit
2014-11-06 14:10 ` Paolo Bonzini [this message]
2014-11-06 18:52 ` Nadav Amit
2014-11-06 21:51 ` Paolo Bonzini
2014-11-07 17:37 ` Radim Krčmář
2014-11-07 17:39 ` Paolo Bonzini
2014-11-07 17:49 ` Radim Krčmář
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=545B8149.2050808@redhat.com \
--to=pbonzini@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=namit@cs.technion.ac.il \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.