Messages in this thread | | | Date | Sun, 13 Jul 2014 19:12:23 +0300 | From | Avi Kivity <> | Subject | Re: [PATCH] KVM: x86 emulator: emulate MOVNTDQ |
| |
On 07/11/2014 11:40 PM, Paolo Bonzini wrote: > Il 11/07/2014 22:05, Alex Williamson ha scritto: >> Which will return 'true' for this whether I specify Aligned or not. If >> the standard convention is to make it explicit, I'm happy to add the >> extra flag, but I think we already #GP on unaligned as implemented here. >> Thanks, > > We should still specify Aligned if the corresponding AVX instruction > requires an aligned operand. ISTR that this is not the case for > MOVNTDQ, so your patch is correct. I'll check the SDM more carefully > next Monday. >
The explicitly aligned/unaligned instructions have an A or a U to indicate this (e.g. MOVDQU = explicitly unaligned, MOVDQA = explicitly aligned, MOVNTDQ = default).
| |