diff options
author | Jan Beulich <jbeulich@suse.com> | 2013-08-28 17:03:50 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2013-08-28 17:03:50 +0200 |
commit | 062919448e2f4b127c9c3c085b1a8e1d56a33051 (patch) | |
tree | 001f0949f52fb849cf730ee6f2acda47d65388b7 /docs | |
parent | 95d43eb2e957470a3a96bcd94a2f1094bef12bde (diff) | |
download | xen-062919448e2f4b127c9c3c085b1a8e1d56a33051.tar.gz xen-062919448e2f4b127c9c3c085b1a8e1d56a33051.tar.bz2 xen-062919448e2f4b127c9c3c085b1a8e1d56a33051.zip |
x86: AVX instruction emulation fixes
- we used the C4/C5 (first prefix) byte instead of the apparent ModR/M
one as the second prefix byte
- early decoding normalized vex.reg, thus corrupting it for the main
consumer (copy_REX_VEX()), resulting in #UD on the two-operand
instructions we emulate
Also add respective test cases to the testing utility plus
- fix get_fpu() (the fall-through order was inverted)
- add cpu_has_avx2, even if it's currently unused (as in the new test
cases I decided to refrain from using AVX2 instructions in order to
be able to actually run all the tests on the hardware I have)
- slightly tweak cpu_has_avx to more consistently express the outputs
we don't care about (sinking them all into the same variable)
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions